diff --git a/Cargo.lock b/Cargo.lock index 2a0aab7..8015c63 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -483,7 +483,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ffa00dec017b5b1a8b7cf5e2c008bfda1aa7e0697ac1508b491fdf2622fb4d8" dependencies = [ - "rand 0.8.4", + "rand 0.8.5", ] [[package]] @@ -632,19 +632,18 @@ dependencies = [ "libc", "rand_chacha 0.2.2", "rand_core 0.5.1", - "rand_hc 0.2.0", + "rand_hc", ] [[package]] name = "rand" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.3", - "rand_hc 0.3.1", ] [[package]] @@ -694,15 +693,6 @@ dependencies = [ "rand_core 0.5.1", ] -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core 0.6.3", -] - [[package]] name = "redox_syscall" version = "0.2.10" @@ -851,7 +841,7 @@ checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" dependencies = [ "cfg-if", "libc", - "rand 0.8.4", + "rand 0.8.5", "redox_syscall", "remove_dir_all", "winapi", @@ -987,7 +977,7 @@ dependencies = [ "httparse", "input_buffer", "log", - "rand 0.8.4", + "rand 0.8.5", "sha-1", "url", "utf-8", @@ -1119,8 +1109,10 @@ version = "0.1.0" dependencies = [ "futures", "futures-util", + "lazy_static", "nanoid", "once_cell", + "rand 0.8.5", "serde", "serde_json", "tokio", diff --git a/Cargo.toml b/Cargo.toml index 611c036..3564412 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,17 @@ -[package] -name = "watch-party" -version = "0.1.0" -edition = "2021" - -[dependencies] -futures = "0.3.17" -futures-util = "0.3.17" -once_cell = "1.8.0" -serde = { version = "1.0.130", features = ["derive"] } -serde_json = "1.0.68" -tokio = { version = "1.12.0", features = ["full"] } -tokio-stream = { version = "0.1.7", features = ["fs"] } -warp = "0.3.1" -nanoid = "0.4.0" \ No newline at end of file +[package] +name = "watch-party" +version = "0.1.0" +edition = "2021" + +[dependencies] +futures = "0.3.17" +futures-util = "0.3.17" +once_cell = "1.8.0" +serde = { version = "1.0.130", features = ["derive"] } +serde_json = "1.0.68" +tokio = { version = "1.12.0", features = ["full"] } +tokio-stream = { version = "0.1.7", features = ["fs"] } +warp = "0.3.1" +nanoid = "0.4.0" +lazy_static = "1.4.0" +rand = "0.8.5" diff --git a/frontend/create.html b/frontend/create.html index bd5d16c..0ac19fb 100644 --- a/frontend/create.html +++ b/frontend/create.html @@ -3,7 +3,7 @@
@@ -47,6 +55,6 @@ - +