amaru 0.1.2

A Cardano blockchain node implementation
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"
version = "0.1.2"
authors = ["Amaru Maintainers <amaru@pragma.builders>"]
build = "build.rs"
include = [
    "src/**/*",
    "config/**",
    "Cargo.toml",
    "build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "amaru"
description = "A Cardano blockchain node implementation"
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"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "-D",
    "warnings",
]

[features]
default = ["mithril"]
mithril = ["dep:mithril-client"]

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

[[bin]]
name = "amaru"
path = "src/bin/amaru/main.rs"
doc = false

[[bin]]
name = "amaru-ledger"
path = "src/bin/ledger/main.rs"
doc = false

[dependencies.amaru-consensus]
version = "0.1.2"
features = ["test-utils"]

[dependencies.amaru-kernel]
version = "0.1.2"
features = ["tracing"]

[dependencies.amaru-ledger]
version = "0.1.2"

[dependencies.amaru-mempool]
version = "0.1.2"

[dependencies.amaru-metrics]
version = "0.1.2"

[dependencies.amaru-network]
version = "0.1.2"

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

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

[dependencies.amaru-plutus]
version = "0.1.2"

[dependencies.amaru-progress-bar]
version = "0.1.2"
features = ["terminal"]

[dependencies.amaru-protocols]
version = "0.1.2"

[dependencies.amaru-stores]
version = "0.1.2"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-compression]
version = "0.4.32"
features = [
    "tokio",
    "gzip",
]

[dependencies.async-trait]
version = "0.1.83"

[dependencies.clap]
version = "4.5.48"
features = [
    "derive",
    "env",
]

[dependencies.flate2]
version = "1.1.2"

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

[dependencies.hex]
version = "0.4.3"

[dependencies.include_dir]
version = "0.7.4"
features = ["glob"]

[dependencies.indicatif]
version = "0.18.0"

[dependencies.indoc]
version = "2.0"

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

[dependencies.mithril-client]
version = "0.12.34"
features = [
    "fs",
    "num-integer-backend",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.opentelemetry]
version = "0.31.0"

[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
    "grpc-tonic",
    "http-proto",
    "reqwest-blocking-client",
]

[dependencies.opentelemetry-semantic-conventions]
version = "0.31.0"

[dependencies.opentelemetry_sdk]
version = "0.31.0"

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

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

[dependencies.parking_lot]
version = "0.12.3"

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

[dependencies.rayon]
version = "1.10"

[dependencies.reqwest]
version = "0.12.20"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.145"
default-features = false

[dependencies.sysinfo]
version = "0.37.1"

[dependencies.tar]
version = "0.4.44"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.45.0"
features = [
    "sync",
    "fs",
    "net",
    "rt",
    "rt-multi-thread",
    "signal",
]

[dependencies.tokio-util]
version = "0.7.17"

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

[dependencies.tracing-opentelemetry]
version = "0.32.1"

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

[dev-dependencies.amaru-iter-borrow]
version = "0.1.2"

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

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

[dev-dependencies.insta]
version = "1.43.2"
features = ["json"]

[dev-dependencies.rocksdb]
version = "0.24.0"
features = [
    "bindgen-runtime",
    "snappy",
    "multi-threaded-cf",
]
default-features = false

[dev-dependencies.tempfile]
version = "3.23.0"

[dev-dependencies.test-case]
version = "3.3.1"

[build-dependencies.amaru-kernel]
version = "0.1.2"

[build-dependencies.built]
version = "0.8.0"
features = ["git2"]

[target."cfg(unix)".dependencies.rlimit]
version = "0.10.2"

[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