multi-trait 1.0.3

Common traits for multiformats types
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 = "2024"
rust-version = "1.85"
name = "multi-trait"
version = "1.0.3"
authors = ["Dave Grantham <dwg@linuxprogrammer.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common traits for multiformats types"
readme = "README.md"
keywords = [
    "multiformats",
    "encoding",
    "multicodec",
    "multibase",
    "no_std",
]
categories = [
    "encoding",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/cryptidtech/multi-trait.git"

[features]
default = ["std"]
std = ["unsigned-varint/std"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "custom_type"
path = "examples/custom_type.rs"

[[example]]
name = "error_handling"
path = "examples/error_handling.rs"

[[example]]
name = "no_std"
path = "examples/no_std.rs"

[[bench]]
name = "encoding"
path = "benches/encoding.rs"
harness = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.unsigned-varint]
version = "0.8"
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.4"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"