Skip to content

Commit

Permalink
Merge pull request #314 from ducaale/cookies-as-list-in-session
Browse files Browse the repository at this point in the history
Support persisting cookies from multiple domains
  • Loading branch information
ducaale committed Sep 10, 2023
2 parents 06a61a0 + cc2b406 commit 5faa662
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 286 deletions.
200 changes: 21 additions & 179 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ brotli = { version = "3.3.0", default-features = false, features = ["std"] }
chardetng = "0.1.15"
clap = { version = "4.0", features = ["derive", "wrap_help", "string"] }
clap_complete = { version = "4.0", optional = true }
cookie_crate = { version = "0.15", package = "cookie" }
cookie_store = { version = "0.15.0" }
cookie_store = { version = "0.20.0", features = ["preserve_order"] }
digest_auth = "0.3.0"
dirs = "3.0.1"
encoding_rs = "0.8.28"
Expand All @@ -46,7 +45,7 @@ serde = "1.0"
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_urlencoded = "0.7.0"
termcolor = "1.1.2"
time = "0.2.26"
time = "0.3.16"
unicode-width = "0.1.9"
url = "2.2.2"

Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ fn generate_manpages(mut app: clap::Command, rest_args: Vec<String>) -> clap::er
let mut manpage = fs::read_to_string(format!("{}/man-template.roff", rest_args[0])).unwrap();

let current_date = {
let (year, month, day) = DateTime::now_utc().date().as_ymd();
let (year, month, day) = DateTime::now_utc().date().to_calendar_date();
format!("{}-{:02}-{:02}", year, month, day)
};

Expand Down
Loading

0 comments on commit 5faa662

Please sign in to comment.