]> git.lizzy.rs Git - connect-rs.git/blob - Cargo.toml
refactor to have datagram already serialized in memory
[connect-rs.git] / Cargo.toml
1 [package]
2 name = "connect"
3 version = "0.3.0"
4 edition = "2018"
5 authors = ["Sachandhan Ganesh <sachan.ganesh@gmail.com>"]
6 description = "message queue abstraction over async network streams"
7 keywords = ["async", "network", "message-queue", "mq", "aio"]
8 categories = ["asynchronous", "network-programming", "rust-patterns", "encoding"]
9 repository = "https://github.com/sachanganesh/connect-rs"
10 documentation = "https://docs.rs/connect/"
11 readme = "README.md"
12 license = "Apache-2.0"
13
14 [package.metadata.docs.rs]
15 features = ["tls"]
16 rustdoc-args = ["--cfg", "docsrs"]
17
18 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
19
20 [workspace]
21 members = [
22     "examples/*",
23 ]
24
25
26 [features]
27 tls = ["async-tls", "rustls", "rustls-pemfile"]
28
29 [dependencies]
30 anyhow = "1.0"
31 async-std = { version = "1.12.0", features = ["unstable"] }
32 async-stream = "0.3.0"
33 bytes = "0.5.5"
34 futures = "0.3"
35 futures-lite = "1.11"
36 log = "0.4"
37
38 async-tls = { version = "0.11.0", default-features = false, features = ["client", "server"], optional = true }
39 rustls = { version = "0.19.0", optional = true }
40 rustls-pemfile = { version = "1.0.1", optional = true }
41
42 [dev-dependencies]
43 async-std = { version = "1.12.0", features = ["attributes"] }