diff --git a/Cargo.lock b/Cargo.lock index 8653c9b..3cfb2f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1840,7 +1840,7 @@ dependencies = [ "futures-util", "icalendar", "reqwest", - "time", + "tokio", "tracing", "tracing-subscriber", "tracing-web", @@ -1973,7 +1973,6 @@ checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", "itoa", - "js-sys", "num-conv", "powerfmt", "serde", @@ -2019,9 +2018,21 @@ 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 be30c99..866463d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,9 +10,11 @@ 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 35169b0..023da45 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,7 +131,7 @@ impl Component for Meetings { } } else { -
{ "fetching" }
+{ "fetching"}
} } }