2019-10-22 10:13:49 -07:00
|
|
|
[package]
|
|
|
|
|
name = "examples"
|
|
|
|
|
version = "0.0.0"
|
|
|
|
|
publish = false
|
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-11-26 09:17:27 -08:00
|
|
|
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
|
|
|
|
tokio-util = { version = "0.2.0", path = "../tokio-util", features = ["full"] }
|
2019-10-22 10:13:49 -07:00
|
|
|
|
2019-11-26 09:17:27 -08:00
|
|
|
bytes = "0.5.0"
|
2019-11-07 05:09:10 +09:00
|
|
|
futures = "0.3.0"
|
2019-10-22 10:13:49 -07:00
|
|
|
|
|
|
|
|
[[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"
|