# 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-rpc-error-macro" version = "0.26.0" authors = ["Near Inc "] publish = true description = "This crate generates schema for Rust structs which can be used by TypeScript." license = "MIT OR Apache-2.0" repository = "https://github.com/near/nearcore" [lib] proc-macro = true [dependencies.fs2] version = "0.4" optional = true [dependencies.near-rpc-error-core] version = "0.26.0" [dependencies.serde] version = "1.0.136" features = [ "alloc", "derive", "rc", ] [dependencies.serde_json] version = "1.0.68" features = ["preserve_order"] optional = true [dependencies.syn] version = "2.0.4" features = [ "extra-traits", "full", ] [features] dump_errors_schema = [ "near-rpc-error-core/dump_errors_schema", "serde_json", "fs2", ] test = [] [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