Removed some unused dependencies

main
Jef Roosens 2021-12-27 13:50:50 +01:00
parent ee15d86185
commit 3a2e8e42b8
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 2 additions and 69 deletions

59
Cargo.lock generated
View File

@ -11,18 +11,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "arrayref"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
[[package]]
name = "arrayvec"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
[[package]] [[package]]
name = "async-stream" name = "async-stream"
version = "0.3.2" version = "0.3.2"
@ -105,17 +93,6 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "blake2b_simd"
version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
dependencies = [
"arrayref",
"arrayvec",
"constant_time_eq",
]
[[package]] [[package]]
name = "block-buffer" name = "block-buffer"
version = "0.9.0" version = "0.9.0"
@ -175,12 +152,6 @@ version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f92cfa0fd5690b3cf8c1ef2cabbd9b7ef22fa53cf5e1f92b05103f6d5d1cf6e7" checksum = "f92cfa0fd5690b3cf8c1ef2cabbd9b7ef22fa53cf5e1f92b05103f6d5d1cf6e7"
[[package]]
name = "constant_time_eq"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
[[package]] [[package]]
name = "cookie" name = "cookie"
version = "0.15.1" version = "0.15.1"
@ -201,16 +172,6 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "crossbeam-utils"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
dependencies = [
"cfg-if",
"lazy_static",
]
[[package]] [[package]]
name = "crypto-mac" name = "crypto-mac"
version = "0.11.1" version = "0.11.1"
@ -982,7 +943,7 @@ dependencies = [
[[package]] [[package]]
name = "rb" name = "rb"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.rustybever.be/rusty-bever/common-rs.git#88e0990e00b249580cee607b2797478f9ba1b866" source = "git+https://git.rustybever.be/rusty-bever/common-rs.git?tag=0.1.0#b4ea396b36268279df55f3e4a500899f45a38687"
dependencies = [ dependencies = [
"base64", "base64",
"chrono", "chrono",
@ -1000,20 +961,14 @@ dependencies = [
name = "rb-blog" name = "rb-blog"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"base64",
"chrono", "chrono",
"diesel", "diesel",
"diesel_migrations", "diesel_migrations",
"figment", "figment",
"hmac",
"jwt",
"rand",
"rb", "rb",
"rocket", "rocket",
"rocket_sync_db_pools", "rocket_sync_db_pools",
"rust-argon2",
"serde", "serde",
"sha2",
"uuid", "uuid",
] ]
@ -1188,18 +1143,6 @@ dependencies = [
"quote", "quote",
] ]
[[package]]
name = "rust-argon2"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
dependencies = [
"base64",
"blake2b_simd",
"constant_time_eq",
"crossbeam-utils",
]
[[package]] [[package]]
name = "rustc_version" name = "rustc_version"
version = "0.2.3" version = "0.2.3"

View File

@ -14,7 +14,7 @@ path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
rb = { git = "https://git.rustybever.be/rusty-bever/common-rs.git" } rb = { git = "https://git.rustybever.be/rusty-bever/common-rs.git", tag = "0.1.0" }
# Backend web framework # Backend web framework
rocket = { version = "0.5.0-rc.1", features = [ "json", "uuid" ] } rocket = { version = "0.5.0-rc.1", features = [ "json", "uuid" ] }
# Used to provide Rocket routes with database connections # Used to provide Rocket routes with database connections
@ -24,18 +24,8 @@ serde = { version = "1.0.132", features = [ "derive" ] }
# ORM # ORM
diesel = { version = "1.4.8", features = ["postgres", "uuidv07", "chrono"] } diesel = { version = "1.4.8", features = ["postgres", "uuidv07", "chrono"] }
diesel_migrations = "1.4.0" diesel_migrations = "1.4.0"
# For password hashing & verification
rust-argon2 = "0.8.3"
rand = "0.8.4"
uuid = { version = "0.8.2", features = ["serde"] } uuid = { version = "0.8.2", features = ["serde"] }
# Authentification
jwt = "0.15.0"
hmac = "*"
sha2 = "*"
# Timestamps for JWT tokens
chrono = { version = "*", features = [ "serde" ] } chrono = { version = "*", features = [ "serde" ] }
# Encoding of refresh tokens
base64 = "0.13.0"
# Reading in configuration files # Reading in configuration files
figment = { version = "*", features = [ "yaml" ] } figment = { version = "*", features = [ "yaml" ] }