# 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 = "unc-primitives-core" version = "0.12.2" authors = ["Hello Inc "] publish = true description = "This crate provides the core set of primitives used by other unc-infra.crates including unc-primitives" license = "GPL-2.0-or-later" repository = "https://github.com/utnet-org/utility" [dependencies.arbitrary] version = "1.2.3" features = ["derive"] [dependencies.base64] version = "0.21" [dependencies.borsh] version = "1.0.0" features = [ "derive", "rc", ] [dependencies.bs58] version = "0.4" [dependencies.derive_more] version = "0.99.9" [dependencies.enum-map] version = "2.1.0" [dependencies.num-rational] version = "0.3.1" features = ["serde"] [dependencies.serde] version = "1.0.136" features = [ "alloc", "derive", "rc", ] [dependencies.serde_repr] version = "0.1.8" [dependencies.serde_with] version = "3.0" features = ["base64"] [dependencies.sha2] version = "0.10" [dependencies.strum] version = "0.24" features = ["derive"] [dependencies.thiserror] version = "1.0.30" [dependencies.unc-account-id] version = "0.7.2" features = [ "internal_unstable", "serde", "borsh", ] [dev-dependencies.insta] version = "1.34.0" features = [ "json", "yaml", "redactions", ] [dev-dependencies.serde_json] version = "1.0.68" [features] default = [] nightly = [ "nightly_protocol", "protocol_feature_fix_contract_loading_cost", "protocol_feature_fix_staking_threshold", "protocol_feature_reject_blocks_with_outdated_protocol_version", ] nightly_protocol = [] protocol_feature_fix_contract_loading_cost = [] protocol_feature_fix_staking_threshold = [] protocol_feature_reject_blocks_with_outdated_protocol_version = [] [lints.clippy] clone_on_copy = "deny" derivable_impls = "deny" len_zero = "deny" redundant_clone = "deny" single_char_pattern = "allow" [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] warnings = "deny"