diff options
author | Carl Lerche <me@carllerche.com> | 2019-10-22 10:13:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 10:13:49 -0700 |
commit | cfc15617a5247ea780c32c85b7134b88b6de5845 (patch) | |
tree | ef0a46c61c51505a60f386c9760acac9d1f9b7b1 /examples/Cargo.toml | |
parent | b8cee1a60ad99ef28ec494ae4230e2ef4399fcf9 (diff) |
codec: move into tokio-util (#1675)
Related to #1318, Tokio APIs that are "less stable" are moved into a new
`tokio-util` crate. This crate will mirror `tokio` and provide
additional APIs that may require a greater rate of breaking changes.
As examples require `tokio-util`, they are moved into a separate
crate (`examples`). This has the added advantage of being able to avoid
example only dependencies in the `tokio` crate.
Diffstat (limited to 'examples/Cargo.toml')
-rw-r--r-- | examples/Cargo.toml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/examples/Cargo.toml b/examples/Cargo.toml new file mode 100644 index 00000000..84a546f7 --- /dev/null +++ b/examples/Cargo.toml @@ -0,0 +1,52 @@ +[package] +name = "examples" +version = "0.0.0" +publish = false +edition = "2018" + +[dev-dependencies] +tokio = { version = "=0.2.0-alpha.6", path = "../tokio" } +tokio-util = { version = "=0.2.0-alpha.6", path = "../tokio-util" } + +bytes = "0.4.12" +futures-preview = "=0.3.0-alpha.19" + +[[example]] +name = "chat" +path = "chat.rs" + +[[example]] +name = "connect" +path = "connect.rs" + +[[example]] +name = "echo-udp" +path = "echo-udp.rs" + +[[example]] +name = "echo" +path = "echo.rs" + +[[example]] +name = "hello_world" +path = "hello_world.rs" + +[[example]] +name = "print_each_packet" +path = "print_each_packet.rs" + +[[example]] +name = "proxy" +path = "proxy.rs" + +[[example]] +name = "tinydb" +path = "tinydb.rs" + +[[example]] +name = "udp-client" +path = "udp-client.rs" + +[[example]] +name = "udp-codec" +path = "udp-codec.rs" |