# 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"
name = "chia"
version = "0.45.0"
authors = [
    "Richard Kiss <him@richardkiss.com>",
    "Arvid Norberg <arvid@chia.net>",
    "Brandon Haggstrom <b.haggstrom@chia.net>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A meta-crate that exports all of the Chia crates in the workspace."
homepage = "https://github.com/Chia-Network/chia_rs"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Chia-Network/chia_rs"

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

[features]
bls = [
    "dep:chia-bls",
    "clvm-traits/chia-bls",
]
client = ["dep:chia-client"]
clvm-traits = ["dep:clvm-traits"]
clvm-utils = ["dep:clvm-utils"]
consensus = ["dep:chia-consensus"]
datalayer = ["dep:chia-datalayer"]
default = [
    "bls",
    "secp",
    "client",
    "consensus",
    "datalayer",
    "protocol",
    "ssl",
    "serde",
    "traits",
    "puzzle-types",
    "sha2",
    "clvm-traits",
    "clvm-utils",
]
openssl = [
    "chia-sha2/openssl",
    "clvmr/openssl",
]
protocol = ["dep:chia-protocol"]
puzzle-types = ["dep:chia-puzzle-types"]
secp = [
    "dep:chia-secp",
    "clvm-traits/chia-secp",
]
serde = [
    "dep:chia-serde",
    "chia-protocol/serde",
    "chia-bls/serde",
]
sha2 = ["dep:chia-sha2"]
ssl = ["dep:chia-ssl"]
traits = ["dep:chia-traits"]

[lib]
name = "chia"
path = "src/lib.rs"
bench = false

[dependencies.chia-bls]
version = "0.45.0"
optional = true

[dependencies.chia-client]
version = "0.45.0"
optional = true

[dependencies.chia-consensus]
version = "0.45.0"
optional = true

[dependencies.chia-datalayer]
version = "0.45.0"
optional = true

[dependencies.chia-protocol]
version = "0.45.0"
optional = true

[dependencies.chia-puzzle-types]
version = "0.45.0"
optional = true

[dependencies.chia-secp]
version = "0.45.0"
optional = true

[dependencies.chia-serde]
version = "0.45.0"
optional = true

[dependencies.chia-sha2]
version = "0.45.0"
optional = true

[dependencies.chia-ssl]
version = "0.45.0"
optional = true

[dependencies.chia-traits]
version = "0.45.0"
optional = true

[dependencies.clvm-traits]
version = "0.45.0"
optional = true

[dependencies.clvm-utils]
version = "0.45.0"
optional = true

[dependencies.clvmr]
version = "0.17.7"

[profile.release]
lto = "thin"
