Cargo.toml 570 B

12345678910111213141516171819202122
  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. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  9. [lib]
  10. crate-type = ["lib", "cdylib"]
  11. [dependencies]
  12. cashu = { path = "../../crates/cashu"}
  13. js-sys = "0.3.64"
  14. serde-wasm-bindgen = "0.6.0"
  15. serde_json.workspace = true
  16. wasm-bindgen = "0.2.87"
  17. wasm-bindgen-futures = "0.4.37"
  18. [package.metadata.wasm-pack.profile.release]
  19. wasm-opt = true