diff options
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..edd775f --- /dev/null +++ b/Cargo.toml | |||
@@ -0,0 +1,26 @@ | |||
1 | [package] | ||
2 | name = "cstea" | ||
3 | version = "0.1.0" | ||
4 | authors = ["Akshay <[email protected]>"] | ||
5 | edition = "2018" | ||
6 | |||
7 | [lib] | ||
8 | crate-type = ["cdylib", "rlib"] | ||
9 | |||
10 | [features] | ||
11 | default = ["console_error_panic_hook", "wee_alloc"] | ||
12 | |||
13 | [dependencies] | ||
14 | wasm-bindgen = "0.2.63" | ||
15 | rnix = "0.9.0" | ||
16 | console_error_panic_hook = { version = "0.1.6", optional = true } | ||
17 | wee_alloc = { version = "0.4.5", optional = true } | ||
18 | js-sys = "0.3.51" | ||
19 | |||
20 | [dev-dependencies] | ||
21 | wasm-bindgen-test = "0.3.13" | ||
22 | |||
23 | [profile.release] | ||
24 | # Tell `rustc` to optimize for small code size. | ||
25 | opt-level = "z" | ||
26 | lto = true | ||