| 123456789101112131415161718192021222324252627282930313233343536 |
- [package]
- name = "darkfi_dummy_contract"
- version = "0.4.1"
- authors = ["Dyne.org foundation <foundation@dyne.org>"]
- license = "AGPL-3.0-only"
- edition = "2021"
- [workspace]
- [lib]
- crate-type = ["cdylib", "rlib"]
- [dependencies]
- darkfi-sdk = {path = "../../src/sdk"}
- # 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"] }
- [dev-dependencies]
- sled = "0.34.7"
- darkfi = {path = "../../", features = ["wasm-runtime"]}
- simplelog = "0.12.2"
- [[example]]
- name = "runtime"
- path = "src/runtime.rs"
- [features]
- default = []
- no-entrypoint = []
- [patch.crates-io]
- halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
- halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
|