mirror of
https://github.com/demostf/cutter.git
synced 2026-06-03 11:54:08 +02:00
wip
This commit is contained in:
parent
df7394a816
commit
1be42764ad
9 changed files with 7252 additions and 44 deletions
12
Cargo.toml
12
Cargo.toml
|
|
@ -7,11 +7,18 @@ edition = "2018"
|
|||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[[bin]]
|
||||
name = "cut"
|
||||
path = "src/cut.rs"
|
||||
|
||||
[features]
|
||||
default = ["console_error_panic_hook"]
|
||||
|
||||
[dependencies]
|
||||
bitbuffer = "0.10"
|
||||
tf-demo-parser = { version = "0.3", path = "../tf-demo-parser" }
|
||||
wasm-bindgen = "0.2.63"
|
||||
web-sys = { version = "0.3", features = ["console"] }
|
||||
|
||||
# The `console_error_panic_hook` crate provides better debugging of panics by
|
||||
# logging them with `console.error`. This is great for development, but requires
|
||||
|
|
@ -30,5 +37,6 @@ wee_alloc = { version = "0.4.5", optional = true }
|
|||
wasm-bindgen-test = "0.3.13"
|
||||
|
||||
[profile.release]
|
||||
# Tell `rustc` to optimize for small code size.
|
||||
opt-level = "s"
|
||||
|
||||
[profile.dev.overrides."*"]
|
||||
opt-level = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue