# 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 = "2021" name = "znet" version = "0.2.3" authors = ["JLer "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "network framework powered by zenoh" readme = "README.md" keywords = [ "network", "event-bus", "zenoh", ] categories = ["network-programming"] license = "Apache-2.0" repository = "https://github.com/prime-rs/znet" [profile.dev] opt-level = 0 debug = 2 [profile.fast] opt-level = 3 lto = false debug = 2 debug-assertions = true overflow-checks = true inherits = "release" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 panic = "abort" [lib] name = "znet" path = "src/lib.rs" [[example]] name = "get_rv_thr" path = "examples/get_rv_thr.rs" [[example]] name = "get_tx_thr" path = "examples/get_tx_thr.rs" [[example]] name = "put_rv_thr" path = "examples/put_rv_thr.rs" [[example]] name = "put_tx_thr" path = "examples/put_tx_thr.rs" [[example]] name = "router" path = "examples/router.rs" [dependencies.color-eyre] version = "0.6" [dependencies.flume] version = "0.11" [dependencies.indexmap] version = "2.6" [dependencies.parking_lot] version = "0.12" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tracing] version = "0.1" [dependencies.zenoh] version = "1.0.0-rc.1" features = [ "unstable", "internal", "transport_quic", "transport_tls", "transport_udp", "transport_tcp", "plugins", ] [dependencies.zenoh-ext] version = "1.0.0-rc.1" features = ["unstable"] [dev-dependencies.clap] version = "4.5" features = ["derive"] [dev-dependencies.common_x] version = "0.6" features = [ "config", "graceful", "log", "signal", ] default-features = false [dev-dependencies.serde] version = "1.0" features = ["derive"] [lints.clippy] missing_const_for_fn = "warn" [lints.rust] missing_copy_implementations = "warn" unsafe_code = "forbid" unused_extern_crates = "warn"