# 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-ouroboros"
version = "0.1.1"
authors = ["Amaru Maintainers <amaru@pragma.builders>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ouroboros consensus protocol primitives 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"

[package.metadata.cargo-machete]
ignored = ["getrandom"]

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

[[test]]
name = "validation"
path = "tests/validation.rs"

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

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

[dependencies.getrandom]
version = "0.3"
features = [
    "wasm_js",
    "wasm_js",
]

[dependencies.hex]
version = "0.4.3"

[dependencies.kes-summed-ed25519]
version = "0.2.1"
package = "amaru-kes-summed-ed25519"

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

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

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

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

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

[dependencies.thiserror]
version = "2.0.17"

[dependencies.vrf_dalek]
version = "0.1.0"
package = "amaru-vrf-dalek"

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

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

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

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

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.rayon]
version = "1.10"

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

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

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

[target."cfg(not(std))".dependencies.num]
version = "0.4.3"
features = [
    "alloc",
    "alloc",
    "libm",
]
default-features = false

[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
