# 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 = "2021"
name = "power_house"
version = "0.3.3"
authors = ["MFENX LLC"]
build = false
include = [
    "Cargo.toml",
    "LICENSE",
    "LICENSES/**",
    "NOTICE",
    "README.md",
    "RELEASE_NOTES.md",
    "JULIAN_PROTOCOL.md",
    "docs/*.md",
    "artifacts/*.json",
    "benchmarks/**",
    "conformance/**",
    "configs/network.json",
    "infra/ops/*.py",
    "infra/ops/*.sh",
    "infra/digitalocean/*",
    "infra/monitoring/*.conf",
    "infra/monitoring/*.py",
    "infra/monitoring/*.service",
    "infra/monitoring/*.yml",
    "infra/scripts/*.sh",
    "infra/systemd/*",
    "infra/terraform/digitalocean/.terraform.lock.hcl",
    "infra/terraform/digitalocean/*.tf",
    "infra/terraform/digitalocean/README.md",
    "infra/terraform/digitalocean/terraform.tfvars.example",
    "scripts/benchmark_sparse.py",
    "scripts/benchmark_v030.py",
    "scripts/check_rpc.py",
    "scripts/check_release_consistency.py",
    "scripts/check_rustdoc_links.py",
    "scripts/deploy_monitoring_stack.sh",
    "scripts/deploy_rpc_cluster.sh",
    "scripts/digitalocean_rpc_preflight.sh",
    "scripts/generate_rpc_cluster.py",
    "scripts/provision_digitalocean_rpc.sh",
    "scripts/rpc_load_test.py",
    "scripts/soundness_budget.py",
    "scripts/test_digitalocean_provision.sh",
    "scripts/test_generate_rpc_cluster.py",
    "scripts/test_native_rpc_cluster.sh",
    "scripts/test_observatory_contract.py",
    "scripts/test_rpc_check.py",
    "scripts/test_sparse_verifier.py",
    "scripts/verify_sparse_certificate.py",
    "sdk/python/**",
    "src/**",
    "examples/**",
    "tests/**",
    "!infra/terraform/digitalocean/.terraform/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic proofs, portable .pha provenance, Rootprint graphs, and optional quorum networking."
homepage = "https://mfenx.com"
documentation = "https://docs.rs/power_house"
readme = "README.md"
keywords = [
    "cryptography",
    "proofs",
    "provenance",
    "sum-check",
    "verification",
]
categories = [
    "cryptography",
    "algorithms",
    "mathematics",
]
license = "MIT OR BSD-2-Clause"
repository = "https://github.com/JROChub/power_house"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]

[badges.maintenance]
status = "actively-developed"

[features]
default = []
net = [
    "dep:base64",
    "dep:ed25519-dalek",
    "dep:futures",
    "dep:k256",
    "dep:libp2p",
    "dep:once_cell",
    "dep:rand_core",
    "dep:reqwest",
    "dep:reed-solomon-erasure",
    "dep:rlp",
    "dep:rpassword",
    "dep:thiserror",
    "dep:tokio",
]

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

[[bin]]
name = "julian"
path = "src/bin/julian.rs"

[[example]]
name = "committed_workload"
path = "examples/committed_workload.rs"

[[example]]
name = "conformance_vectors"
path = "examples/conformance_vectors.rs"

[[example]]
name = "crt_chain"
path = "examples/crt_chain.rs"

[[example]]
name = "demo"
path = "examples/demo.rs"

[[example]]
name = "general_sumcheck"
path = "examples/general_sumcheck.rs"

[[example]]
name = "hash_pipeline"
path = "examples/hash_pipeline.rs"

[[example]]
name = "hyperscale_affine"
path = "examples/hyperscale_affine.rs"

[[example]]
name = "mega_sumcheck"
path = "examples/mega_sumcheck.rs"

[[example]]
name = "pha_conformance_vectors"
path = "examples/pha_conformance_vectors.rs"

[[example]]
name = "rootprint_benchmark"
path = "examples/rootprint_benchmark.rs"

[[example]]
name = "rootprint_workflow"
path = "examples/rootprint_workflow.rs"

[[example]]
name = "scale_sumcheck"
path = "examples/scale_sumcheck.rs"

[[example]]
name = "sextillion_verify"
path = "examples/sextillion_verify.rs"

[[example]]
name = "sparse_record"
path = "examples/sparse_record.rs"

[[example]]
name = "verify_logs"
path = "examples/verify_logs.rs"

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

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

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

[dependencies.ark-bn254]
version = "0.4"

[dependencies.ark-crypto-primitives]
version = "0.4"
features = [
    "crh",
    "merkle_tree",
    "r1cs",
]

[dependencies.ark-ed-on-bn254]
version = "0.4"
features = ["r1cs"]

[dependencies.ark-ff]
version = "0.4"

[dependencies.ark-groth16]
version = "0.4"

[dependencies.ark-r1cs-std]
version = "0.4"
features = ["std"]

[dependencies.ark-relations]
version = "0.4"

[dependencies.ark-serialize]
version = "0.4"

[dependencies.base64]
version = "0.21"
optional = true

[dependencies.blake2]
version = "0.10"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.k256]
version = "0.13"
features = ["ecdsa"]
optional = true

[dependencies.libp2p]
version = "0.53"
features = [
    "gossipsub",
    "identify",
    "kad",
    "macros",
    "noise",
    "tcp",
    "tokio",
    "yamux",
]
optional = true
default-features = false

[dependencies.once_cell]
version = "1"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rand_core]
version = "0.6"
optional = true

[dependencies.reed-solomon-erasure]
version = "6"
optional = true

[dependencies.reqwest]
version = "0.11"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.rlp]
version = "0.5"
optional = true

[dependencies.rpassword]
version = "7"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sha3]
version = "0.10"

[dependencies.thiserror]
version = "1"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "signal",
    "net",
    "io-util",
    "sync",
]
optional = true

[dev-dependencies.proptest]
version = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1"
