# 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_protocol" version = "0.17.15" authors = ["MaidSafe Developers "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Safe Network Protocol" homepage = "https://maidsafe.net" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/maidsafe/safe_network" [lib] name = "sn_protocol" path = "src/lib.rs" [dependencies.bls] version = "8.0.1" package = "blsttc" [dependencies.bytes] version = "1.0.1" features = ["serde"] [dependencies.color-eyre] version = "0.6.2" [dependencies.crdts] version = "7.3" features = ["merkle"] default-features = false [dependencies.custom_debug] version = "~0.6.1" [dependencies.dirs-next] version = "~2.0.0" [dependencies.hex] version = "~0.4.3" [dependencies.lazy_static] version = "1.4.0" [dependencies.libp2p] version = "0.54.1" features = [ "identify", "kad", ] [dependencies.prost] version = "0.9" optional = true [dependencies.rmp-serde] version = "1.1.1" [dependencies.serde] version = "1.0.133" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10.7" [dependencies.sn_build_info] version = "0.1.19" [dependencies.sn_evm] version = "0.1.4" [dependencies.sn_registers] version = "0.4.3" [dependencies.sn_transfers] version = "0.20.3" [dependencies.thiserror] version = "1.0.23" [dependencies.tiny-keccak] version = "~2.0.2" features = ["sha3"] [dependencies.tonic] version = "0.6.2" features = [ "prost", "tls", "codegen", ] optional = true default-features = false [dependencies.tracing] version = "~0.1.26" [dependencies.xor_name] version = "5.0.0" [build-dependencies.tonic-build] version = "~0.6.2" [features] default = [] rpc = [ "tonic", "prost", ] websockets = [] [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"