Skip to content

Commit

Permalink
add profiles back
Browse files Browse the repository at this point in the history
  • Loading branch information
z-tech committed Jul 25, 2024
1 parent be1e41b commit 775f096
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,39 @@ itertools = { version = "0.13.0", default-features = false }
spin = { version = "0.9.8", default-features = false, features = ["once", "mutex", "spin_mutex"] }
hashbrown = { version = "0.14.5" }

[features]
default = ["std"]
std = [ "ark-crypto-primitives/std", "ark-ff/std", "ark-poly/std", "ark-serialize/std" ]

[patch.crates-io]
ark-crypto-primitives = { git = "https://github.com/arkworks-rs/crypto-primitives" }
ark-ec = { git = "https://github.com/arkworks-rs/algebra" }
ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra" }
ark-std = { git = "https://github.com/arkworks-rs/std" }
ark-test-curves = { git = "https://github.com/arkworks-rs/algebra" }

[features]
default = ["std"]
std = [ "ark-crypto-primitives/std", "ark-ff/std", "ark-poly/std", "ark-serialize/std" ]

[profile.release]
opt-level = 3
lto = "thin"
incremental = true
panic = 'abort'

[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = "thin"
incremental = true
debug-assertions = false

[profile.dev]
opt-level = 0
panic = 'abort'

[profile.test]
opt-level = 3
lto = "thin"
incremental = true
debug-assertions = true
debug = true

0 comments on commit 775f096

Please sign in to comment.