diff --git a/Cargo.lock b/Cargo.lock index 3cfb2f0..8653c9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1840,7 +1840,7 @@ dependencies = [ "futures-util", "icalendar", "reqwest", - "tokio", + "time", "tracing", "tracing-subscriber", "tracing-web", @@ -1973,6 +1973,7 @@ checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", "itoa", + "js-sys", "num-conv", "powerfmt", "serde", @@ -2018,21 +2019,9 @@ dependencies = [ "mio", "pin-project-lite", "socket2", - "tokio-macros", "windows-sys 0.52.0", ] -[[package]] -name = "tokio-macros" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.100", -] - [[package]] name = "tokio-native-tls" version = "0.3.1" diff --git a/Cargo.toml b/Cargo.toml index 866463d..be30c99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,11 +10,9 @@ console_error_panic_hook = "0.1.7" futures-util = "0.3.31" icalendar = { version = "0.16.1", features = ["chrono-tz"] } reqwest = "0.12.4" +time = { version = "0.3.41", features = ["wasm-bindgen"] } tracing = "0.1.41" tracing-subscriber = { version = "0.3.19", features = ["time"] } tracing-web = "0.1.3" wasm-bindgen = "0.2.100" yew = { version = "0.21.0", features = ["csr"] } - -[dev-dependencies] -tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] } diff --git a/src/main.rs b/src/main.rs index 023da45..35169b0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,7 +131,7 @@ impl Component for Meetings { } } else { -

{ "fetching"}

+

{ "fetching" }

} } }