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