Generate colour themes for Emacs
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.3KB

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