Ruben De Smet
aae52a80ab
Forward actix_rt::test arguments to test function.
...
Previously,
```rust
async fn foo(_a: u32) {}
```
would compile to
```rust
fn foo() {/* something */}
```
This patches changes this behaviour to
```rust
fn foo(_a: u32) {/* something */}
```
by simply forwarding the input arguments.
This allows any test fixture library (e.g. `rstest`, cfr.
https://github.com/la10736/rstest/issues/85 ) to integrate with
actix::test.
2020-04-08 16:48:10 +02:00
Yuki Okushi
65e2e8052e
Release actix-rt 1.1.0 ( #126 )
...
* Release actix-rt 1.1.0
* Update actix-rt/CHANGES.md
2020-04-08 16:34:07 +09:00
Jonathas-Conceicao
783880bb0a
actix-rt: Add Arbiter::is_running helper and fix System::is_set doc
...
`Arbiter::is_running` can be used to check if the current even-loop is currently
running; which should also work after the system has stopped. `System::is_set`
was updated to reflect what it actually does, it tells if the event loop has
started, which alone can't tell if it has stopped.
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-04-05 21:00:54 -03:00
Jonathas-Conceicao
69e8df9d62
actix-rt: Run rustfmt
...
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-04-05 21:00:54 -03:00
Yuki Okushi
9addf1a36b
Merge pull request #125 from actix/fix/noisy-check
...
fix noisy check warning
2020-04-05 13:20:25 +09:00
Rob Ede
187a58472d
fix noisy check warning
2020-04-04 23:57:52 +01:00
Nikolay Kim
30aa0b7bb6
add serde support to bytestring
2020-03-30 11:54:40 +06:00
Yuki Okushi
e775d08d76
Merge pull request #122 from actix/JohnTitor-patch-1
...
Upload coverage on PRs
2020-03-18 05:31:59 +09:00
Yuki Okushi
d5f95b54b7
Upload coverage on PRs
2020-03-18 05:03:37 +09:00
Yuki Okushi
904f90abc2
Merge pull request #121 from actix/revert-115-JohnTitor-patch-2
...
Revert "Disable windows-mingw builder temporarily"
2020-03-16 18:06:42 +09:00
Yuki Okushi
950c73077c
Revert "Disable windows-mingw builder temporarily"
2020-03-16 17:31:10 +09:00
Yuki Okushi
732731a9c8
Merge pull request #120 from kornelski/err
...
std Error for BlockingError
2020-03-14 00:14:42 +09:00
Kornel Lesiński
0dd5a7ce1d
std Error for BlockingError
...
#93
2020-03-13 12:35:20 +00:00
Yuki Okushi
7105091e51
Merge pull request #119 from JohnTitor/futures
...
Minimize `futures-*` dependencies
2020-03-13 05:12:37 +09:00
Yuki Okushi
08959dfc21
actix-tracing: Minimize futures-util
dependencies
2020-03-12 07:13:32 +09:00
Yuki Okushi
2792433ad6
actix-codec: Minimize futures-*
dependencies
2020-03-12 07:13:32 +09:00
Yuki Okushi
437a7b05c6
actix-rt: Fix build
2020-03-12 07:13:32 +09:00
Yuki Okushi
3d125c5381
actix-testing: Remove unused deps
2020-03-12 07:13:32 +09:00
Yuki Okushi
fbf7d6ef33
Update examples
2020-03-12 07:13:32 +09:00
Yuki Okushi
e6b6f08369
actix-utils: Minimize futures-*
dependencies
2020-03-12 07:13:32 +09:00
Yuki Okushi
4e806b3e3f
actix-tls: Minimize futures-*
dependencies
2020-03-12 07:13:31 +09:00
Yuki Okushi
f5b07053fc
actix-server: Minimize futures-*
dependencies
2020-03-12 07:13:31 +09:00
Yuki Okushi
dd3bec83bf
actix-ioframe: Minimize futures-*
dependencies
2020-03-12 07:13:31 +09:00
Yuki Okushi
f955e49930
actix-connect: Minimize futures-*
dependencies
2020-03-12 04:22:38 +09:00
Yuki Okushi
4be11b541b
Merge pull request #117 from actix/new-connect
...
Release actix-http v2.0.0-alpha.2
2020-03-08 15:13:52 +09:00
Yuki Okushi
baba533407
Update actix-http
dependency
2020-03-08 14:38:07 +09:00
Yuki Okushi
2bf50826b0
Bump up to 2.0.0-alpha.2
2020-03-08 14:37:33 +09:00
Yuki Okushi
41b2a3b2e2
Merge pull request #116 from Jonathas-Conceicao/topic/upgrade_trust_dns
...
actix-connect: Upgrade versions of trust-dns
2020-03-08 14:31:07 +09:00
Jonathas-Conceicao
7fdd4a1118
actix-connect: Upgrade versions of trust-dns
...
- `Address` trait is now required to have static lifetime;
- `start_resolver` and `start_default_resolver` are now `async` and may return
a `ConnectError`;
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-03-07 14:52:41 -03:00
Jonathas-Conceicao
cb30f9e86a
actix-connect: Run cargo fmt
...
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-03-07 14:37:39 -03:00
Yuki Okushi
873f69be51
Merge pull request #115 from actix/JohnTitor-patch-2
...
Disable windows-mingw builder temporarily
2020-03-06 14:11:50 +09:00
Yuki Okushi
0967061f30
Merge pull request #114 from actix/JohnTitor-patch-1
...
Unpin quote version
2020-03-06 14:11:28 +09:00
Yuki Okushi
59902cb3a3
Disable windows-mingw builder temporarily
2020-03-06 13:48:55 +09:00
Yuki Okushi
857e50120b
Unpin quote version
2020-03-06 13:45:21 +09:00
Yuki Okushi
36a2edf1cd
Merge pull request #111 from dunnock/master
...
Fix build with failing quote
2020-03-05 23:05:19 +09:00
Maksym Vorobiov
346bd072d3
fix build with failing quote
2020-03-05 14:58:44 +02:00
Yuki Okushi
8d3d58b3b7
Merge pull request #110 from Aaron1011/fix/better-pin
...
Replace calls to `Pin::new_unchecked` with `pin_project`.
2020-03-05 21:52:55 +09:00
Aaron Hill
c41b5d8dd4
Replace calls to Pin::new_unchecked
with pin_project
.
...
This is a breaking change, as it changes some public methods to take
`Pin<&mut Self>` rather than `&mut self`.
This brings these methods into line with `Stream::poll_next`, which also
takes a `Pin<&mut Self>`
2020-03-04 12:08:52 -05:00
Yuki Okushi
693d5132a9
Merge pull request #109 from JohnTitor/new-tls
...
actix-tls: Bump up to 2.0.0-alpha.1
2020-03-03 22:29:08 +09:00
Yuki Okushi
f7dac3feb4
Bump up to 2.0.0-alpha.1
2020-03-03 19:47:40 +09:00
Yuki Okushi
ebc11d03f2
Merge pull request #108 from JohnTitor/new-connect
...
Release `actix-connect` v2.0.0-alpha.1
2020-03-03 18:33:08 +09:00
Yuki Okushi
e3ad5de270
Update actix-connect
dependency
2020-03-03 17:24:41 +09:00
Yuki Okushi
91118bb2ce
Bump up to 2.0.0-alpha.1
2020-03-03 17:24:25 +09:00
Yuki Okushi
6628688bcf
Merge pull request #107 from JohnTitor/rustls-017
...
Update `rustls` and `tokio-rustls`
2020-03-01 23:48:13 +09:00
Yuki Okushi
b9567359fd
actix-tls: Update rustls
and tokio-rustls
2020-03-01 12:08:14 +09:00
Yuki Okushi
7dbc0264b1
actix-connect: Update rustls
and tokio-rustls
2020-03-01 12:08:14 +09:00
Erich Gubler
1b7c969f6a
actix-rt
: minimize futures
dependencies to futures-{channel,util}
with default features off (#104 )
...
* build(deps): minimize `futures` deps by using `futures-channel` and `futures-util` directly
* style(actix-rt): enforce spaces around equals in `Cargo.toml`
2020-02-27 01:15:21 +09:00
Jonathas-Conceicao
f1685d8253
Add Arbiter::local_join associated function
...
Arbiter::local_join function can be used to await for futures spawned
on current arbiter.
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-02-26 12:59:46 -03:00
Jonathas-Conceicao
e3b6a33b97
Add integration tests
...
These initial tests validade basic usage with timed futures for:
- `System::block_on`;
- `Arbiter::new`;
- `Arbiter::stop`;
- `Arbiter::join`;
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-02-26 12:59:46 -03:00
Yuki Okushi
13b503435f
Merge pull request #106 from JohnTitor/server-102
...
Release actix-server 1.0.2
2020-02-26 20:53:00 +09:00