Compare commits

..

50 Commits

Author SHA1 Message Date
00ae093958 Merge pull request 'Update Rust crate reqwest to v0.12.24' (#141) from renovate/reqwest-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-14 00:37:48 +00:00
0dc185059f Update Rust crate reqwest to v0.12.24
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-10-14 00:37:43 +00:00
8a17ca3f42 Merge pull request 'Update Rust crate serde to v1.0.228' (#140) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-28 00:34:58 +00:00
2afb24c4ac Update Rust crate serde to v1.0.228
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-28 00:34:51 +00:00
d0f973a26d Merge pull request 'Update Rust crate serde to v1.0.227' (#139) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-26 00:35:02 +00:00
556b5aab7d Update Rust crate serde to v1.0.227
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-26 00:34:55 +00:00
380a033e30 Merge pull request 'Update Rust crate serde to v1.0.226' (#138) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-21 00:40:02 +00:00
6f6b4e7e1e Update Rust crate serde to v1.0.226
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-21 00:39:56 +00:00
7a5af8d60c Merge pull request 'Update Rust crate serde to v1.0.225' (#137) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-17 00:35:12 +00:00
2a0f757fee Update Rust crate serde to v1.0.225
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-17 00:35:06 +00:00
e0ff7b1b21 Merge pull request 'Update Rust crate serde to v1.0.224' (#136) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-16 00:35:12 +00:00
8aaee8da13 Update Rust crate serde to v1.0.224
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-16 00:35:06 +00:00
6403d238a5 Merge pull request 'Update Rust crate serde_json to v1.0.145' (#135) from renovate/serde_json-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-15 00:35:41 +00:00
31cd9d5a21 Merge pull request 'Update Rust crate serde to v1.0.223' (#134) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-15 00:35:38 +00:00
20646f0627 Update Rust crate serde_json to v1.0.145
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-15 00:35:37 +00:00
85a8bb01e8 Update Rust crate serde to v1.0.223
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-15 00:35:32 +00:00
d3d4e3d236 Merge pull request 'Update Rust crate serde_json to v1.0.144' (#133) from renovate/serde_json-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-14 00:36:01 +00:00
8f757bcdef Merge pull request 'Update Rust crate serde to v1.0.221' (#132) from renovate/serde-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-14 00:35:56 +00:00
eabff0a4aa Update Rust crate serde_json to v1.0.144
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-14 00:35:56 +00:00
86859119ae Update Rust crate serde to v1.0.221
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-14 00:35:51 +00:00
3fe2238be0 Merge pull request 'Update Rust crate log to v0.4.28' (#131) from renovate/log-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-04 00:28:21 +00:00
b94ffeb570 Update Rust crate log to v0.4.28
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-09-04 00:28:16 +00:00
e91701159a Merge pull request 'Update Rust crate serde_json to v1.0.143' (#130) from renovate/serde_json-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-20 00:27:16 +00:00
491d845e30 Update Rust crate serde_json to v1.0.143
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-08-20 00:27:12 +00:00
7c37d2e129 Merge pull request 'Update Rust crate reqwest to v0.12.23' (#129) from renovate/reqwest-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-13 00:27:19 +00:00
dd5c4f35cf Update Rust crate reqwest to v0.12.23
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-08-13 00:27:15 +00:00
d7aebe76cc Merge pull request 'Update Rust crate serde_json to v1.0.142' (#128) from renovate/serde_json-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-01 00:18:17 +00:00
72f99fbd7c Update Rust crate serde_json to v1.0.142
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-08-01 00:18:12 +00:00
932239bfa0 Merge pull request 'Update Rust crate rand to v0.9.2' (#127) from renovate/rand-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-21 00:15:44 +00:00
396467ca05 Update Rust crate rand to v0.9.2
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2025-07-21 00:15:42 +00:00
73d3576c1a Merge pull request 'Update Rust crate serde_json to v1.0.141' (#126) from renovate/serde_json-1.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-19 00:15:59 +00:00
41aff54fd8 Update Rust crate serde_json to v1.0.141
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2025-07-19 00:15:57 +00:00
faadf35cc5 Update Rust crate reqwest to v0.12.22
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-07-04 00:08:51 +00:00
a1f3152474 Fix cargo clippy issues
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-03 08:22:55 +02:00
c394d29fee Update Rust crate reqwest to v0.12.20
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-06-11 00:21:56 +00:00
9711754ff3 Update Rust crate reqwest to v0.12.19
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-06-04 00:21:27 +00:00
240dfcc091 Fix cargo clippy issue
All checks were successful
continuous-integration/drone/push Build is passing
2025-06-03 20:37:37 +02:00
3e8099a2b9 Update Rust crate rand to v0.9.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-18 00:27:11 +00:00
dfb2b622b8 Update renovate.json
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-29 13:01:09 +00:00
8fcbd84aa9 Merge pull request 'Update Rust crate log to v0.4.27' (#121) from renovate/log-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #121
2025-03-28 15:50:54 +00:00
762767b13f Update Rust crate log to v0.4.27
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-03-25 00:24:02 +00:00
e5c75e6b3c Merge pull request 'Update Rust crate reqwest to v0.12.15' (#120) from renovate/reqwest-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #120
2025-03-20 19:55:50 +00:00
c5a2c2977d Update Rust crate reqwest to v0.12.15
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-03-19 00:32:28 +00:00
69728f2911 Release v1.0.4
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-12 19:23:53 +01:00
c36fe85900 Update all dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-12 19:22:57 +01:00
0adf15991e Merge pull request 'Update Rust crate reqwest to v0.12.13' (#119) from renovate/reqwest-0.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #119
2025-03-12 18:21:35 +00:00
1733737bfe Update Rust crate reqwest to v0.12.13
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-03-12 00:19:29 +00:00
6c1ba8cadf Merge pull request 'Update Rust crate bincode to v2.0.1' (#118) from renovate/bincode-2.x-lockfile into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #118
2025-03-11 13:13:30 +00:00
09ac30d9d3 Update Rust crate bincode to v2.0.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-03-11 00:19:17 +00:00
666e4df395 Update Rust crate bincode to v2.0.0 (#115)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bincode](https://github.com/bincode-org/bincode) | dependencies | patch | `2.0.0-rc.3` -> `2.0.0` |

---

### Release Notes

<details>
<summary>bincode-org/bincode (bincode)</summary>

### [`v2.0.0`](https://github.com/bincode-org/bincode/releases/tag/v2.0.0)

[Compare Source](https://github.com/bincode-org/bincode/compare/v2.0.0-rc.3...v2.0.0)

Stable! Finally! After 4 years in development! Many changes have made it in since rc.3, including (unfortunately) some last minute breaking changes. But documentation has been cleaned up to a point where we finally feel comfortable committing to things as they are.

If you haven't been following along with the 2.0 changes here is a brief overview

-   Completely rewritten API decoupled from serde
-   `no_std` support
-   Official format specification
-   Default configuration changes
-   Increase MSRV to 1.85.0

#### What's Changed since 1.3.1

-   Fix `WithOtherTrailing` and `WithOtherIntEncoding` by [@&#8203;luben](https://github.com/luben) in https://github.com/bincode-org/bincode/pull/342
-   Update docs to highlight differences between DefaultOptions and fns by [@&#8203;apgoetz](https://github.com/apgoetz) in https://github.com/bincode-org/bincode/pull/373
-   Address questions regarding suitability for storage and untrusted inputs by [@&#8203;mbr](https://github.com/mbr) in https://github.com/bincode-org/bincode/pull/346
-   Fixed a stray comment. by [@&#8203;manuthambi](https://github.com/manuthambi) in https://github.com/bincode-org/bincode/pull/360
-   update CI to new branching scheme by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/376
-   clarify msrv support by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/375
-   fix linting ci error by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/377
-   prep branch for 2.0 work by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/379
-   Update URLs and some cleanups by [@&#8203;atouchet](https://github.com/atouchet) in https://github.com/bincode-org/bincode/pull/383
-   fix typo by [@&#8203;ehooi](https://github.com/ehooi) in https://github.com/bincode-org/bincode/pull/392
-   Edit version badge link by [@&#8203;atouchet](https://github.com/atouchet) in https://github.com/bincode-org/bincode/pull/389
-   Optimize varint parsing by [@&#8203;saethlin](https://github.com/saethlin) in https://github.com/bincode-org/bincode/pull/337
-   Fix CI on trunk by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/408
-   Update logo by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/407
-   Make bincode_derive 0 dependencies by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/409
-   Config rewrite by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/412
-   Reintroduce varint optimizations by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/414
-   Feature/deserde by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/413
-   Updated readme.md and added a test for the examples by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/417
-   Update authors to reflect current code state by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/418
-   Add necessary metadata to bincode_derive by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/420
-   Replace test-all-features with a manual CI matrix by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/419
-   Made the zigzag encoding examples compile and run by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/421
-   Fix some typos by [@&#8203;Seppel3210](https://github.com/Seppel3210) in https://github.com/bincode-org/bincode/pull/423
-   Generate qualified Result type in derive by [@&#8203;andrenth](https://github.com/andrenth) in https://github.com/bincode-org/bincode/pull/430
-   Fixes for 427 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/428
-   split off BorrowDecode from Decode in bincode_derive by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/432
-   functions to enable encoding/decoding serde types by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/422
-   Allow serde types to be Decode/Encoded by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/434
-   Release 2.0.0-alpha.1 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/435
-   Added Decode/Encode for HashMap\<K, V> by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/438
-   Added test case for a borrowed str by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/441
-   Fixed clippy warnings by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/447
-   Impl BorrowDecode for Option<&\[u8]> and Option<\&str> by [@&#8203;songzhi](https://github.com/songzhi) in https://github.com/bincode-org/bincode/pull/446
-   Feature/config limit by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/439
-   \[Breaking change] Made all `decode_from_slice` also return the number of bytes read by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/445
-   Extract virtue by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/443
-   Made the CI also check the benchmarks, fixed compile issue in benchmarks by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/449
-   Made the derive macros automatically implement the required traits on generic arguments by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/454
-   Release v2.0.0-alpha.2 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/455
-   feat: Make `Configuration` functions `const` by [@&#8203;Popog](https://github.com/Popog) in https://github.com/bincode-org/bincode/pull/456
-   Fix failed varint bench by [@&#8203;ygf11](https://github.com/ygf11) in https://github.com/bincode-org/bincode/pull/457
-   Updated readme, added a paragraph on why we don't support #\[repr(u8)] by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/461
-   Bump virtue 0.0.4 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/463
-   Fixed derive impl on an empty enum by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/462
-   Release v2.0.0-beta.0 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/464
-   Fix overflow error when deserializing invalid Duration by [@&#8203;5225225](https://github.com/5225225) in https://github.com/bincode-org/bincode/pull/465
-   Fix panic with invalid system time by [@&#8203;5225225](https://github.com/5225225) in https://github.com/bincode-org/bincode/pull/469
-   Add fuzzing harness, try to decode into various types by [@&#8203;5225225](https://github.com/5225225) in https://github.com/bincode-org/bincode/pull/468
-   Switched Decode and BorrowDecode to take \&mut D by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/470
-   Switch Encode to take \&mut E by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/471
-   Implemented the newly stabilized CString::from_vec_with_nul method by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/473
-   Made SerdeDecoder attempt to allocate memory before complaining by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/475
-   Update documentation by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/480
-   Moved Configuration::standard() and ::legacy() to the config module by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/481
-   Feature/improve serde by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/477
-   made the serde functions consistent with the base bincode functions by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/483
-   Migration guide by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/482
-   Release v2.0.0-beta.1 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/484
-   Run code coverage on all features by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/485
-   Added #\[serde(untagged)] to the documentation of attributes that don't work by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/486
-   Fixed an error in bincode derive where it would implement the wrong trait if a generic parameter is present by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/487
-   Release v2.0.0-beta.2 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/488
-   Added a table to the documentation to pick which functions to use by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/490
-   Fix a bunch of typos by [@&#8203;poljar](https://github.com/poljar) in https://github.com/bincode-org/bincode/pull/492
-   Return an error if a decoded slice length doesn't fit into usize by [@&#8203;poljar](https://github.com/poljar) in https://github.com/bincode-org/bincode/pull/491
-   Updated to virtue 0.0.6, added #\[bincode(crate = other)] attribute by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/494
-   Bumped dependency of virtue to 0.0.7 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/495
-   Bincode 1 compatibility framework by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/489
-   Added documentation on how to add compatibility tests by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/497
-   Made the compatibility check also include bincode 2 serde, and added comments by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/501
-   Fix CString compatibility with bincode v1 by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/502
-   Fuzz for compatibility with bincode v1 by [@&#8203;5225225](https://github.com/5225225) in https://github.com/bincode-org/bincode/pull/498
-   Fix/issue 500 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/503
-   Add Membership test by [@&#8203;ppamorim](https://github.com/ppamorim) in https://github.com/bincode-org/bincode/pull/500
-   Release v2.0.0-beta.3 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/505
-   Reference implementations for Reader and Writer by [@&#8203;BRA1L0R](https://github.com/BRA1L0R) in https://github.com/bincode-org/bincode/pull/507
-   Made config::standard() implement .write_fixed_array_header() by default by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/509
-   Added HashSet by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/516
-   Made the compat fuzzer ignore any LimitExceeded error by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/515
-   Release 2.0.0-rc.1 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/510
-   Add zoxide under Bincode in the Wild by [@&#8203;ajeetdsouza](https://github.com/ajeetdsouza) in https://github.com/bincode-org/bincode/pull/525
-   Made the Cow Encode constraints more permissive by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/524
-   Added `additional` to the `UnexpectedEnd` decode error by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/522
-   Allow encoding/decoding of HashMap and HashSet with custom hash algorithms by [@&#8203;bronsonp](https://github.com/bronsonp) in https://github.com/bincode-org/bincode/pull/529
-   Added `std::error::Error::source` by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/530
-   Added cross platform tests workflow by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/534
-   Fix riscv32 atomics and fix tests on 32-bit platforms by [@&#8203;xobs](https://github.com/xobs) in https://github.com/bincode-org/bincode/pull/533
-   Fix cross platform tests by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/540
-   Switched to weak dependencies by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/538
-   Fix tuple struct encoding in serde by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/549
-   Rewrite: seperated Decode and BorrowDecode by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/526
-   Add impl Encode for \[T], where T: Encode by [@&#8203;cronokirby](https://github.com/cronokirby) in https://github.com/bincode-org/bincode/pull/542
-   Add impls for Rc<\[T]> and Arc<\[T]> by [@&#8203;maciejhirsz](https://github.com/maciejhirsz) in https://github.com/bincode-org/bincode/pull/552
-   Shrink `DecodeError` from 48 to 32 bytes on 64-bit arch by [@&#8203;maciejhirsz](https://github.com/maciejhirsz) in https://github.com/bincode-org/bincode/pull/553
-   Added windows and macos runner by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/554
-   Implement `Decode` for `Box<str>` by [@&#8203;SabrinaJewson](https://github.com/SabrinaJewson) in https://github.com/bincode-org/bincode/pull/562
-   Fixed clippy warning and updated DecodeError by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/574
-   Updated test dependencies: uuid and glam by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/576
-   Made `peek_read` take `&mut self` by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/572
-   Prefixed the E and D generic argument in bincode-derive by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/573
-   Implement Default for Configuration by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/575
-   Document what the usizes are for ([#&#8203;546](https://github.com/bincode-org/bincode/issues/546)) in https://github.com/bincode-org/bincode/pull/577
-   Clarify config::legacy() doc to match config::standard() by [@&#8203;trevyn](https://github.com/trevyn) in https://github.com/bincode-org/bincode/pull/580
-   Implement Encode for tuples with up-to 16 elements. by [@&#8203;gz](https://github.com/gz) in https://github.com/bincode-org/bincode/pull/583
-   Document configuration generics by [@&#8203;trevyn](https://github.com/trevyn) in https://github.com/bincode-org/bincode/pull/581
-   Extended BorrowDecode for HashMap to support custom hashers by [@&#8203;Speedy37](https://github.com/Speedy37) in https://github.com/bincode-org/bincode/pull/585
-   Allow decoding with custom `DeserializeSeed` by [@&#8203;MrGVSV](https://github.com/MrGVSV) in https://github.com/bincode-org/bincode/pull/586
-   Added `[serde(tag)]` to the list of tags that are known to give issues by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/584
-   Release 2.0.0-rc.2 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/588
-   Bump `virtue` to 0.0.9 and add test for [#&#8203;537](https://github.com/bincode-org/bincode/issues/537) by [@&#8203;trevyn](https://github.com/trevyn) in https://github.com/bincode-org/bincode/pull/591
-   Encode variant index instead of variant value by [@&#8203;trevyn](https://github.com/trevyn) in https://github.com/bincode-org/bincode/pull/593
-   Create CODE_OF_CONDUCT.md by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/597
-   Move generated files to `target/generated/bincode` by [@&#8203;trevyn](https://github.com/trevyn) in https://github.com/bincode-org/bincode/pull/600
-   Add DecodeError::Other by [@&#8203;odysa](https://github.com/odysa) in https://github.com/bincode-org/bincode/pull/602
-   Fixed new clippy lint in rust 1.65.0 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/603
-   Add CIFuzz GitHub Action by [@&#8203;DavidKorczynski](https://github.com/DavidKorczynski) in https://github.com/bincode-org/bincode/pull/604
-   Fixed new clippy warnings by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/617
-   Improved encoding and decoding speed of Vec<u8> by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/619
-   Bumped virtue to 0.0.13 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/626
-   Disabled i686-linux-andoid and x86\_64-linux-android CI as they fail for external reasons by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/627
-   Made arrays never encode their length by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/625
-   Release rc.3 by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/628
-   Fix typos in Spec.md enum example by [@&#8203;bigbass1997](https://github.com/bigbass1997) in https://github.com/bincode-org/bincode/pull/630
-   fix(doc): broken intra link by [@&#8203;elpiel](https://github.com/elpiel) in https://github.com/bincode-org/bincode/pull/634
-   Added dependabot by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/636
-   Bump actions/checkout from 1 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/638
-   Bump codecov/codecov-action from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/639
-   Update glam requirement from 0.21 to 0.24 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/640
-   Update criterion requirement from 0.3 to 0.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/637
-   Update criterion requirement from 0.4 to 0.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/641
-   Update virtue requirement from 0.0.13 to 0.0.14 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/645
-   Bump actions/upload-artifact from 1 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/651
-   Allow generics in impl_borrow_decode by [@&#8203;dullbananas](https://github.com/dullbananas) in https://github.com/bincode-org/bincode/pull/635
-   Bump actions/checkout from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/660
-   Fixed a new clippy warning by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/661
-   Reverted 'static constraint on T in Vec<T> and \[T; N] by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/663
-   Fix cross compilations by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/664
-   Added unty dependency and added type checks by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/667
-   Fix inconsistent naming between serde and non-serde functions by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/671
-   Update virtue requirement from 0.0.14 to 0.0.15 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/673
-   Compat and BorrowCompat Debug and Display implementations by [@&#8203;aegroto](https://github.com/aegroto) in https://github.com/bincode-org/bincode/pull/670
-   Add missing test for encode_utf8 by [@&#8203;CXWorks](https://github.com/CXWorks) in https://github.com/bincode-org/bincode/pull/683
-   Add getters for current configuration values by [@&#8203;shahn](https://github.com/shahn) in https://github.com/bincode-org/bincode/pull/681
-   Use const functions where possible by [@&#8203;richardpringle](https://github.com/richardpringle) in https://github.com/bincode-org/bincode/pull/684
-   Implement Encode & Decode for Wrapping<T> types by [@&#8203;mzachar](https://github.com/mzachar) in https://github.com/bincode-org/bincode/pull/686
-   Fixed broken commit to trunk by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/687
-   Update glam requirement from 0.24 to 0.25 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/688
-   Add LICENSE.md to derive/ by [@&#8203;jfsulliv](https://github.com/jfsulliv) in https://github.com/bincode-org/bincode/pull/698
-   Update virtue requirement from 0.0.15 to 0.0.16 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/692
-   Update spec for `Option<T>` encoding by [@&#8203;mkeeter](https://github.com/mkeeter) in https://github.com/bincode-org/bincode/pull/702
-   Fixed [#&#8203;707](https://github.com/bincode-org/bincode/issues/707) by [@&#8203;Vrtgs](https://github.com/Vrtgs) in https://github.com/bincode-org/bincode/pull/708
-   Miri check by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/704
-   Fixed broken miri CI script by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/712
-   Fixed a warning in a derive test that would cause CI to fail by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/716
-   Put clarifying language in migration guide regarding the serde:: and non-serde:: paths by [@&#8203;mcclure](https://github.com/mcclure) in https://github.com/bincode-org/bincode/pull/715
-   Fixed new clippy lints by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/721
-   Update virtue requirement from 0.0.16 to 0.0.17 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/719
-   Add prerelease warning to readme.md by [@&#8203;xaocon](https://github.com/xaocon) in https://github.com/bincode-org/bincode/pull/728
-   Update virtue requirement from 0.0.17 to 0.0.18 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/bincode-org/bincode/pull/731
-   Fix typo in spec.md by [@&#8203;DragonDev1906](https://github.com/DragonDev1906) in https://github.com/bincode-org/bincode/pull/730
-   Implement basic traits for `Compat` and `BorrowCompat` by [@&#8203;skibon02](https://github.com/skibon02) in https://github.com/bincode-org/bincode/pull/734
-   chore typo fix README.md by [@&#8203;Hack666r](https://github.com/Hack666r) in https://github.com/bincode-org/bincode/pull/737
-   Fix CI and clippy by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/747
-   Document making serde an optional dependency by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/746
-   Finally got around to updating the spec based on feedback by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/741
-   Expose types implementing `serde::Serializer` and `Deserializer` by [@&#8203;fjarri](https://github.com/fjarri) in https://github.com/bincode-org/bincode/pull/729
-   make serde decode api consistent by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/748
-   Decode context by [@&#8203;ZoeyR](https://github.com/ZoeyR) in https://github.com/bincode-org/bincode/pull/749
-   2.0.0 stable by [@&#8203;VictorKoenders](https://github.com/VictorKoenders) in https://github.com/bincode-org/bincode/pull/742

#### New Contributors

-   [@&#8203;luben](https://github.com/luben) made their first contribution in https://github.com/bincode-org/bincode/pull/342
-   [@&#8203;apgoetz](https://github.com/apgoetz) made their first contribution in https://github.com/bincode-org/bincode/pull/373
-   [@&#8203;mbr](https://github.com/mbr) made their first contribution in https://github.com/bincode-org/bincode/pull/346
-   [@&#8203;manuthambi](https://github.com/manuthambi) made their first contribution in https://github.com/bincode-org/bincode/pull/360
-   [@&#8203;ehooi](https://github.com/ehooi) made their first contribution in https://github.com/bincode-org/bincode/pull/392
-   [@&#8203;saethlin](https://github.com/saethlin) made their first contribution in https://github.com/bincode-org/bincode/pull/337
-   [@&#8203;VictorKoenders](https://github.com/VictorKoenders) made their first contribution in https://github.com/bincode-org/bincode/pull/409
-   [@&#8203;Seppel3210](https://github.com/Seppel3210) made their first contribution in https://github.com/bincode-org/bincode/pull/423
-   [@&#8203;andrenth](https://github.com/andrenth) made their first contribution in https://github.com/bincode-org/bincode/pull/430
-   [@&#8203;songzhi](https://github.com/songzhi) made their first contribution in https://github.com/bincode-org/bincode/pull/446
-   [@&#8203;Popog](https://github.com/Popog) made their first contribution in https://github.com/bincode-org/bincode/pull/456
-   [@&#8203;ygf11](https://github.com/ygf11) made their first contribution in https://github.com/bincode-org/bincode/pull/457
-   [@&#8203;5225225](https://github.com/5225225) made their first contribution in https://github.com/bincode-org/bincode/pull/465
-   [@&#8203;poljar](https://github.com/poljar) made their first contribution in https://github.com/bincode-org/bincode/pull/492
-   [@&#8203;ppamorim](https://github.com/ppamorim) made their first contribution in https://github.com/bincode-org/bincode/pull/500
-   [@&#8203;BRA1L0R](https://github.com/BRA1L0R) made their first contribution in https://github.com/bincode-org/bincode/pull/507
-   [@&#8203;ajeetdsouza](https://github.com/ajeetdsouza) made their first contribution in https://github.com/bincode-org/bincode/pull/525
-   [@&#8203;bronsonp](https://github.com/bronsonp) made their first contribution in https://github.com/bincode-org/bincode/pull/529
-   [@&#8203;xobs](https://github.com/xobs) made their first contribution in https://github.com/bincode-org/bincode/pull/533
-   [@&#8203;cronokirby](https://github.com/cronokirby) made their first contribution in https://github.com/bincode-org/bincode/pull/542
-   [@&#8203;maciejhirsz](https://github.com/maciejhirsz) made their first contribution in https://github.com/bincode-org/bincode/pull/552
-   [@&#8203;SabrinaJewson](https://github.com/SabrinaJewson) made their first contribution in https://github.com/bincode-org/bincode/pull/562
-   [@&#8203;trevyn](https://github.com/trevyn) made their first contribution in https://github.com/bincode-org/bincode/pull/580
-   [@&#8203;gz](https://github.com/gz) made their first contribution in https://github.com/bincode-org/bincode/pull/583
-   [@&#8203;Speedy37](https://github.com/Speedy37) made their first contribution in https://github.com/bincode-org/bincode/pull/585
-   [@&#8203;MrGVSV](https://github.com/MrGVSV) made their first contribution in https://github.com/bincode-org/bincode/pull/586
-   [@&#8203;odysa](https://github.com/odysa) made their first contribution in https://github.com/bincode-org/bincode/pull/602
-   [@&#8203;DavidKorczynski](https://github.com/DavidKorczynski) made their first contribution in https://github.com/bincode-org/bincode/pull/604
-   [@&#8203;bigbass1997](https://github.com/bigbass1997) made their first contribution in https://github.com/bincode-org/bincode/pull/630
-   [@&#8203;elpiel](https://github.com/elpiel) made their first contribution in https://github.com/bincode-org/bincode/pull/634
-   [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in https://github.com/bincode-org/bincode/pull/638
-   [@&#8203;dullbananas](https://github.com/dullbananas) made their first contribution in https://github.com/bincode-org/bincode/pull/635
-   [@&#8203;aegroto](https://github.com/aegroto) made their first contribution in https://github.com/bincode-org/bincode/pull/670
-   [@&#8203;CXWorks](https://github.com/CXWorks) made their first contribution in https://github.com/bincode-org/bincode/pull/683
-   [@&#8203;shahn](https://github.com/shahn) made their first contribution in https://github.com/bincode-org/bincode/pull/681
-   [@&#8203;richardpringle](https://github.com/richardpringle) made their first contribution in https://github.com/bincode-org/bincode/pull/684
-   [@&#8203;mzachar](https://github.com/mzachar) made their first contribution in https://github.com/bincode-org/bincode/pull/686
-   [@&#8203;jfsulliv](https://github.com/jfsulliv) made their first contribution in https://github.com/bincode-org/bincode/pull/698
-   [@&#8203;mkeeter](https://github.com/mkeeter) made their first contribution in https://github.com/bincode-org/bincode/pull/702
-   [@&#8203;Vrtgs](https://github.com/Vrtgs) made their first contribution in https://github.com/bincode-org/bincode/pull/708
-   [@&#8203;mcclure](https://github.com/mcclure) made their first contribution in https://github.com/bincode-org/bincode/pull/715
-   [@&#8203;xaocon](https://github.com/xaocon) made their first contribution in https://github.com/bincode-org/bincode/pull/728
-   [@&#8203;DragonDev1906](https://github.com/DragonDev1906) made their first contribution in https://github.com/bincode-org/bincode/pull/730
-   [@&#8203;skibon02](https://github.com/skibon02) made their first contribution in https://github.com/bincode-org/bincode/pull/734
-   [@&#8203;Hack666r](https://github.com/Hack666r) made their first contribution in https://github.com/bincode-org/bincode/pull/737
-   [@&#8203;fjarri](https://github.com/fjarri) made their first contribution in https://github.com/bincode-org/bincode/pull/729

**Full Changelog**: https://github.com/bincode-org/bincode/compare/v1.3.1...v2.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE5MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: https://gitea.communiquons.org/pierre/light-openid/pulls/115
2025-03-10 18:29:00 +00:00
6 changed files with 220 additions and 144 deletions

329
Cargo.lock generated
View File

@@ -76,7 +76,7 @@ dependencies = [
"miniz_oxide",
"object",
"rustc-demangle",
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@@ -87,19 +87,20 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "bincode"
version = "2.0.0-rc.3"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f11ea1a0346b94ef188834a65c068a03aec181c94896d481d7a0a40d85b0ce95"
checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740"
dependencies = [
"bincode_derive",
"serde",
"unty",
]
[[package]]
name = "bincode_derive"
version = "2.0.0-rc.3"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e30759b3b99a1b802a7a3aa21c85c3ded5c28e1c83170d82d70f08bbf7f3e4c"
checksum = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09"
dependencies = [
"virtue",
]
@@ -116,17 +117,11 @@ version = "3.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
[[package]]
name = "byteorder"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
version = "1.10.0"
version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9"
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]]
name = "cc"
@@ -339,7 +334,7 @@ dependencies = [
"cfg-if",
"libc",
"wasi 0.13.3+wasi-0.2.2",
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@@ -385,9 +380,9 @@ checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
[[package]]
name = "http"
version = "1.2.0"
version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
dependencies = [
"bytes",
"fnv",
@@ -406,12 +401,12 @@ dependencies = [
[[package]]
name = "http-body-util"
version = "0.1.2"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
dependencies = [
"bytes",
"futures-util",
"futures-core",
"http",
"http-body",
"pin-project-lite",
@@ -478,21 +473,28 @@ dependencies = [
[[package]]
name = "hyper-util"
version = "0.1.10"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
checksum = "b1c293b6b3d21eca78250dc7dbebd6b9210ec5530e038cbfe0661b5c47ab06e8"
dependencies = [
"base64",
"bytes",
"futures-channel",
"futures-core",
"futures-util",
"http",
"http-body",
"hyper",
"ipnet",
"libc",
"percent-encoding",
"pin-project-lite",
"socket2",
"system-configuration",
"tokio",
"tower-service",
"tracing",
"windows-registry",
]
[[package]]
@@ -636,9 +638,9 @@ dependencies = [
[[package]]
name = "indexmap"
version = "2.7.1"
version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652"
checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
dependencies = [
"equivalent",
"hashbrown",
@@ -659,6 +661,16 @@ version = "2.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
[[package]]
name = "iri-string"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2"
dependencies = [
"memchr",
"serde",
]
[[package]]
name = "itoa"
version = "1.0.15"
@@ -677,13 +689,13 @@ dependencies = [
[[package]]
name = "libc"
version = "0.2.170"
version = "0.2.171"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828"
checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
[[package]]
name = "light-openid"
version = "1.0.3"
version = "1.0.4"
dependencies = [
"aes-gcm",
"base64",
@@ -698,9 +710,9 @@ dependencies = [
[[package]]
name = "linux-raw-sys"
version = "0.4.15"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
checksum = "6db9c683daf087dc577b7506e9695b3d556a9f3849903fa28186283afd6809e9"
[[package]]
name = "litemap"
@@ -710,9 +722,9 @@ checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856"
[[package]]
name = "log"
version = "0.4.26"
version = "0.4.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e"
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
[[package]]
name = "memchr"
@@ -774,9 +786,9 @@ dependencies = [
[[package]]
name = "once_cell"
version = "1.20.3"
version = "1.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
checksum = "cde51589ab56b20a6f686b2c68f7a0bd6add753d697abf720d63f8db3ab7b1ad"
[[package]]
name = "opaque-debug"
@@ -866,11 +878,11 @@ dependencies = [
[[package]]
name = "ppv-lite86"
version = "0.2.20"
version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
dependencies = [
"zerocopy 0.7.35",
"zerocopy",
]
[[package]]
@@ -884,22 +896,21 @@ dependencies = [
[[package]]
name = "quote"
version = "1.0.39"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1f1914ce909e1658d9907913b4b91947430c7d9be598b15a1912935b8c04801"
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.9.0"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"rand_chacha",
"rand_core 0.9.3",
"zerocopy 0.8.21",
]
[[package]]
@@ -932,15 +943,14 @@ dependencies = [
[[package]]
name = "reqwest"
version = "0.12.12"
version = "0.12.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da"
checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f"
dependencies = [
"base64",
"bytes",
"encoding_rs",
"futures-core",
"futures-util",
"h2",
"http",
"http-body",
@@ -949,36 +959,33 @@ dependencies = [
"hyper-rustls",
"hyper-tls",
"hyper-util",
"ipnet",
"js-sys",
"log",
"mime",
"native-tls",
"once_cell",
"percent-encoding",
"pin-project-lite",
"rustls-pemfile",
"rustls-pki-types",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper",
"system-configuration",
"tokio",
"tokio-native-tls",
"tower",
"tower-http",
"tower-service",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"windows-registry",
]
[[package]]
name = "ring"
version = "0.17.11"
version = "0.17.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da5349ae27d3887ca812fb375b45a4fbb36d8d12d2df394968cd86e35683fe73"
checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
dependencies = [
"cc",
"cfg-if",
@@ -996,9 +1003,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]]
name = "rustix"
version = "0.38.44"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
checksum = "f7178faa4b75a30e269c71e61c353ce2748cf3d76f0c44c393f4e60abf49b825"
dependencies = [
"bitflags",
"errno",
@@ -1020,15 +1027,6 @@ dependencies = [
"zeroize",
]
[[package]]
name = "rustls-pemfile"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
dependencies = [
"rustls-pki-types",
]
[[package]]
name = "rustls-pki-types"
version = "1.11.0"
@@ -1092,18 +1090,28 @@ dependencies = [
[[package]]
name = "serde"
version = "1.0.219"
version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
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.219"
version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
dependencies = [
"proc-macro2",
"quote",
@@ -1112,14 +1120,15 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.140"
version = "1.0.145"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
dependencies = [
"itoa",
"memchr",
"ryu",
"serde",
"serde_core",
]
[[package]]
@@ -1157,9 +1166,9 @@ checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd"
[[package]]
name = "socket2"
version = "0.5.8"
version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
dependencies = [
"libc",
"windows-sys 0.52.0",
@@ -1179,9 +1188,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "syn"
version = "2.0.99"
version = "2.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e02e925281e18ffd9d640e234264753c43edc62d64b2d4cf898f1bc5e75f3fc2"
checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
dependencies = [
"proc-macro2",
"quote",
@@ -1231,9 +1240,9 @@ dependencies = [
[[package]]
name = "tempfile"
version = "3.17.1"
version = "3.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22e5a0acb1f3f55f65cc4a866c361b2fb2a0ff6366785ae6fbb5f85df07ba230"
checksum = "2c317e0a526ee6120d8dabad239c8dadca62b24b6f168914bbbc8e2fb1f0e567"
dependencies = [
"cfg-if",
"fastrand",
@@ -1255,9 +1264,9 @@ dependencies = [
[[package]]
name = "tokio"
version = "1.43.0"
version = "1.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e"
checksum = "9975ea0f48b5aa3972bf2d888c238182458437cc2a19374b81b25cdf1023fb3a"
dependencies = [
"backtrace",
"bytes",
@@ -1316,6 +1325,24 @@ dependencies = [
"tower-service",
]
[[package]]
name = "tower-http"
version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
dependencies = [
"bitflags",
"bytes",
"futures-util",
"http",
"http-body",
"iri-string",
"pin-project-lite",
"tower",
"tower-layer",
"tower-service",
]
[[package]]
name = "tower-layer"
version = "0.3.3"
@@ -1381,6 +1408,12 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "unty"
version = "0.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
[[package]]
name = "url"
version = "2.5.4"
@@ -1424,9 +1457,9 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "virtue"
version = "0.0.13"
version = "0.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9dcc60c0624df774c82a0ef104151231d37da4962957d691c011c852b2473314"
checksum = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1"
[[package]]
name = "want"
@@ -1534,33 +1567,38 @@ dependencies = [
]
[[package]]
name = "windows-registry"
version = "0.2.0"
name = "windows-link"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3"
[[package]]
name = "windows-registry"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3"
dependencies = [
"windows-result",
"windows-strings",
"windows-targets",
"windows-targets 0.53.0",
]
[[package]]
name = "windows-result"
version = "0.2.0"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189"
dependencies = [
"windows-targets",
"windows-link",
]
[[package]]
name = "windows-strings"
version = "0.1.0"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
dependencies = [
"windows-result",
"windows-targets",
"windows-link",
]
[[package]]
@@ -1569,7 +1607,7 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@@ -1578,7 +1616,7 @@ version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@@ -1587,14 +1625,30 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
"windows_aarch64_gnullvm 0.52.6",
"windows_aarch64_msvc 0.52.6",
"windows_i686_gnu 0.52.6",
"windows_i686_gnullvm 0.52.6",
"windows_i686_msvc 0.52.6",
"windows_x86_64_gnu 0.52.6",
"windows_x86_64_gnullvm 0.52.6",
"windows_x86_64_msvc 0.52.6",
]
[[package]]
name = "windows-targets"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
dependencies = [
"windows_aarch64_gnullvm 0.53.0",
"windows_aarch64_msvc 0.53.0",
"windows_i686_gnu 0.53.0",
"windows_i686_gnullvm 0.53.0",
"windows_i686_msvc 0.53.0",
"windows_x86_64_gnu 0.53.0",
"windows_x86_64_gnullvm 0.53.0",
"windows_x86_64_msvc 0.53.0",
]
[[package]]
@@ -1603,48 +1657,96 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_aarch64_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnu"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_i686_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnu"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "windows_x86_64_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
[[package]]
name = "wit-bindgen-rt"
version = "0.33.0"
@@ -1692,39 +1794,18 @@ dependencies = [
[[package]]
name = "zerocopy"
version = "0.7.35"
version = "0.8.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
checksum = "fd97444d05a4328b90e75e503a34bad781f14e28a823ad3557f0750df1ebcbc6"
dependencies = [
"byteorder",
"zerocopy-derive 0.7.35",
]
[[package]]
name = "zerocopy"
version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcf01143b2dd5d134f11f545cf9f1431b13b749695cb33bcce051e7568f99478"
dependencies = [
"zerocopy-derive 0.8.21",
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
version = "0.7.35"
version = "0.8.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "zerocopy-derive"
version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712c8386f4f4299382c9abee219bee7084f78fb939d88b6840fcc1320d5f6da2"
checksum = "6352c01d0edd5db859a63e2605f4ea3183ddbd15e2c4a9e7d32184df75e4f154"
dependencies = [
"proc-macro2",
"quote",

View File

@@ -1,6 +1,6 @@
[package]
name = "light-openid"
version = "1.0.3"
version = "1.0.4"
edition = "2021"
repository = "https://gitea.communiquons.org/pierre/light-openid"
authors = ["Pierre HUBERT <pierre.git@communiquons.org>"]
@@ -12,7 +12,7 @@ license = "GPL-2.0-or-later"
[dependencies]
log = "0.4.21"
reqwest = { version = "0.12.3", features = ["json"] }
reqwest = { version = "0.12.14", features = ["json"] }
base64 = "0.22.0"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.115"

View File

@@ -1,9 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchUpdateTypes": ["major", "minor", "patch"],
"automerge": true
}
"extends": [
":automergeAll",
":enableVulnerabilityAlerts",
":ignoreUnstable"
]
}

View File

@@ -39,7 +39,7 @@ impl Error for StateError {}
impl fmt::Display for StateError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "StateManager error {:?}", self)
write!(f, "StateManager error {self:?}")
}
}

View File

@@ -38,7 +38,7 @@ impl OpenIDConfig {
code: &str,
redirect_uri: &str,
) -> Result<(OpenIDTokenResponse, String), Box<dyn Error>> {
let authorization = BASE64_STANDARD.encode(format!("{}:{}", client_id, client_secret));
let authorization = BASE64_STANDARD.encode(format!("{client_id}:{client_secret}"));
let mut params = HashMap::new();
params.insert("grant_type", "authorization_code");

View File

@@ -1,12 +1,10 @@
use std::error::Error;
use std::io::ErrorKind;
use aes_gcm::aead::{Aead, OsRng};
use aes_gcm::{Aes256Gcm, Key, KeyInit, Nonce};
use base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
use base64::Engine as _;
use bincode::{Decode, Encode};
use rand::Rng;
use std::error::Error;
/// The lenght of the nonce used to initialize encryption
const NONCE_LEN: usize = 12;
@@ -26,7 +24,7 @@ impl CryptoWrapper {
}
/// Encrypt some data, returning the result as a base64-encoded string
pub fn encrypt<T: Encode + Decode>(&self, data: &T) -> Result<String, Box<dyn Error>> {
pub fn encrypt<T: Encode + Decode<()>>(&self, data: &T) -> Result<String, Box<dyn Error>> {
let aes_key = Aes256Gcm::new(&self.key);
let nonce_bytes = rand::rng().random::<[u8; NONCE_LEN]>();
@@ -41,12 +39,11 @@ impl CryptoWrapper {
}
/// Decrypt some data previously encrypted using the [`CryptoWrapper::encrypt`] method
pub fn decrypt<T: Decode>(&self, input: &str) -> Result<T, Box<dyn Error>> {
pub fn decrypt<T: Decode<()>>(&self, input: &str) -> Result<T, Box<dyn Error>> {
let bytes = BASE64_STANDARD.decode(input)?;
if bytes.len() < NONCE_LEN {
return Err(Box::new(std::io::Error::new(
ErrorKind::Other,
return Err(Box::new(std::io::Error::other(
"Input string is smaller than nonce!",
)));
}
@@ -59,9 +56,8 @@ impl CryptoWrapper {
let dec = match aes_key.decrypt(Nonce::from_slice(nonce), enc) {
Ok(d) => d,
Err(e) => {
log::error!("Failed to decrypt wrapped data! {:#?}", e);
return Err(Box::new(std::io::Error::new(
ErrorKind::Other,
log::error!("Failed to decrypt wrapped data! {e:#?}");
return Err(Box::new(std::io::Error::other(
"Failed to decrypt wrapped data!",
)));
}