-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
32 lines (28 loc) · 954 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "colorgrad"
version = "0.1.0"
authors = ["Nor Khasyatillah <[email protected]>"]
edition = "2021"
description = "High-performance Javascript color gradient library, powered by Rust + WebAssembly."
readme = "README.md"
repository = "https://github.com/mazznoer/colorgrad-js"
license = "MIT OR Apache-2.0"
publish = false
keywords = [
"color", "colour", "colormap", "color gradient", "color scale",
"gradient", "graphic", "plot", "visualization", "WebAssembly", "wasm"
]
[lib]
crate-type = ["cdylib"]
[features]
default = ["named-colors", "console_error_panic_hook"]
named-colors = ["colorgrad/named-colors"]
[dependencies]
colorgrad = { git = "https://github.com/mazznoer/colorgrad-rs", default-features = false }
console_error_panic_hook = { version = "0.1.1", optional = true }
js-sys = "0.3.58"
wasm-bindgen = { version = "0.2.81", features = ["serde-serialize"] }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1