# 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_node" version = "0.112.6" authors = ["MaidSafe Developers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe Node" homepage = "https://maidsafe.net" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/maidsafe/safe_network" [lib] name = "sn_node" path = "src/lib.rs" [[bin]] name = "safenode" path = "src/bin/safenode/main.rs" [[test]] name = "data_with_churn" path = "tests/data_with_churn.rs" [[test]] name = "double_spend" path = "tests/double_spend.rs" [[test]] name = "sequential_transfers" path = "tests/sequential_transfers.rs" [[test]] name = "spend_simulation" path = "tests/spend_simulation.rs" [[test]] name = "storage_payments" path = "tests/storage_payments.rs" [[test]] name = "verify_data_location" path = "tests/verify_data_location.rs" [[test]] name = "verify_routing_table" path = "tests/verify_routing_table.rs" [dependencies.assert_fs] version = "1.0.0" [dependencies.async-trait] version = "0.1" [dependencies.bls] version = "8.0.1" package = "blsttc" [dependencies.bytes] version = "1.0.1" features = ["serde"] [dependencies.chrono] version = "~0.4.19" [dependencies.clap] version = "4.2.1" features = ["derive"] [dependencies.color-eyre] version = "0.6.2" [dependencies.const-hex] version = "1.12.0" [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.eyre] version = "0.6.8" [dependencies.file-rotate] version = "0.7.3" [dependencies.futures] version = "~0.3.13" [dependencies.hex] version = "~0.4.3" [dependencies.itertools] version = "~0.12.1" [dependencies.libp2p] version = "0.54.1" features = [ "tokio", "dns", "kad", "macros", ] [dependencies.prometheus-client] version = "0.22" optional = true [dependencies.prost] version = "0.9" [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.sn_build_info] version = "0.1.19" [dependencies.sn_evm] version = "0.1.4" [dependencies.sn_logging] version = "0.2.40" [dependencies.sn_networking] version = "0.19.5" [dependencies.sn_peers_acquisition] version = "0.5.7" [dependencies.sn_protocol] version = "0.17.15" [dependencies.sn_registers] version = "0.4.3" [dependencies.sn_service_management] 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" default-features = false [dependencies.thiserror] version = "1.0.23" [dependencies.tokio] version = "1.32.0" features = [ "io-util", "macros", "parking_lot", "rt", "sync", "time", "signal", ] [dependencies.tokio-stream] version = "~0.1.12" [dependencies.tonic] version = "0.6.2" [dependencies.tracing] version = "~0.1.26" [dependencies.tracing-appender] version = "~0.2.0" [dependencies.tracing-opentelemetry] version = "0.21" optional = true [dependencies.tracing-subscriber] version = "0.3.16" [dependencies.walkdir] version = "~2.5.0" [dependencies.xor_name] version = "5.0.0" [dev-dependencies.autonomi] version = "0.2.4" features = ["registers"] [dev-dependencies.evmlib] version = "0.1.4" [dev-dependencies.reqwest] version = "0.12.2" features = ["rustls-tls-manual-roots"] default-features = false [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.sn_protocol] version = "0.17.15" features = ["rpc"] [dev-dependencies.sn_transfers] version = "0.20.3" features = ["test-utils"] [dev-dependencies.tempfile] version = "3.6.0" [features] default = [ "metrics", "upnp", "open-metrics", "encrypt-records", ] encrypt-records = ["sn_networking/encrypt-records"] local = [ "sn_networking/local", "sn_evm/local", ] loud = ["sn_networking/loud"] metrics = ["sn_logging/process-metrics"] network-contacts = ["sn_peers_acquisition/network-contacts"] nightly = [] open-metrics = [ "sn_networking/open-metrics", "prometheus-client", ] otlp = ["sn_logging/otlp"] upnp = ["sn_networking/upnp"] [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"