amaru-protocols 0.1.1

Cardano network mini-protocol implementations for the Amaru Cardano node
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.93"
name = "amaru-protocols"
version = "0.1.1"
authors = ["Amaru Maintainers <amaru@pragma.builders>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cardano network mini-protocol implementations for the Amaru Cardano node"
homepage = "https://github.com/pragma-org/amaru"
documentation = "https://docs.rs/amaru"
readme = "README.md"
keywords = [
    "cardano",
    "blockchain",
    "node",
    "ouroboros",
    "crypto",
]
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"
repository = "https://github.com/pragma-org/amaru"
resolver = "2"

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

[dependencies.amaru-kernel]
version = "0.1.1"
features = ["test-utils"]

[dependencies.amaru-observability]
version = "0.1.1"

[dependencies.amaru-ouroboros]
version = "0.1.1"

[dependencies.amaru-ouroboros-traits]
version = "0.1.1"
features = ["test-utils"]

[dependencies.anyhow]
version = "1.0.100"

[dependencies.bytes]
version = "1.10.1"
features = ["serde"]

[dependencies.cbor-data]
version = "0.8.19"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.hex]
version = "0.4.3"

[dependencies.minicbor]
version = "0.25.1"
features = [
    "std",
    "half",
    "derive",
]

[dependencies.pallas-traverse]
version = "0.34.0"

[dependencies.pure-stage]
version = "0.1.1"

[dependencies.serde]
version = "1.0.228"
default-features = false

[dependencies.tracing]
version = "0.1.40"
features = ["valuable"]

[dev-dependencies.amaru-mempool]
version = "0.1.1"

[dev-dependencies.amaru-network]
version = "0.1.1"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.pallas-primitives]
version = "0.34.0"

[dev-dependencies.proptest]
version = "1.8.0"
features = ["std"]
default-features = false

[dev-dependencies.socket2]
version = "0.6.1"

[dev-dependencies.tokio]
version = "1.45.0"
features = [
    "sync",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "env-filter",
    "std",
    "json",
]

[lints.clippy]
expect_used = "warn"
panic = "warn"
print_stdout = "deny"
todo = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"

[lints.rust]
rust-2018-compatibility = "warn"
rust-2018-idioms = "warn"
rust-2021-compatibility = "warn"

[lints.rust.future-incompatible]
level = "deny"
priority = 0

[lints.rust.nonstandard-style]
level = "deny"
priority = 0