Skip to content

Commit d14663f

Browse files
committed
chore: Replace Hmac with FlashMessage
1 parent fd2a74f commit d14663f

File tree

9 files changed

+286
-110
lines changed

9 files changed

+286
-110
lines changed

Diff for: Cargo.lock

+167-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ name = "robust-rust"
1414

1515
[dependencies]
1616
actix-web = "4"
17+
actix-web-flash-messages = { version = "0.3", features = ["cookies"] }
1718
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
1819
serde = {version = "1.0.163", features = ["derive"]}
1920
serde-aux = "4.2.0"
@@ -29,16 +30,13 @@ tracing-actix-web = "0.5"
2930
sqlx = { version = "0.6", default-features = false, features = ["runtime-actix-rustls", "macros", "postgres", "uuid", "chrono", "migrate", "offline"] }
3031
unicode-segmentation = "1"
3132
validator = "0.16.0"
32-
reqwest = { version = "0.11.18", default-features = false, features = ["json", "rustls-tls"] }
33+
reqwest = { version = "0.11.18", default-features = false, features = ["json", "rustls-tls", "cookies"] }
3334
rand = { version = "0.8", features = ["std_rng"] }
3435
thiserror = "1"
3536
anyhow = "1"
3637
argon2 = { version = "0.3", features = ["std"] }
3738
urlencoding = "2"
3839
htmlescape = "0.3"
39-
hmac = { version = "0.12", features = ["std"] }
40-
sha2 = "0.10"
41-
hex = "0.4"
4240
base64 = "0.21.0"
4341

4442
[dev-dependencies]

0 commit comments

Comments
 (0)