This commit is contained in:
Robin Appelman 2021-07-28 22:49:00 +02:00
commit 1be42764ad
9 changed files with 7252 additions and 44 deletions

View file

@ -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