[package] name = "netxserver" version = "2.1.1" authors = ["yi lu "] edition = "2018" repository = "https://github.com/luyikk/rust_netx" documentation = "https://docs.rs/netxserver" description = "netx server assembly." license = "MIT/Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["tcpserver"] use_openssl = ["openssl", "openssl-sys", "tokio-openssl"] use_rustls = ["tokio-rustls"] dserde = ["data-rw/data"] jserde = ["data-rw/json"] backtrace = ["anyhow/backtrace"] [dependencies] tokio = { version = "1", features = ["full"] } serde = { version = "1.0", features = ["derive"] } tcpserver = { version = "2.0", optional = true } tcp-channel-server = { version = "0.1", optional = true } aqueue = "1.3" async-trait = "0.1" anyhow = { version = "1" } log = "0.4" data-rw = "1.6" paste = "1.0" bytes = "1.1" netxbuilder = "2.0" chrono = "0.4" cfg-if = "1.0" openssl = { version = "0.10", optional = true } openssl-sys = { version = "0.9", optional = true } tokio-openssl = { version = "0.6", optional = true } tokio-rustls = { version = "0.26", optional = true } oneshot = { version = "0.1", default-features = false, features = ["async"] } [dev-dependencies] env_logger = "0.11" serde = { version = "1.0", features = ["derive"] } log = "0.4" mimalloc = { version = "0.1", default-features = false } rustls-pemfile = { version = "2" }