mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
31 lines
679 B
TOML
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"
|
|
|