[package] name = "async-rust" version = "0.1.1" authors = ["navigaid ", "btwiuse "] edition = "2021" license = "MIT" description = "async rust examples" documentation = "https://docs.rs/crate/async-rust/latest/source/" [[bin]] name = "httpserver" path = "httpserver.rs" [[bin]] name = "global" path = "global.rs" [[bin]] name = "async-channel" path = "async-channel.rs" [[bin]] name = "tcp-echo-server" path = "tcp-echo-server.rs" [[bin]] name = "ws-echo-server" path = "ws-echo-server.rs" [[bin]] name = "tcpserver" path = "tcpserver.rs" [[bin]] name = "tcpclient" path = "tcpclient.rs" [[bin]] name = "protobuf" path = "protobuf.rs" [[bin]] name = "enum" path = "enum.rs" [[bin]] name = "gen" path = "gen.rs" [[bin]] name = "json" path = "json.rs" [[bin]] name = "readline" path = "readline.rs" [[bin]] name = "rustyline" path = "rustyline.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] tokio = { version = "1.17", features = ["full"] } tokio-stream = "0.1.8" crossbeam-channel = "0.5" futures = "0.3" hyper = { version = "0.14", features = ["http1", "http2", "client", "server", "runtime", "tcp", "stream"] } websocket = "0.26" tokio-tungstenite = "0.17" protoc-rust = "2.27" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" rustyline = "9.1.2" lazy_static = "1.4.0" tungstenite = "0.17.0" actix = "0.13.0" actix-rt = "2.7.0" actix-web = { version = "4.0.1", default-features = false, features = ["macros"] } actix-web-actors = "4.1.0" actix-http = "3.0.4" log = "0.4" simple_logger = "2.1.0"