aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-02-11 11:13:36 +0300
committerA Farzat <a@farzat.xyz>2026-02-11 11:13:36 +0300
commit2d9314aa3145ec7948341f38164e13c2a2d945ad (patch)
tree29f69a0b89983fbeb2f0227698aab9dd884d9a54 /Cargo.toml
parent3321918c009e9d7a7a3c3c2a1f490bb91fefb2bc (diff)
downloadsafaribooks-rs-2d9314aa3145ec7948341f38164e13c2a2d945ad.tar.gz
safaribooks-rs-2d9314aa3145ec7948341f38164e13c2a2d945ad.zip
Add a login check
Try to access the profile page to see if the cookies work or not.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index dc2f515..42e52da 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,5 +10,6 @@ colored = "3.1"
reqwest = { version = "0.13", default-features = false, features = ["rustls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
+tokio = { version = "1.49", features = ["rt-multi-thread", "macros"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }