# 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"
rust-version = "1.73"
name = "fhe"
version = "0.1.0"
authors = ["Tancrède Lepoint"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fully Homomorphic Encryption in Rust"
documentation = "https://fhe.rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/tlepoint/fhe.rs"

[features]
tfhe-ntt = ["fhe-math/tfhe-ntt"]
tfhe-ntt-nightly = ["fhe-math/tfhe-ntt-nightly"]

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "bfv"
path = "benches/bfv.rs"
harness = false

[[bench]]
name = "bfv_optimized_ops"
path = "benches/bfv_optimized_ops.rs"
harness = false

[[bench]]
name = "bfv_rgsw"
path = "benches/bfv_rgsw.rs"
harness = false

[dependencies.doc-comment]
version = "^0.3.4"

[dependencies.fhe-math]
version = "=0.1.0"

[dependencies.fhe-traits]
version = "=0.1.0"

[dependencies.fhe-util]
version = "=0.1.0"

[dependencies.itertools]
version = "^0.14.0"

[dependencies.ndarray]
version = "^0.17.1"

[dependencies.num-bigint]
version = "^0.4.4"

[dependencies.num-traits]
version = "^0.2.18"

[dependencies.once_cell]
version = "^1.19.0"

[dependencies.prost]
version = "^0.14.1"

[dependencies.rand]
version = "^0.9.2"

[dependencies.rand_chacha]
version = "^0.9.0"

[dependencies.thiserror]
version = "^2.0.17"

[dependencies.zeroize]
version = "^1.8.2"

[dependencies.zeroize_derive]
version = "^1.4.2"

[dev-dependencies.clap]
version = "^4.5.53"
features = ["derive"]

[dev-dependencies.console]
version = "^0.16.1"

[dev-dependencies.criterion]
version = "^0.7.0"

[dev-dependencies.env_logger]
version = "^0.11.3"

[dev-dependencies.indicatif]
version = "^0.18.3"

[dev-dependencies.itertools]
version = "^0.14.0"

[dev-dependencies.log]
version = "^0.4.28"

[dev-dependencies.ndarray]
version = "^0.17.1"

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