# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "netxserver" version = "2.1.1" authors = ["yi lu "] description = "netx server assembly." documentation = "https://docs.rs/netxserver" license = "MIT/Apache-2.0" repository = "https://github.com/luyikk/rust_netx" resolver = "2" [dependencies.anyhow] version = "1" [dependencies.aqueue] version = "1.3" [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.1" [dependencies.cfg-if] version = "1.0" [dependencies.chrono] version = "0.4" [dependencies.data-rw] version = "1.6" [dependencies.log] version = "0.4" [dependencies.netxbuilder] version = "2.0" [dependencies.oneshot] version = "0.1" features = ["async"] default-features = false [dependencies.openssl] version = "0.10" optional = true [dependencies.openssl-sys] version = "0.9" optional = true [dependencies.paste] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tcp-channel-server] version = "0.1" optional = true [dependencies.tcpserver] version = "2.0" optional = true [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-openssl] version = "0.6" optional = true [dependencies.tokio-rustls] version = "0.26" optional = true [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.log] version = "0.4" [dev-dependencies.mimalloc] version = "0.1" default-features = false [dev-dependencies.rustls-pemfile] version = "2" [dev-dependencies.serde] version = "1.0" features = ["derive"] [features] backtrace = ["anyhow/backtrace"] default = ["tcpserver"] dserde = ["data-rw/data"] jserde = ["data-rw/json"] use_openssl = [ "openssl", "openssl-sys", "tokio-openssl", ] use_rustls = ["tokio-rustls"]