Commit Graph
46 Commits
Author SHA1 Message Date
Carl Lerche 4c268a8939 Make Handle Send + Sync. (#35)
* Make Handle `Send + Sync`.

This is an initial implementation making `Handle: Send + Sync`. It uses
a `RwLock` to coordinate access to the underlying state storage. An
implementation without the lock is left to later.

This pass also leaves a lot of dead code that can be removed in later
commits.

* Remove reactor code related to message passing

The previous commit removed the need for using message passing to
communicate with the reactor. This commit removes all the unnecessary
code.
2017-11-17 12:51:23 -08:00
Carl Lerche 36aaaa1520 Rename crate to tokio 2017-10-30 16:37:00 -07:00
Alex Crichton 1c88b8f336 Bump to 0.1.10 2017-10-05 10:47:57 -07:00
Alex Crichton 8a43472b35 Add an example of compressing on a CPU pool 2017-09-11 14:41:15 -07:00
Alex Crichton 5e92b10f3f Add a "tiny" HTTP example
Hopefully being relatively illustrative in how a bare-bones non-production-ready
server can be spun up!
2017-09-10 21:45:23 -07:00
Alex Crichton 7b94cf307d Add a multithreaded echo server example 2017-09-10 08:54:35 -07:00
Travis Bischel fce59de79e bump slab to 0.4.0
Makes some of the code easier to read.
2017-09-07 20:53:54 -07:00
Alex Crichton e8617ea1fc Update futures dependency 2017-08-24 08:16:04 -07:00
Raph Levien 05b1ba4342 [fuchsia] Config changes to build on Fuchsia
This patch disables various Unix-specific platform features that are
not enabled on Fuchsia. It also updates the mio version to 0.6.10,
which is the first release that supports Fuchsia.
2017-07-31 14:12:53 -07:00
Alex Crichton 8c297a6208 Bump to 0.1.9 2017-07-24 21:36:19 -07:00
Igor Gnatenko ddb244429e bump env_logger to 0.4 2017-06-16 08:41:09 +02:00
Alex Crichton 562aa65c99 Bump to 0.1.8 2017-06-07 13:29:14 -07:00
Alex Crichton 16d15520ad Update tokio-core with new task system 2017-05-30 08:42:32 -07:00
Carl Lerche 7acffe4785 Expose TCP socket options 2017-05-27 09:37:25 -07:00
Alex Crichton b92fd2d22a Update to latest mio version 2017-05-19 10:00:57 -07:00
Alex Crichton 98e99c71c4 Bump to 0.1.7 2017-05-08 16:19:27 -07:00
Alex Crichton c80953f078 Bump to 0.1.6 2017-03-15 10:30:10 -07:00
Alex Crichton e79f665440 Bump to 0.1.5 2017-03-15 10:06:32 -07:00
Alex Crichton 89fcc96dd4 Migrate to using tokio-io
Deprecate the existing `io` module in this crate entirely.

More details coming soon!

Closes #61
2017-03-15 09:46:54 -07:00
Alex Crichton a4b4d57cb7 Touch up TcpStream::from_stream 2017-01-24 16:39:01 -08:00
Alex Crichton fcdeb0e5d6 Update crates.io metadata 2017-01-23 20:15:49 -08:00
Alex Crichton 75fe37bc8c Bump to 0.1.4 2017-01-23 20:14:28 -08:00
Alex Crichton e69b67fcfe Remove extraneous clone in Remote 2017-01-23 20:06:03 -08:00
Alex Crichton 28ace4d33c Update docs/homepage link 2017-01-11 09:21:01 -08:00
Alex Crichton 2810471035 Update docs to docs.rs 2017-01-09 16:40:16 -08:00
Alex Crichton 76c3e162b7 Bump to 0.1.3 2017-01-06 11:39:38 -08:00
Alex Crichton b9f7808f6e Bump to 0.1.2 2016-12-19 00:37:27 -08:00
Alex Crichton f036691681 Clean up the pipe-hup test slightly 2016-12-08 16:30:18 -08:00
Andreas Rottmann dc27c0a524 Add test for EPOLLHUP without EPOLLIN
Note that this brings in a lot of machinery just for the sake of
wrapping file descriptors as PollEvented. This should maybe be moved
into the public API of some crate.
2016-12-08 17:52:40 +01:00
Alex Crichton 3b38e518ca Bump to 0.1.1 2016-11-22 15:39:13 -08:00
Alex Crichton 56c2c31bcf Depend on futures from crates.io 2016-11-22 09:40:35 -08:00
Dan Burkert 9dce803e4a Depend directly on git version of futures-rs
Cargo replace directives are not meant for libraries, since they are not
transitively inherited by the application.
2016-11-07 20:22:06 -08:00
Alex Crichton 614887b8c1 Implement split() with BiLock 2016-11-05 11:14:54 -07:00
Alex Crichton 688b67c8d8 Don't need regex from env_logger 2016-10-12 23:34:58 -07:00
Alex Crichton 550dc76bbd Depend on futures from crates.io 2016-09-09 18:02:03 -07:00
Alex Crichton 3282b3ec0d Update to mio 0.6 2016-09-01 22:14:26 -07:00
Carl Lerche 2081bcc430 Track Slab changes 2016-09-01 10:12:15 -07:00
Alex Crichton f107c8d860 Rename to tokio-core, add in futures-io
Renames the futures-mio crate to tokio-core, pulls in the futures-io crate under
an `io` module, and gets everything compiling.
2016-08-26 14:39:47 -07:00
Alex Crichton 217af868e1 Implement UDS bindings
Closes #61
2016-08-15 10:31:23 -07:00
Alex Crichton f08e8ec672 Fix compile on windows 2016-08-10 22:33:45 -07:00
Alex Crichton 68103727f1 Use the dev branch of mio 2016-08-08 13:22:16 -07:00
Alex Crichton 8d73133907 write-then-drop is now upstream 2016-08-08 11:00:04 -07:00
Alex Crichton 8eb1f681af Don't export the timer_wheel module
Move tests into that module
2016-08-05 09:44:00 -07:00
Alex Crichton b47b9f5398 Remove README descriptions where not present 2016-07-31 13:58:38 -07:00
Alex Crichton 192579d62a Add some descriptions 2016-07-31 13:55:04 -07:00
Alex Crichton bc64194be1 Let's rename everything! 2016-07-30 22:50:58 -07:00