jam-types 0.1.28

JAM protocol datatypes for interoperation between node internals, services and authorizers
Documentation
# 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.28"
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]
bytes = [
    "dep:bytes",
    "codec/bytes",
]
default = ["std"]
serde = [
    "dep:serde",
    "dep:base64",
    "bounded-collections/serde",
]
std = [
    "bytes/std",
    "codec/std",
    "bounded-collections/std",
]

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

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

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.bounded-collections]
version = "0.3.2"
features = ["jam-codec"]
default-features = false

[dependencies.bytes]
version = "1.7.1"
optional = true
default-features = false

[dependencies.codec]
version = "0.1.1"
features = [
    "derive",
    "max-encoded-len",
]
default-features = false
package = "jam-codec"

[dependencies.macro_rules_attribute]
version = "0.2"

[dependencies.serde]
version = "1.0"
optional = true

[dev-dependencies.serde_json]
version = "1.0"

[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