| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- [package]
- name = "membership"
- version = "0.0.1"
- homepage = "https://dark.fi"
- description = "Template smart contract"
- authors = ["Dyne.org foundation <foundation@dyne.org>"]
- license = "AGPL-3.0-only"
- edition = "2021"
- [lib]
- crate-type = ["cdylib", "lib"]
- [dependencies]
- # The main smart contract dependencies necessary for each/most contracts
- darkfi-sdk = { git = "https://git.dark.fi/darkrenaissance/darkfi", features = ["wasm"] }
- darkfi-serial = { git = "https://git.dark.fi/darkrenaissance/darkfi", features = ["derive", "crypto"] }
- # The client-side dependencies used for transaction creation. These aren't
- # needed in WASM so they are optional, and enabled through the `client`
- # feature.
- rand = { version = "0.8.5", optional = true }
- [dependencies.darkfi]
- git = "https://git.dark.fi/darkrenaissance/darkfi"
- optional = true
- features = ["util", "zk", "zkas"]
- ## We need to disable random using "custom" which makes the crate a noop
- # so the wasm32-unknown-unknown target is enabled.
- [target.'cfg(target_arch = "wasm32")'.dependencies]
- getrandom = { version = "0.2.8", features = ["custom"] }
- [features]
- default = []
- no-entrypoint = []
- client = ["darkfi", "rand"]
- # The client helper binary
- [[bin]]
- name = "membership"
- path = "client/main.rs"
- [patch.crates-io]
- halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v050"}
- halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v050"}
|