Cargo.toml 695 B

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "darkfi_dummy_contract"
  3. version = "0.4.1"
  4. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  5. license = "AGPL-3.0-only"
  6. edition = "2021"
  7. [lib]
  8. crate-type = ["cdylib", "rlib"]
  9. [dependencies]
  10. darkfi-sdk = {path = "../../src/sdk"}
  11. # We need to disable random using "custom" which makes the crate a noop
  12. # so the wasm32-unknown-unknown target is enabled.
  13. [target.'cfg(target_arch = "wasm32")'.dependencies]
  14. getrandom = { version = "0.2.8", features = ["custom"] }
  15. [dev-dependencies]
  16. sled = "0.34.7"
  17. darkfi = {path = "../../", features = ["wasm-runtime"]}
  18. simplelog = "0.12.1"
  19. [[example]]
  20. name = "runtime"
  21. path = "src/runtime.rs"
  22. [features]
  23. default = []
  24. no-entrypoint = []