Skip to content

Commit

Permalink
chore: update Rust crates
Browse files Browse the repository at this point in the history
  • Loading branch information
pastelmind committed Mar 20, 2023
1 parent 2933d5b commit 2bda2cc
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 47 deletions.
82 changes: 41 additions & 41 deletions packages/decoder/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/decoder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,34 @@ version = "0.1.0"
[lib]
crate-type = [
"cdylib",
"rlib", # rlib is needed only for running `wasm-pack test`
"rlib", # rlib is needed only for running `wasm-pack test`
]

[features]
default = ["console_error_panic_hook"]

[dependencies]
wasm-bindgen = "0.2.80"
wasm-bindgen = "0.2.84"

# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = {version = "0.1.7", optional = true}
console_error_panic_hook = { version = "0.1.7", optional = true }

# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
# compared to the default allocator's ~10K. It is slower than the default
# allocator, however.
#
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
wee_alloc = {version = "0.4.5", optional = true}
wee_alloc = { version = "0.4.5", optional = true }

# The `web-sys` crate allows you to interact with the various browser APIs,
# like the DOM.
web-sys = {version = "0.3.57", features = ["console"]}
web-sys = { version = "0.3.61", features = ["console"] }

[dev-dependencies]
wasm-bindgen-test = "0.3.30"
wasm-bindgen-test = "0.3.34"

[profile.release]
# This makes the compiled code faster and smaller, but it makes compiling slower,
Expand Down

0 comments on commit 2bda2cc

Please sign in to comment.