No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Cargo.toml 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "client"
  3. version = "4.1.0"
  4. authors = ["Inderjit Gill <email@indy.io>"]
  5. edition = "2018"
  6. [lib]
  7. crate-type = ["cdylib", "rlib"]
  8. [features]
  9. default = ["console_log", "console_error_panic_hook"]
  10. [dependencies]
  11. cfg-if = "0.1.2"
  12. wasm-bindgen = "0.2"
  13. core = { path = "../core" }
  14. log = "0.4"
  15. console_log = { version = "0.1", optional = true }
  16. # The `console_error_panic_hook` crate provides better debugging of panics by
  17. # logging them with `console.error`. This is great for development, but requires
  18. # all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
  19. # code size when deploying.
  20. console_error_panic_hook = { version = "0.1.1", optional = true }
  21. # `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
  22. # compared to the default allocator's ~10K. It is slower than the default
  23. # allocator, however.
  24. #
  25. # Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
  26. wee_alloc = { version = "0.4.2", optional = true }
  27. [dev-dependencies]
  28. wasm-bindgen-test = "0.2"
  29. [profile.release]
  30. # Include function names in the `.wasm` for better debugging and
  31. # profiling. Comment this out if you're trying to create the smallest `.wasm`
  32. # binaries you can.
  33. debug = false
  34. # # Uncomment these lines to create smaller `.wasm` binaries, at the cost of
  35. # # longer compile times.
  36. codegen-units = 1
  37. incremental = false
  38. lto = true
  39. opt-level = "z"