# 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 = "netxclient" version = "2.1.0" authors = ["luyi "] description = "netx client assembly." documentation = "https://docs.rs/netxclient" 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.cfg-if] version = "1.0" [dependencies.data-rw] version = "1.6" [dependencies.log] version = "0.4" [dependencies.netxbuilder] version = "2.0" [dependencies.once_cell] version = "1.10" [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.serde_json] version = "1.0" [dependencies.tcp-channel-client] version = "0.2" optional = true [dependencies.tcpclient] 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"] [dev-dependencies.structopt] version = "0.3" [features] backtrace = ["anyhow/backtrace"] default = ["tcpclient"] dserde = ["data-rw/data"] jserde = ["data-rw/json"] use_openssl = [ "openssl", "openssl-sys", "tokio-openssl", ] use_rustls = ["tokio-rustls"]