Cargo.toml 750 B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "cashu-js"
  3. version = "0.1.0"
  4. edition = "2021"
  5. description = "Cashu rust implementation, for JavaScript"
  6. authors = ["thesimplekid <tsk@thesimplekid.com>"]
  7. publish = false
  8. repository.workspace = true
  9. license.workspace = true
  10. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  11. [lib]
  12. crate-type = ["lib", "cdylib"]
  13. [dependencies]
  14. cashu = { path = "../../crates/cashu", features = ["nut08"] }
  15. js-sys = "0.3.64"
  16. serde-wasm-bindgen = "0.6.0"
  17. serde_json.workspace = true
  18. serde.workspace = true
  19. wasm-bindgen = { version = "0.2.87", features = ["serde-serialize"] }
  20. wasm-bindgen-futures = "0.4.37"
  21. console_error_panic_hook = "0.1"
  22. [package.metadata.wasm-pack.profile.release]
  23. wasm-opt = true