diff --git a/Cargo.lock b/Cargo.lock index e9377d0..046cfdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1017,6 +1017,7 @@ dependencies = [ "tokio", "toml", "url", + "uuid", "warp", ] @@ -1525,6 +1526,12 @@ dependencies = [ "opaque-debug", ] +[[package]] +name = "sha1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" + [[package]] name = "sha2" version = "0.9.5" @@ -2069,6 +2076,10 @@ name = "uuid" version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" +dependencies = [ + "getrandom 0.2.2", + "sha1", +] [[package]] name = "vcpkg" diff --git a/Cargo.toml b/Cargo.toml index 12ddaa4..b3da181 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,7 @@ toml = "^0.5" serde = { version = "^1.0", features = ["derive"] } tokio = { version = "^1.0", features = ["rt-multi-thread", "macros", "sync"] } url = "^2.2" +uuid = { version = "^0.8", features = ["v4", "v5"] } [features] default = ["sqlite"]