[package] name = "chia" version = "0.15.0" edition = "2021" license = "Apache-2.0" description = "A meta-crate that exports all of the Chia crates in the workspace." authors = [ "Richard Kiss ", "Arvid Norberg ", "Brandon Haggstrom " ] homepage = "https://github.com/Chia-Network/chia_rs" repository = "https://github.com/Chia-Network/chia_rs" [workspace] members = ["crates/*", "crates/*/fuzz", "wasm", "wheel"] [workspace.lints.rust] rust_2018_idioms = { level = "deny", priority = -1 } rust_2021_compatibility = { level = "deny", priority = -1 } future_incompatible = { level = "deny", priority = -1 } nonstandard_style = { level = "deny", priority = -1 } unsafe_code = "deny" non_ascii_idents = "deny" unused_imports = "warn" unused_import_braces = "deny" unreachable_code = "deny" unreachable_patterns = "deny" dead_code = "deny" deprecated = "deny" deprecated_in_future = "deny" trivial_casts = "deny" trivial_numeric_casts = "deny" [workspace.lints.clippy] all = { level = "deny", priority = -1 } pedantic = { level = "warn", priority = -1 } must_use_candidate = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" wildcard_imports = "allow" too_many_lines = "allow" module_name_repetitions = "allow" doc_markdown = "allow" cast_possible_truncation = "allow" cast_sign_loss = "allow" cast_precision_loss = "allow" cast_possible_wrap = "allow" cast_lossless = "allow" similar_names = "allow" implicit_hasher = "allow" [dependencies] chia-bls = { workspace = true, optional = true } chia-client = { workspace = true, optional = true } chia-consensus = { workspace = true, optional = true } chia-protocol = { workspace = true, optional = true } chia-ssl = { workspace = true, optional = true } chia-traits = { workspace = true, optional = true } chia-puzzles = { workspace = true, optional = true } chia-sha2 = { workspace = true, optional = true } clvm-traits = { workspace = true, optional = true } clvm-utils = { workspace = true, optional = true } clvmr = { workspace = true } # This is required since clvmr is only added here to provide the openssl feature conditionally. # In the future we could pass the openssl feature to each of the relevant workspace crates instead. [package.metadata.cargo-machete] ignored = ["clvmr"] [features] default = [ "bls", "client", "consensus", "protocol", "ssl", "traits", "puzzles", "sha2", "clvm-traits", "clvm-utils" ] bls = ["dep:chia-bls"] client = ["dep:chia-client"] consensus = ["dep:chia-consensus"] protocol = ["dep:chia-protocol"] ssl = ["dep:chia-ssl"] traits = ["dep:chia-traits"] puzzles = ["dep:chia-puzzles"] sha2 = ["dep:chia-sha2"] clvm-traits = ["dep:clvm-traits"] clvm-utils = ["dep:clvm-utils"] openssl = ["chia-sha2/openssl", "clvmr/openssl"] [profile.release] lto = "thin" [workspace.dependencies] chia_py_streamable_macro = { path = "./crates/chia_py_streamable_macro", version = "0.15.0" } chia_streamable_macro = { path = "./crates/chia_streamable_macro", version = "0.15.0" } chia-bls = { path = "./crates/chia-bls", version = "0.15.0" } chia-client = { path = "./crates/chia-client", version = "0.15.0" } chia-consensus = { path = "./crates/chia-consensus", version = "0.15.0" } chia-protocol = { path = "./crates/chia-protocol", version = "0.15.0" } chia-ssl = { path = "./crates/chia-ssl", version = "0.11.0" } chia-traits = { path = "./crates/chia-traits", version = "0.15.0" } chia-puzzles = { path = "./crates/chia-puzzles", version = "0.15.0" } chia-sha2 = { path = "./crates/chia-sha2", version = "0.15.0" } clvm-traits = { path = "./crates/clvm-traits", version = "0.15.0" } clvm-utils = { path = "./crates/clvm-utils", version = "0.15.0" } clvm-derive = { path = "./crates/clvm-derive", version = "0.13.0" } chia-fuzz = { path = "./crates/chia-consensus/fuzz", version = "0.15.0" } blst = { version = "0.3.12", features = ["portable"] } clvmr = "0.9.0" syn = "2.0.75" quote = "1.0.32" proc-macro2 = "1.0.84" proc-macro-crate = "1.3.1" anyhow = "1.0.86" sha2 = "0.10.8" hkdf = "0.12.0" hex = "0.4.3" thiserror = "1.0.63" pyo3 = "0.21.2" arbitrary = "1.3.2" lru = "0.12.4" rand = "0.8.5" criterion = "0.5.1" rstest = "0.22.0" tokio = "1.39.3" tokio-tungstenite = "0.21.0" futures-util = "0.3.28" tungstenite = "0.21.0" hex-literal = "0.4.1" num-traits = "0.2.15" num-bigint = "0.4.5" text-diff = "0.4.0" lazy_static = "1.4.0" rcgen = "0.13.1" rsa = "0.9.5" time = "0.3.22" rusqlite = "0.31.0" clap = "4.5.16" zstd = "0.13.2" blocking-threadpool = "1.0.1" libfuzzer-sys = "0.4" wasm-bindgen = "0.2.93" openssl = "0.10.66"