# 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 = "jam-types"
version = "0.1.21-rc.3"
authors = ["Parity Technologies <admin@parity.io>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JAM protocol datatypes for interoperation between node internals, services and authorizers"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/paritytech/polkajam.git"

[features]
default = ["std"]
std = [
    "scale/std",
    "bounded-collections/std",
]
tiny = []

[lib]
name = "jam_types"
path = "src/lib.rs"

[dependencies.atomic-traits]
version = "0.4"

[dependencies.bounded-collections]
version = "0.2.0"
default-features = false

[dependencies.macro_rules_attribute]
version = "0.2"

[dependencies.scale]
version = "3.6.12"
features = ["derive"]
default-features = false
package = "parity-scale-codec"

[lints.clippy]
fn_to_numeric_cast_any = "deny"
new_without_default = "allow"
redundant_closure = "allow"
result_unit_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unwrap_used = "deny"
use_debug = "deny"

[lints.clippy.correctness]
level = "deny"
priority = -1
