| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- [package]
- name = "darkfi_deployooor_contract"
- version = "0.5.0"
- authors = ["Dyne.org foundation <foundation@dyne.org>"]
- license = "AGPL-3.0-only"
- edition = "2021"
- [lib]
- crate-type = ["cdylib", "rlib"]
- [dependencies]
- darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
- darkfi-serial = { path = "../../serial", features = ["derive", "crypto"] }
- thiserror = "2.0.18"
- wasmparser = "0.249.0"
- # The following dependencies are used for the client API and
- # probably shouldn't be in WASM
- darkfi = { path = "../../../", features = ["zk"], optional = true }
- tracing = { version = "0.1.44", optional = true }
- rand = { version = "0.8.6", optional = true }
- # These are used for integration tests
- [dev-dependencies]
- darkfi-contract-test-harness = {path = "../test-harness"}
- smol = "2.0.2"
- # 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"] }
- darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
- [features]
- default = []
- no-entrypoint = []
- client = [
- "darkfi",
- "darkfi-sdk/async",
- "darkfi-serial/async",
- "tracing",
- "rand",
- ]
- [lints]
- workspace = true
|