# 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 = "sn_networking" version = "0.19.5" authors = ["MaidSafe Developers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe Networking Infrastructure" homepage = "https://maidsafe.net" documentation = "https://docs.rs/sn_node" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/maidsafe/safe_network" [lib] name = "sn_networking" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.aes-gcm-siv] version = "0.11.1" [dependencies.async-trait] version = "0.1" [dependencies.backoff] version = "0.4.0" features = ["tokio"] [dependencies.bytes] version = "1.0.1" features = ["serde"] [dependencies.custom_debug] version = "~0.6.1" [dependencies.futures] version = "~0.3.13" [dependencies.hex] version = "~0.4.3" [dependencies.hkdf] version = "0.12" [dependencies.hyper] version = "0.14" features = [ "server", "tcp", "http1", ] optional = true [dependencies.itertools] version = "~0.12.1" [dependencies.lazy_static] version = "~1.4.0" [dependencies.libp2p] version = "0.54.1" features = [ "tokio", "dns", "kad", "macros", "request-response", "cbor", "identify", "quic", "relay", "noise", "tcp", "yamux", "websocket", ] [dependencies.prometheus-client] version = "0.22" optional = true [dependencies.rand] version = "~0.8.5" features = ["small_rng"] [dependencies.rayon] version = "1.8.0" [dependencies.rmp-serde] version = "1.1.1" [dependencies.self_encryption] version = "~0.30.0" [dependencies.serde] version = "1.0.133" features = [ "derive", "rc", ] [dependencies.sha2] version = "0.10" [dependencies.sn_build_info] version = "0.1.19" [dependencies.sn_evm] version = "0.1.4" [dependencies.sn_protocol] version = "0.17.15" [dependencies.sn_registers] version = "0.4.3" [dependencies.sn_transfers] version = "0.20.3" [dependencies.strum] version = "0.26.2" features = ["derive"] [dependencies.sysinfo] version = "0.30.8" optional = true default-features = false [dependencies.thiserror] version = "1.0.23" [dependencies.tiny-keccak] version = "~2.0.2" features = ["sha3"] [dependencies.tokio] version = "1.32.0" features = [ "io-util", "macros", "rt", "sync", "time", ] [dependencies.tracing] version = "~0.1.26" [dependencies.void] version = "1.0.2" [dependencies.walkdir] version = "~2.5.0" [dependencies.xor_name] version = "5.0.0" [dev-dependencies.assert_fs] version = "1.0.0" [dev-dependencies.bls] version = "8.0.1" package = "blsttc" [dev-dependencies.eyre] version = "0.6.8" [dev-dependencies.libp2p-identity] version = "0.2.7" features = ["rand"] [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.uuid] version = "1.5.0" features = ["v4"] [features] default = [] encrypt-records = [] local = ["libp2p/mdns"] loud = [] open-metrics = [ "libp2p/metrics", "prometheus-client", "hyper", "sysinfo", ] upnp = ["libp2p/upnp"] websockets = ["libp2p/tcp"] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2.12" features = ["js"] [target.'cfg(target_arch = "wasm32")'.dependencies.libp2p] version = "0.54.1" features = [ "tokio", "dns", "kad", "tcp", "macros", "request-response", "cbor", "identify", "noise", "yamux", "websocket-websys", "wasm-bindgen", ] [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.40" [target.'cfg(target_arch = "wasm32")'.dependencies.wasmtimer] version = "0.2.0" [lints.clippy] clone_on_ref_ptr = "warn" unicode_not_nfc = "warn" uninlined_format_args = "warn" unused_async = "warn" unwrap_used = "warn" [lints.rust] arithmetic_overflow = "forbid" mutable_transmutes = "forbid" no_mangle_const_items = "forbid" trivial_casts = "warn" trivial_numeric_casts = "warn" unknown_crate_types = "forbid" unsafe_code = "warn" unused_extern_crates = "warn" unused_import_braces = "warn"