diff options
| author | A Farzat <a@farzat.xyz> | 2026-02-10 18:58:29 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-02-10 18:58:29 +0300 |
| commit | 2bf7a5ea9aa6eb5797ba224fcc2002425bc2d947 (patch) | |
| tree | ad3f180565fed5d3ef561ed367d7fd4a7ea98517 /Cargo.lock | |
| parent | 639ddf4b2e88bdc95a9e09eadea1be606327dea5 (diff) | |
| download | safaribooks-rs-2bf7a5ea9aa6eb5797ba224fcc2002425bc2d947.tar.gz safaribooks-rs-2bf7a5ea9aa6eb5797ba224fcc2002425bc2d947.zip | |
Add a cookies module
This parses the cookies found in the cookies.json file, making them
ready to be used in http requests.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 64 |
1 files changed, 64 insertions, 0 deletions
@@ -62,6 +62,12 @@ dependencies = [ ] [[package]] +name = "anyhow" +version = "1.0.101" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f0e0fee31ef5ed1ba1316088939cea399010ed7731dba877ed44aeb407a75ea" + +[[package]] name = "cfg-if" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -135,6 +141,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] +name = "itoa" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" + +[[package]] name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -227,13 +239,59 @@ checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" name = "safaribooks-rs" version = "0.1.0" dependencies = [ + "anyhow", "clap", "colored", + "serde", + "serde_json", "tracing", "tracing-subscriber", ] [[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] name = "sharded-slab" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -367,3 +425,9 @@ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ "windows-link", ] + +[[package]] +name = "zmij" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445" |
