Update dependencies
This commit is contained in:
parent
7047be5ff1
commit
c73af50857
6 changed files with 245 additions and 247 deletions
476
Cargo.lock
generated
476
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -24,7 +24,7 @@ url = "2"
|
|||
argon2 = "0.3.1"
|
||||
|
||||
# Wasm features
|
||||
gloo-console = { version = "0.1", optional = true }
|
||||
gloo-console = { version = "0.2", optional = true }
|
||||
http = { version = "0.2", optional = true }
|
||||
web-sys = { version = "0.3", features = ["Headers"], optional = true }
|
||||
|
||||
|
|
|
@ -207,7 +207,8 @@ macro_rules! expiration_from_str {
|
|||
}
|
||||
|
||||
impl Expiration {
|
||||
pub fn variants() -> &'static [&'static str] {
|
||||
#[must_use]
|
||||
pub const fn variants() -> &'static [&'static str] {
|
||||
&[
|
||||
$($str_repr,)*
|
||||
]
|
||||
|
|
|
@ -20,11 +20,11 @@ headers = "*"
|
|||
lazy_static = "1"
|
||||
# Disable `random()` and `thread_rng()`
|
||||
rand = { version = "0.8", default_features = false }
|
||||
rocksdb = { version = "0.17", default_features = false, features = ["zstd"] }
|
||||
rocksdb = { version = "0.18", default_features = false, features = ["zstd"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
signal-hook = "0.3"
|
||||
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
tower-http = { version = "0.1", features = ["fs"] }
|
||||
tower-http = { version = "0.2", features = ["fs"] }
|
||||
tracing = { version = "0.1" }
|
||||
tracing-subscriber = "0.2"
|
||||
tracing-subscriber = "0.3"
|
|
@ -15,11 +15,11 @@ anyhow = "1"
|
|||
bytes = "1"
|
||||
byte-unit = "4"
|
||||
console_error_panic_hook = "0.1"
|
||||
gloo-console = "0.1"
|
||||
gloo-console = "0.2"
|
||||
http = "0.2"
|
||||
js-sys = "0.3"
|
||||
mime_guess = "2"
|
||||
reqwasm = "0.2"
|
||||
reqwasm = "0.4"
|
||||
tree_magic_mini = { version = "3", features = ["with-gpl-data"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
wasm-bindgen = { version = "0.2", features = ["serde-serialize"]}
|
||||
|
|
|
@ -70,6 +70,7 @@ fn open_idb() -> Result<IdbOpenDbRequest> {
|
|||
}
|
||||
|
||||
#[wasm_bindgen]
|
||||
#[allow(clippy::missing_panics_doc)]
|
||||
pub fn start() {
|
||||
std::panic::set_hook(Box::new(console_error_panic_hook::hook));
|
||||
|
||||
|
|
Loading…
Reference in a new issue