Files
darkfi/example/smart-contract/Cargo.toml
2022-10-25 10:45:28 +00:00

31 lines
679 B
TOML

[package]
name = "smart-contract"
version = "0.3.0"
authors = ["darkfi <dev@dark.fi>"]
license = "AGPL-3.0-only"
edition = "2021"
[workspace]
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
lto = true
codegen-units = 1
overflow-checks = true
[dependencies]
darkfi-sdk = { path = "../../src/sdk" }
#darkfi = { path = "../../", features = [] }
darkfi-serial = { path = "../../src/serial" }
# We need to disable random using "custom" which makes the crate a noop
# so the wasm32-unknown-unknown target is enabled.
getrandom = { version = "0.2", features = ["custom"] }
[dev-dependencies]
darkfi = { path = "../../", features = ["wasm-runtime"] }
simplelog = "0.12.0"