chore(semaphore): Cargo.toml tweaks

Name has to be different to avoid workspace rlib clash, it seems like.
This commit is contained in:
Oskar Thoren 2022-06-01 15:17:17 +01:00
parent d9b5c9a371
commit 61b63cb90e
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 20 additions and 1 deletions

View File

@ -1,10 +1,14 @@
[package]
name = "semaphore"
name = "semaphore-wrapper"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
dylib = [ "wasmer/dylib", "wasmer-engine-dylib", "wasmer-compiler-cranelift" ]
[dependencies]
ark-bn254 = { version = "0.3.0" }
ark-circom = { git = "https://github.com/gakonst/ark-circom", features=["circom-2"] }
@ -28,3 +32,18 @@ serde_json = "1.0.79"
[build-dependencies]
color-eyre = "0.5"
wasmer = { version = "2.0" }
wasmer-engine-dylib = { version = "2.2.1", optional = true }
wasmer-compiler-cranelift = { version = "2.2.1", optional = true }
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
opt-level = 3
# Compilation profile for any non-workspace member.
# Dependencies are optimized, even in a dev build. This improves dev performance
# while having neglible impact on incremental build times.
[profile.dev.package."*"]
opt-level = 3