Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "cdk"
  3. version = "0.1.0"
  4. edition = "2021"
  5. authors = ["thesimplekid"]
  6. homepage.workspace = true
  7. repository.workspace = true
  8. rust-version.workspace = true # MSRV
  9. license.workspace = true
  10. [features]
  11. default = ["mint", "wallet", "all-nuts", "redb"]
  12. mint = ["cashu/mint"]
  13. wallet = ["cashu/wallet", "dep:minreq"]
  14. gloo = ["dep:gloo"]
  15. all-nuts = ["nut13"]
  16. nut13 = ["cashu/nut13"]
  17. redb = ["dep:redb"]
  18. [dependencies]
  19. bip39 = "2.0.0"
  20. cashu = { path = "../cashu" }
  21. serde = { workspace = true }
  22. serde_json = { workspace = true }
  23. url = { workspace = true }
  24. tracing = { workspace = true }
  25. thiserror = { workspace = true }
  26. async-trait = "0.1.74"
  27. gloo = { version = "0.11.0", optional = true, features = ["net"] }
  28. http = "1.0.0"
  29. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  30. tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] }
  31. minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] }
  32. redb = { version = "2.0.0", optional = true }
  33. [target.'cfg(target_arch = "wasm32")'.dependencies]
  34. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  35. getrandom = { workspace = true }