Cargo.toml 972 B

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. name = "cashu-sdk-js"
  3. version = "0.1.0"
  4. authors = ["thesimplekid <tsk@thesimplekid.com>"]
  5. edition = "2021"
  6. publish = false
  7. repository.workspace = true
  8. license.workspace = true
  9. [lib]
  10. crate-type = ["cdylib", "rlib"]
  11. [features]
  12. default = ["console_error_panic_hook"]
  13. [dependencies]
  14. cashu-sdk = { path = "../../crates/cashu-sdk" }
  15. cashu-js = { path = "../cashu-js" }
  16. wasm-bindgen = "0.2.84"
  17. js-sys = "0.3.64"
  18. serde-wasm-bindgen = "0.6.0"
  19. serde_json.workspace = true
  20. serde.workspace = true
  21. wasm-bindgen-futures = "0.4.37"
  22. # The `console_error_panic_hook` crate provides better debugging of panics by
  23. # logging them with `console.error`. This is great for development, but requires
  24. # all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
  25. # code size when deploying.
  26. console_error_panic_hook = { version = "0.1.7", optional = true }
  27. [dev-dependencies]
  28. wasm-bindgen-test = "0.3.34"
  29. [package.metadata.wasm-pack.profile.release]
  30. wasm-opt = true