# 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 = "near-chain-configs" version = "0.27.0" authors = ["Near Inc "] build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "This crate provides typed interfaces to the NEAR Genesis and Chain Configs" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/near/nearcore" [lib] name = "near_chain_configs" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.62" [dependencies.bytesize] version = "1.1" features = ["serde"] [dependencies.chrono] version = "0.4" features = [ "clock", "alloc", "serde", ] default-features = false [dependencies.derive_more] version = "0.99.9" [dependencies.near-config-utils] version = "0.27.0" [dependencies.near-crypto] version = "0.27.0" default-features = false [dependencies.near-o11y] version = "0.27.0" optional = true [dependencies.near-parameters] version = "0.27.0" [dependencies.near-primitives] version = "0.27.0" [dependencies.near-time] version = "0.27.0" [dependencies.num-rational] version = "0.3.1" features = ["serde"] [dependencies.serde] version = "1.0.136" features = [ "alloc", "derive", "rc", ] [dependencies.serde_json] version = "1.0.68" [dependencies.sha2] version = "0.10" [dependencies.smart-default] version = "0.6" [dependencies.time] version = "0.3.9" default-features = false [dependencies.tracing] version = "0.1.40" features = ["std"] [features] default = [] metrics = [ "near-o11y", "near-time/clock", ] nightly = [ "near-o11y/nightly", "near-parameters/nightly", "near-primitives/nightly", "nightly_protocol", "protocol_feature_nonrefundable_transfer_nep491", ] nightly_protocol = [ "near-o11y/nightly_protocol", "near-parameters/nightly_protocol", "near-primitives/nightly_protocol", ] protocol_feature_nonrefundable_transfer_nep491 = [] test_genesis = ["near-primitives/rand"] test_utils = ["near-primitives/rand"] [lints.clippy] clone_on_copy = "deny" derivable_impls = "deny" len_zero = "deny" or_fun_call = "deny" redundant_clone = "deny" single_char_pattern = "allow" unnecessary_lazy_evaluations = "deny" [lints.clippy.all] level = "allow" priority = -100 [lints.clippy.correctness] level = "deny" priority = -50 [lints.clippy.perf] level = "deny" priority = -50 [lints.clippy.suspicious] level = "deny" priority = -50 [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(enable_const_type_id)"]