Files
zeekayandHanzo Dev 3a5b830f0f Build against the projects that exist
The rebrand renamed dependencies it does not own. luxfhe/tfhe-rs and
luxfhe/torus-ml-extensions are not repositories, torus-ml-extensions is not on
PyPI, and a torus_ml_extensions library is not what the script's build of
concrete-ml-extensions produces, so neither the server nor the frameworks could
build. They name zama-ai/tfhe-rs and concrete-ml-extensions again, and the
README says again who built TFHE-rs and Concrete ML.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-23 01:55:03 -07:00

40 lines
1.0 KiB
TOML

[package]
name = "weight_stats"
version = "0.1.0"
edition = "2021"
[dependencies]
pyo3 = { version = "0.18", features = ["extension-module"] }
bincode = "1.3"
serde = { version = "1.0", features = ["derive"] }
# For x86_64 (e.g., Linux servers, Docker builds targeting amd64)
[target.'cfg(target_arch = "x86_64")'.dependencies.tfhe]
git = "https://github.com/zama-ai/tfhe-rs.git"
branch = "main"
features = ["integer", "x86_64-unix"]
# For aarch64 macOS (e.g., Apple Silicon Macs)
[target.'cfg(all(target_arch = "aarch64", target_os = "macos"))'.dependencies.tfhe]
git = "https://github.com/zama-ai/tfhe-rs.git"
branch = "main"
features = ["integer", "aarch64-unix"]
# For aarch64 Linux (e.g., ARM-based Linux servers/dev environments)
[target.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.dependencies.tfhe]
git = "https://github.com/zama-ai/tfhe-rs.git"
branch = "main"
features = ["integer", "aarch64-unix"]
[profile.dev]
opt-level = 3
lto = "off"
debug-assertions = false
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "weight_stats"
path = "src/main.rs"