mirror of
https://github.com/enricobottazzi/zk-fhe.git
synced 2026-01-08 04:44:04 -05:00
* chore: fix dependency * chore: replace `compute_rlc` with `compute_rlc_fixed_len` * feat: partial refactor * chore: further refactor * chore: further refactor * chore: further refactor * chore: further refactor * chore: further refactor * chore: further refactor * chore: remove binding to `DEG` from PolyChip * chore: further refactor * chore: further refactor * feat: refactor * chore: modify function visibility * chore: minor fixes * feat: minor efficiency improvement * feat: minor efficiency improvement * feat: minor efficiency improvement * feat: minor efficiency improvement * chore: minor fixes * feat: minor efficiency improvement * chore: fix comments * chore: readme * chore: fix deps * chore: minor fixes
50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
[package]
|
|
name = "zk-fhe"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
axiom-eth = { git = "https://github.com/axiom-crypto/axiom-eth.git", branch = "community-edition", default-features = false, features = ["halo2-axiom", "aggregation", "evm", "clap"] }
|
|
halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib", tag = "v0.3.0-ce" }
|
|
halo2-scaffold = {git = "https://github.com/axiom-crypto/halo2-scaffold", tag = "v0.2.0" }
|
|
clap = { version = "=4.0.13", features = ["derive"] }
|
|
serde = { version = "=1.0", default-features = false, features = ["derive"] }
|
|
env_logger = "=0.10"
|
|
rand = "0.8"
|
|
num-bigint = "0.4"
|
|
num-traits = "0.2.17"
|
|
num-integer = "0.1.44"
|
|
colored = "=2.0.0"
|
|
ahash = "=0.8.6"
|
|
|
|
# Dev / testing mode. We make opt-level = 3 to improve proving times (otherwise it is really slow)
|
|
[profile.dev]
|
|
opt-level = 3
|
|
debug = 1 # change to 0 or 2 for more or less debug info
|
|
overflow-checks = true # default
|
|
incremental = true # default
|
|
|
|
# Local "release" mode, more optimized than dev but faster to compile than release
|
|
[profile.local]
|
|
inherits = "dev"
|
|
opt-level = 3
|
|
# Set this to 1 or 2 to get more useful backtraces
|
|
debug = 1
|
|
debug-assertions = false
|
|
panic = 'unwind'
|
|
# better recompile times
|
|
incremental = true
|
|
lto = "thin"
|
|
codegen-units = 16
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
debug-assertions = false
|
|
lto = "fat"
|
|
panic = "abort"
|
|
incremental = false
|
|
|