Commit Graph

79 Commits

Author SHA1 Message Date
fakeshadow c7790bd3e0 update http crate override 2020-12-15 21:59:00 +08:00
fakeshadow 8fcaa1160f
Merge branch 'master' into mio-0.7.3 2020-12-15 17:56:14 +08:00
Aravinth Manivannan b296d0f254
Intradoc links conversion (#227)
* intra doc conversion

* rm trailing blank comment
2020-12-14 08:22:30 +00:00
Juan Aguilar 02a902068f
Refactor LocalWaker (#224) 2020-12-13 19:26:57 +00:00
fakeshadow 2600f22135
Merge branch 'master' into mio-0.7.3 2020-12-13 09:01:05 +08:00
Rob Ede 4e43216b99
standardise compiler lints across all crates (#226) 2020-12-12 23:24:00 +00:00
fakeshadow a575583a6a update tokio-util. 2020-12-04 08:32:46 +08:00
fakeshadow 1d172c9e2e
Merge branch 'master' into mio-0.7.3 2020-11-25 14:05:30 +08:00
fakeshadow e0dd2a3d76
remove actix-threadpool re-export from actix-rt (#212) 2020-11-24 17:03:09 +00:00
Rob Ede 59e976aaca
address clippy error (#213) 2020-11-24 16:35:47 +00:00
fakeshadow 9f846643c1 more refactor for actix-server 2020-10-25 21:31:33 +08:00
fakeshadow f18f709ba7 remove socket dep.fix build for actix-tls 2020-10-22 18:13:44 +08:00
fakeshadow 30d8971209 add tests for socket module 2020-10-22 11:02:17 +08:00
fakeshadow 79ad80ae1e fix licenses 2020-10-21 18:03:42 +08:00
fakeshadow 8582aaaeb6 add more comments 2020-10-21 12:07:35 +08:00
fakeshadow 0df09dc81d clean up actix-server code 2020-10-20 21:03:14 +08:00
fakeshadow 05d8551066 fix misplaced import.relax lifetime bound for actix-rt 2020-10-20 09:39:53 +08:00
fakeshadow 6ee906335a add mio stream convertion for windows 2020-10-19 12:48:01 +08:00
fakeshadow 80098d2906 update mio for actix-server 2020-10-19 08:31:19 +08:00
Igor Aleksanov b7a9cb7bb4
actix-rt: Make the process of running System in existing Runtime more clear (#173) 2020-09-06 11:01:24 +01:00
Yuki Okushi 10b4c30a06
Use `OR` instead of deprecated `/` in license field (#155) 2020-07-14 11:11:30 +01:00
Yuki Okushi 8a10580663
Bump up `actix-rt` to 1.1.1 2020-04-30 03:07:12 +09:00
Jonathas-Conceicao 6906f25e01 actix-rt: Set threshold size for arbiter's pending futures list
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-04-16 03:12:05 -03:00
Jonathas-Conceicao 06bca19524 actix-rt: Spawn future to cleanup pending JoinHandles
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-04-09 20:36:44 -03: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 437a7b05c6
actix-rt: Fix build 2020-03-12 07:13:32 +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
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
Bo Yao 602db1779e
Expose is_set (#99)
* Expose is_set

* Update doc and changes.md
2020-02-25 02:55:02 -03:00
Yuki Okushi d5a6c83207 Suppress/fix clippy warnings 2020-01-29 12:05:55 +09:00
Eric Findlay 3b4f222242 Minor grammatical fix to docs. 2020-01-10 20:52:49 +09:00
Nikolay Kim 05549f0b42 Add methods to check LocalWaker registration state 2019-12-20 09:13:11 +06:00
Nikolay Kim e315cf2893 prep actix-rt release; update deps 2019-12-11 10:34:50 +06:00
Nikolay Kim fc0825fcdd update tokio to 0.2.4 2019-12-07 10:15:26 +06:00
Nikolay Kim cbdbc05dbd update tokio verion and prep alpha3 release 2019-12-07 09:57:43 +06:00
Nikolay Kim e670a32ff3 inclide stream feature 2019-12-06 01:34:13 +06:00
Nikolay Kim 3a858feaec migrate to tokio 0.2.2 2019-12-05 16:40:24 +06:00
Nikolay Kim cbc5da8625 update changes 2019-12-03 14:10:36 +06:00
Aaron Housh 2756bedc3d Fix for non Unix OS (#69) 2019-12-03 10:07:54 +06:00
Nikolay Kim bd4c4cda8b update threadpool 2019-12-02 22:49:02 +06:00
Nikolay Kim 9f575418c1 clippy warnings 2019-12-02 22:30:09 +06:00
Nikolay Kim 9fbe6a1f6d refactor server configuration and tls support 2019-12-02 11:30:27 +06:00
Nikolay Kim 16ff283fb2 add metadata 2019-12-01 20:30:24 +06:00
Nikolay Kim 503c2feb08 re-export net primitives 2019-12-01 10:56:25 +06:00
Nikolay Kim f5aecdee8f work around to rust#62127 2019-11-26 10:14:21 +06:00
Nikolay Kim e76ea8e80c re-export timeout 2019-11-26 09:04:14 +06:00