Compare commits

..

62 Commits

Author SHA1 Message Date
92361f99dd Update Rust crate tokio to 1.48.0 (#143)
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-16 00:37:24 +00:00
d4f4c9e8cd Update Rust crate reqwest to 0.12.24 (#142)
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-15 00:35:46 +00:00
d7f99b84e0 Update Rust crate zip to v6 (#141)
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-11 00:35:47 +00:00
babcf9e2f9 Update Rust crate thiserror to 2.0.17 (#140)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-30 00:34:43 +00:00
ce3038802a Update Rust crate serde to 1.0.228 (#139)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-29 00:35:18 +00:00
7067c96878 Update Rust crate serde to 1.0.227 (#138)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-27 00:36:16 +00:00
37c3c3c495 Update Rust crate serde to 1.0.226 (#137)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-22 00:37:27 +00:00
050398321a Update Rust crate serde to 1.0.225 (#136)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-18 00:36:01 +00:00
306e9b2e54 Update Rust crate serde_json to 1.0.145 (#135)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-16 00:34:53 +00:00
f6c248014d Update Rust crate zip to 5.1.1 (#134)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-13 00:36:01 +00:00
8bad30ada3 Update Rust crate zip to v5 (#133)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-07 00:35:36 +00:00
bdaf279410 Update Rust crate zip to 4.6.1 (#132)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-06 00:35:17 +00:00
80e9e3118a Update Rust crate log to 0.4.28 (#131)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-05 00:21:09 +00:00
e4a3335745 Update Rust crate zip to 4.6.0 (#130)
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-02 00:27:34 +00:00
34f85ec491 Add missing CGI module in Drone configuration (#129)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #129
2025-08-28 06:25:40 +00:00
50bce153f8 Update Rust crate zip to 4.5.0 (#128)
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-23 00:27:40 +00:00
f9cbc71c21 Update Rust crate thiserror to 2.0.16 (#127)
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-23 00:27:38 +00:00
3abd831865 Update Rust crate serde_json to 1.0.143 (#126)
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-21 00:27:16 +00:00
35dc7e1755 Update Rust crate thiserror to 2.0.15 (#125)
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-18 00:26:10 +00:00
c9b60419ae Update Rust crate reqwest to 0.12.23 (#124)
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-14 00:26:45 +00:00
b68d83f056 Update Rust crate thiserror to 2.0.14 (#123)
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-13 00:26:53 +00:00
38c71e829e Update Rust crate tokio to 1.47.1 (#122)
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-03 00:15:17 +00:00
9a11b645ac Update Rust crate serde_json to 1.0.142 (#121)
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-02 00:16:00 +00:00
fea5fdf82d Update Rust crate tokio to 1.47.0 (#120)
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-27 00:15:32 +00:00
db44835c39 Update Rust crate rand to 0.9.2 (#119)
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-21 00:15:34 +00:00
35ade770be Update Rust crate serde_json to 1.0.141 (#118)
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-19 00:15:50 +00:00
0f129447c2 Update Rust crate zip to 4.3.0 (#117)
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-10 00:45:47 +00:00
291a670c17 Update Rust crate tokio to 1.46.1 (#116)
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-05 00:41:19 +00:00
b5cbd337d5 Update Rust crate tokio to 1.46.0
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-04 00:40:53 +00:00
38fed64727 Update Rust crate reqwest to 0.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:34 +00:00
604e1975cf Fix cargo clippy issues (#115)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #115
2025-07-03 06:26:05 +00:00
99d32292ee Update Rust crate zip to 4.2.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-06-24 00:08:54 +00:00
4629220522 Update Rust crate zip to 4.1.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-06-16 00:20:57 +00:00
421c2a191b Update Rust crate reqwest to 0.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:41 +00:00
2c89431648 Update Rust crate reqwest to 0.12.19
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-06-03 00:21:41 +00:00
769010f8d2 Update Rust crate reqwest to 0.12.18
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-05-29 00:06:56 +00:00
2c60760edd Update Rust crate tokio to 1.45.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-05-25 00:06:28 +00:00
204f241d8f Update Rust crate zip to v4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-05-22 00:06:39 +00:00
8528f320ce Update Rust crate zip to v3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-05-16 00:15:46 +00:00
bf56391114 Update Rust crate tokio to 1.45.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-05-07 00:24:11 +00:00
117e2c3079 Update Rust crate rand to 0.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:00 +00:00
3d5a32ae6a Update Rust crate tokio to 1.44.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-06 00:33:16 +00:00
d4844c18bf Update Rust crate zip to 2.6.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-05 00:33:01 +00:00
52da56a775 Update Rust crate tokio to 1.44.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-04 00:33:44 +00:00
06b947a7d1 Update Rust crate thiserror to 2.0.12
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-03 00:33:24 +00:00
bea66f6202 Update Rust crate env_logger to 0.11.8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-02 00:33:30 +00:00
de6d6f86c2 Update Rust crate serde_json to 1.0.140
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-01 02:04:14 +00:00
15cc60aad9 Update Rust crate serde to 1.0.219
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-31 20:49:35 +00:00
a33088918c Update Rust crate reqwest to 0.12.15
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-31 00:33:53 +00:00
116ea4ba77 Update Rust crate mktemp to 0.5.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-30 02:19:50 +00:00
dbc82c0377 Update Rust crate log to 0.4.27
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-29 22:55:52 +00:00
d82fa7053d Update Rust crate env_logger to 0.11.7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-29 18:14:11 +00:00
7e5010a5d7 Update renovate.json (#91)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #91
2025-03-29 17:30:04 +00:00
7cd709c00c Update Rust crate reqwest to v0.12.15
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-29 14:13:10 +00:00
28828261d1 Update renovate.json (#89)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #89
2025-03-29 12:54:32 +00:00
c094d9cfbe Update Rust crate thiserror to v2 (#47)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [thiserror](https://github.com/dtolnay/thiserror) | dependencies | major | `1.0.61` -> `2.0.0` |

---

### Release Notes

<details>
<summary>dtolnay/thiserror (thiserror)</summary>

### [`v2.0.12`](https://github.com/dtolnay/thiserror/releases/tag/2.0.12)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12)

-   Prevent elidable_lifetime_names pedantic clippy lint in generated impl ([#&#8203;413](https://github.com/dtolnay/thiserror/issues/413))

### [`v2.0.11`](https://github.com/dtolnay/thiserror/releases/tag/2.0.11)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.10...2.0.11)

-   Add feature gate to tests that use std ([#&#8203;409](https://github.com/dtolnay/thiserror/issues/409), [#&#8203;410](https://github.com/dtolnay/thiserror/issues/410), thanks [@&#8203;Maytha8](https://github.com/Maytha8))

### [`v2.0.10`](https://github.com/dtolnay/thiserror/releases/tag/2.0.10)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.9...2.0.10)

-   Support errors containing a generic type parameter's associated type in a field ([#&#8203;408](https://github.com/dtolnay/thiserror/issues/408))

### [`v2.0.9`](https://github.com/dtolnay/thiserror/releases/tag/2.0.9)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.8...2.0.9)

-   Work around `missing_inline_in_public_items` clippy restriction being triggered in macro-generated code ([#&#8203;404](https://github.com/dtolnay/thiserror/issues/404))

### [`v2.0.8`](https://github.com/dtolnay/thiserror/releases/tag/2.0.8)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.7...2.0.8)

-   Improve support for macro-generated `derive(Error)` call sites ([#&#8203;399](https://github.com/dtolnay/thiserror/issues/399))

### [`v2.0.7`](https://github.com/dtolnay/thiserror/releases/tag/2.0.7)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.6...2.0.7)

-   Work around conflict with #\[deny(clippy::allow_attributes)] ([#&#8203;397](https://github.com/dtolnay/thiserror/issues/397), thanks [@&#8203;zertosh](https://github.com/zertosh))

### [`v2.0.6`](https://github.com/dtolnay/thiserror/releases/tag/2.0.6)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.5...2.0.6)

-   Suppress deprecation warning on generated From impls ([#&#8203;396](https://github.com/dtolnay/thiserror/issues/396))

### [`v2.0.5`](https://github.com/dtolnay/thiserror/releases/tag/2.0.5)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.4...2.0.5)

-   Prevent deprecation warning on generated impl for deprecated type ([#&#8203;394](https://github.com/dtolnay/thiserror/issues/394))

### [`v2.0.4`](https://github.com/dtolnay/thiserror/releases/tag/2.0.4)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.3...2.0.4)

-   Eliminate needless_lifetimes clippy lint in generated `From` impls ([#&#8203;391](https://github.com/dtolnay/thiserror/issues/391), thanks [@&#8203;matt-phylum](https://github.com/matt-phylum))

### [`v2.0.3`](https://github.com/dtolnay/thiserror/releases/tag/2.0.3)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.2...2.0.3)

-   Support the same Path field being repeated in both Debug and Display representation in error message ([#&#8203;383](https://github.com/dtolnay/thiserror/issues/383))
-   Improve error message when a format trait used in error message is not implemented by some field ([#&#8203;384](https://github.com/dtolnay/thiserror/issues/384))

### [`v2.0.2`](https://github.com/dtolnay/thiserror/releases/tag/2.0.2)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.1...2.0.2)

-   Fix hang on invalid input inside #\[error(...)] attribute ([#&#8203;382](https://github.com/dtolnay/thiserror/issues/382))

### [`v2.0.1`](https://github.com/dtolnay/thiserror/releases/tag/2.0.1)

[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.0...2.0.1)

-   Support errors that contain a dynamically sized final field ([#&#8203;375](https://github.com/dtolnay/thiserror/issues/375))
-   Improve inference of trait bounds for fields that are interpolated multiple times in an error message ([#&#8203;377](https://github.com/dtolnay/thiserror/issues/377))

### [`v2.0.0`](https://github.com/dtolnay/thiserror/releases/tag/2.0.0)

[Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.0)

#### Breaking changes

-   Referencing keyword-named fields by a raw identifier like `{r#type}` inside a format string is no longer accepted; simply use the unraw name like `{type}` ([#&#8203;347](https://github.com/dtolnay/thiserror/issues/347))

    This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x.

    ```rust
    #[derive(Error, Debug)]
    #[error("... {type} ...")]  // Before: {r#type}
    pub struct Error {
        pub r#type: Type,
    }
    ```

-   Trait bounds are no longer inferred on fields whose value is shadowed by an explicit named argument in a format message ([#&#8203;345](https://github.com/dtolnay/thiserror/issues/345))

    ```rust
    // Before: impl<T: Octal> Display for Error<T>
    // After: impl<T> Display for Error<T>
    #[derive(Error, Debug)]
    #[error("{thing:o}", thing = "...")]
    pub struct Error<T> {
        thing: T,
    }
    ```

-   Tuple structs and tuple variants can no longer use numerical `{0}` `{1}` access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg ([#&#8203;354](https://github.com/dtolnay/thiserror/issues/354))

    ```rust
    #[derive(Error, Debug)]
    #[error("ambiguous: {0} {}", $N)]
    //                  ^^^ Not allowed, use #[error("... {0} {n}", n = $N)]
    pub struct TupleError(i32);
    ```

-   Code containing invocations of thiserror's `derive(Error)` must now have a direct dependency on the `thiserror` crate regardless of the error data structure's contents ([#&#8203;368](https://github.com/dtolnay/thiserror/issues/368), [#&#8203;369](https://github.com/dtolnay/thiserror/issues/369), [#&#8203;370](https://github.com/dtolnay/thiserror/issues/370), [#&#8203;372](https://github.com/dtolnay/thiserror/issues/372))

#### Features

-   Support disabling thiserror's standard library dependency by disabling the default "std" Cargo feature: `thiserror = { version = "2", default-features = false }` ([#&#8203;373](https://github.com/dtolnay/thiserror/issues/373))

-   Support using `r#source` as field name to opt out of a field named "source" being treated as an error's `Error::source()` ([#&#8203;350](https://github.com/dtolnay/thiserror/issues/350))

    ```rust
    #[derive(Error, Debug)]
    #[error("{source} ==> {destination}")]
    pub struct Error {
        r#source: char,
        destination: char,
    }

    let error = Error { source: 'S', destination: 'D' };
    ```

-   Infinite recursion in a generated Display impl now produces an `unconditional_recursion` warning ([#&#8203;359](https://github.com/dtolnay/thiserror/issues/359))

    ```rust
    #[derive(Error, Debug)]
    #[error("??? {self}")]
    pub struct Error;
    ```

-   A new attribute `#[error(fmt = path::to::myfmt)]` can be used to write formatting logic for an enum variant out-of-line ([#&#8203;367](https://github.com/dtolnay/thiserror/issues/367))

    ```rust
    #[derive(Error, Debug)]
    pub enum Error {
        #[error(fmt = demo_fmt)]
        Demo { code: u16, message: Option<String> },
    }

    fn demo_fmt(code: &u16, message: &Option<String>, formatter: &mut fmt::Formatter) -> fmt::Result {
        write!(formatter, "{code}")?;
        if let Some(msg) = message {
            write!(formatter, " - {msg}")?;
        }
        Ok(())
    }
    ```

-   Enums with an enum-level format message are now able to have individual variants that are `transparent` to supersede the enum-level message ([#&#8203;366](https://github.com/dtolnay/thiserror/issues/366))

    ```rust
    #[derive(Error, Debug)]
    #[error("my error {0}")]
    pub enum Error {
        Json(#[from] serde_json::Error),
        Yaml(#[from] serde_yaml::Error),
        #[error(transparent)]
        Other(#[from] anyhow::Error),
    }
    ```

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled because a matching PR was automerged previously.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOS4xOTQuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Reviewed-on: https://gitea.communiquons.org/pierre/GrammalecteClient/pulls/47
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-28 15:44:22 +00:00
c562dd014b Update Rust crate rand to 0.9.0 (#65)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rand](https://rust-random.github.io/book) ([source](https://github.com/rust-random/rand)) | dependencies | minor | `0.8.5` -> `0.9.0` |

---

### Release Notes

<details>
<summary>rust-random/rand (rand)</summary>

### [`v0.9.0`](https://github.com/rust-random/rand/blob/HEAD/CHANGELOG.md#090---2025-01-27)

[Compare Source](https://github.com/rust-random/rand/compare/0.8.5...0.9.0)

##### Security and unsafe

-   Policy: "rand is not a crypto library" ([#&#8203;1514](https://github.com/rust-random/rand/issues/1514))
-   Remove fork-protection from `ReseedingRng` and `ThreadRng`. Instead, it is recommended to call `ThreadRng::reseed` on fork. ([#&#8203;1379](https://github.com/rust-random/rand/issues/1379))
-   Use `zerocopy` to replace some `unsafe` code ([#&#8203;1349](https://github.com/rust-random/rand/issues/1349), [#&#8203;1393](https://github.com/rust-random/rand/issues/1393), [#&#8203;1446](https://github.com/rust-random/rand/issues/1446), [#&#8203;1502](https://github.com/rust-random/rand/issues/1502))

##### Dependencies

-   Bump the MSRV to 1.63.0 ([#&#8203;1207](https://github.com/rust-random/rand/issues/1207), [#&#8203;1246](https://github.com/rust-random/rand/issues/1246), [#&#8203;1269](https://github.com/rust-random/rand/issues/1269), [#&#8203;1341](https://github.com/rust-random/rand/issues/1341), [#&#8203;1416](https://github.com/rust-random/rand/issues/1416), [#&#8203;1536](https://github.com/rust-random/rand/issues/1536)); note that 1.60.0 may work for dependents when using `--ignore-rust-version`
-   Update to `rand_core` v0.9.0 ([#&#8203;1558](https://github.com/rust-random/rand/issues/1558))

##### Features

-   Support `std` feature without `getrandom` or `rand_chacha` ([#&#8203;1354](https://github.com/rust-random/rand/issues/1354))
-   Enable feature `small_rng` by default ([#&#8203;1455](https://github.com/rust-random/rand/issues/1455))
-   Remove implicit feature `rand_chacha`; use `std_rng` instead. ([#&#8203;1473](https://github.com/rust-random/rand/issues/1473))
-   Rename feature `serde1` to `serde` ([#&#8203;1477](https://github.com/rust-random/rand/issues/1477))
-   Rename feature `getrandom` to `os_rng` ([#&#8203;1537](https://github.com/rust-random/rand/issues/1537))
-   Add feature `thread_rng` ([#&#8203;1547](https://github.com/rust-random/rand/issues/1547))

##### API changes: rand_core traits

-   Add fn `RngCore::read_adapter` implementing `std::io::Read` ([#&#8203;1267](https://github.com/rust-random/rand/issues/1267))
-   Add trait `CryptoBlockRng: BlockRngCore`; make `trait CryptoRng: RngCore` ([#&#8203;1273](https://github.com/rust-random/rand/issues/1273))
-   Add traits `TryRngCore`, `TryCryptoRng` ([#&#8203;1424](https://github.com/rust-random/rand/issues/1424), [#&#8203;1499](https://github.com/rust-random/rand/issues/1499))
-   Rename `fn SeedableRng::from_rng` -> `try_from_rng` and add infallible variant `fn from_rng` ([#&#8203;1424](https://github.com/rust-random/rand/issues/1424))
-   Rename `fn SeedableRng::from_entropy` -> `from_os_rng` and add fallible variant `fn try_from_os_rng` ([#&#8203;1424](https://github.com/rust-random/rand/issues/1424))
-   Add bounds `Clone` and `AsRef` to associated type `SeedableRng::Seed` ([#&#8203;1491](https://github.com/rust-random/rand/issues/1491))

##### API changes: Rng trait and top-level fns

-   Rename fn `rand::thread_rng()` to `rand::rng()` and remove from the prelude ([#&#8203;1506](https://github.com/rust-random/rand/issues/1506))
-   Remove fn `rand::random()` from the prelude ([#&#8203;1506](https://github.com/rust-random/rand/issues/1506))
-   Add top-level fns `random_iter`, `random_range`, `random_bool`, `random_ratio`, `fill` ([#&#8203;1488](https://github.com/rust-random/rand/issues/1488))
-   Re-introduce fn `Rng::gen_iter` as `random_iter` ([#&#8203;1305](https://github.com/rust-random/rand/issues/1305), [#&#8203;1500](https://github.com/rust-random/rand/issues/1500))
-   Rename fn `Rng::gen` to `random` to avoid conflict with the new `gen` keyword in Rust 2024 ([#&#8203;1438](https://github.com/rust-random/rand/issues/1438))
-   Rename fns `Rng::gen_range` to `random_range`, `gen_bool` to `random_bool`, `gen_ratio` to `random_ratio` ([#&#8203;1505](https://github.com/rust-random/rand/issues/1505))
-   Annotate panicking methods with `#[track_caller]` ([#&#8203;1442](https://github.com/rust-random/rand/issues/1442), [#&#8203;1447](https://github.com/rust-random/rand/issues/1447))

##### API changes: RNGs

-   Fix `<SmallRng as SeedableRng>::Seed` size to 256 bits ([#&#8203;1455](https://github.com/rust-random/rand/issues/1455))
-   Remove first parameter (`rng`) of `ReseedingRng::new` ([#&#8203;1533](https://github.com/rust-random/rand/issues/1533))

##### API changes: Sequences

-   Split trait `SliceRandom` into `IndexedRandom`, `IndexedMutRandom`, `SliceRandom` ([#&#8203;1382](https://github.com/rust-random/rand/issues/1382))
-   Add `IndexedRandom::choose_multiple_array`, `index::sample_array` ([#&#8203;1453](https://github.com/rust-random/rand/issues/1453), [#&#8203;1469](https://github.com/rust-random/rand/issues/1469))

##### API changes: Distributions: renames

-   Rename module `rand::distributions` to `rand::distr` ([#&#8203;1470](https://github.com/rust-random/rand/issues/1470))
-   Rename distribution `Standard` to `StandardUniform` ([#&#8203;1526](https://github.com/rust-random/rand/issues/1526))
-   Move `distr::Slice` -> `distr::slice::Choose`, `distr::EmptySlice` -> `distr::slice::Empty` ([#&#8203;1548](https://github.com/rust-random/rand/issues/1548))
-   Rename trait `distr::DistString` -> `distr::SampleString` ([#&#8203;1548](https://github.com/rust-random/rand/issues/1548))
-   Rename `distr::DistIter` -> `distr::Iter`, `distr::DistMap` -> `distr::Map` ([#&#8203;1548](https://github.com/rust-random/rand/issues/1548))

##### API changes: Distributions

-   Relax `Sized` bound on `Distribution<T> for &D` ([#&#8203;1278](https://github.com/rust-random/rand/issues/1278))
-   Remove impl of `Distribution<Option<T>>` for `StandardUniform` ([#&#8203;1526](https://github.com/rust-random/rand/issues/1526))
-   Let distribution `StandardUniform` support all `NonZero*` types ([#&#8203;1332](https://github.com/rust-random/rand/issues/1332))
-   Fns `{Uniform, UniformSampler}::{new, new_inclusive}` return a `Result` (instead of potentially panicking) ([#&#8203;1229](https://github.com/rust-random/rand/issues/1229))
-   Distribution `Uniform` implements `TryFrom` instead of `From` for ranges ([#&#8203;1229](https://github.com/rust-random/rand/issues/1229))
-   Add `UniformUsize` ([#&#8203;1487](https://github.com/rust-random/rand/issues/1487))
-   Remove support for generating `isize` and `usize` values with `StandardUniform`, `Uniform` (except via `UniformUsize`) and `Fill` and usage as a `WeightedAliasIndex` weight ([#&#8203;1487](https://github.com/rust-random/rand/issues/1487))
-   Add impl `DistString` for distributions `Slice<char>` and `Uniform<char>` ([#&#8203;1315](https://github.com/rust-random/rand/issues/1315))
-   Add fn `Slice::num_choices` ([#&#8203;1402](https://github.com/rust-random/rand/issues/1402))
-   Add fn `p()` for distribution `Bernoulli` to access probability ([#&#8203;1481](https://github.com/rust-random/rand/issues/1481))

##### API changes: Weighted distributions

-   Add `pub` module `rand::distr::weighted`, moving `WeightedIndex` there ([#&#8203;1548](https://github.com/rust-random/rand/issues/1548))
-   Add trait `weighted::Weight`, allowing `WeightedIndex` to trap overflow ([#&#8203;1353](https://github.com/rust-random/rand/issues/1353))
-   Add fns `weight, weights, total_weight` to distribution `WeightedIndex` ([#&#8203;1420](https://github.com/rust-random/rand/issues/1420))
-   Rename enum `WeightedError` to `weighted::Error`, revising variants ([#&#8203;1382](https://github.com/rust-random/rand/issues/1382)) and mark as `#[non_exhaustive]` ([#&#8203;1480](https://github.com/rust-random/rand/issues/1480))

##### API changes: SIMD

-   Switch to `std::simd`, expand SIMD & docs ([#&#8203;1239](https://github.com/rust-random/rand/issues/1239))

##### Reproducibility-breaking changes

-   Make `ReseedingRng::reseed` discard remaining data from the last block generated ([#&#8203;1379](https://github.com/rust-random/rand/issues/1379))
-   Change fn `SmallRng::seed_from_u64` implementation ([#&#8203;1203](https://github.com/rust-random/rand/issues/1203))
-   Allow `UniformFloat::new` samples and `UniformFloat::sample_single` to yield `high` ([#&#8203;1462](https://github.com/rust-random/rand/issues/1462))
-   Fix portability of distribution `Slice` ([#&#8203;1469](https://github.com/rust-random/rand/issues/1469))
-   Make `Uniform` for `usize` portable via `UniformUsize` ([#&#8203;1487](https://github.com/rust-random/rand/issues/1487))
-   Fix `IndexdRandom::choose_multiple_weighted` for very small seeds and optimize for large input length / low memory ([#&#8203;1530](https://github.com/rust-random/rand/issues/1530))

##### Reproducibility-breaking optimisations

-   Optimize fn `sample_floyd`, affecting output of `rand::seq::index::sample` and `rand::seq::SliceRandom::choose_multiple` ([#&#8203;1277](https://github.com/rust-random/rand/issues/1277))
-   New, faster algorithms for `IteratorRandom::choose` and `choose_stable` ([#&#8203;1268](https://github.com/rust-random/rand/issues/1268))
-   New, faster algorithms for `SliceRandom::shuffle` and `partial_shuffle` ([#&#8203;1272](https://github.com/rust-random/rand/issues/1272))
-   Optimize distribution `Uniform`: use Canon's method (single sampling) / Lemire's method (distribution sampling) for faster sampling (breaks value stability; [#&#8203;1287](https://github.com/rust-random/rand/issues/1287))
-   Optimize fn `sample_single_inclusive` for floats (+~20% perf) ([#&#8203;1289](https://github.com/rust-random/rand/issues/1289))

##### Other optimisations

-   Improve `SmallRng` initialization performance ([#&#8203;1482](https://github.com/rust-random/rand/issues/1482))
-   Optimise SIMD widening multiply ([#&#8203;1247](https://github.com/rust-random/rand/issues/1247))

##### Other

-   Add `Cargo.lock.msrv` file ([#&#8203;1275](https://github.com/rust-random/rand/issues/1275))
-   Reformat with `rustfmt` and enforce ([#&#8203;1448](https://github.com/rust-random/rand/issues/1448))
-   Apply Clippy suggestions and enforce ([#&#8203;1448](https://github.com/rust-random/rand/issues/1448), [#&#8203;1474](https://github.com/rust-random/rand/issues/1474))
-   Move all benchmarks to new `benches` crate ([#&#8203;1329](https://github.com/rust-random/rand/issues/1329), [#&#8203;1439](https://github.com/rust-random/rand/issues/1439)) and migrate to Criterion ([#&#8203;1490](https://github.com/rust-random/rand/issues/1490))

##### Documentation

-   Improve `ThreadRng` related docs ([#&#8203;1257](https://github.com/rust-random/rand/issues/1257))
-   Docs: enable experimental `--generate-link-to-definition` feature ([#&#8203;1327](https://github.com/rust-random/rand/issues/1327))
-   Better doc of crate features, use `doc_auto_cfg` ([#&#8203;1411](https://github.com/rust-random/rand/issues/1411), [#&#8203;1450](https://github.com/rust-random/rand/issues/1450))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMzcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: https://gitea.communiquons.org/pierre/GrammalecteClient/pulls/65
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-28 15:44:15 +00:00
e42f9504ff Update Rust crate reqwest to v0.12.14 (#75)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [reqwest](https://github.com/seanmonstar/reqwest) | dependencies | patch | `0.12.13` -> `0.12.14` |

---

### Release Notes

<details>
<summary>seanmonstar/reqwest (reqwest)</summary>

### [`v0.12.14`](https://github.com/seanmonstar/reqwest/releases/tag/v0.12.14)

[Compare Source](https://github.com/seanmonstar/reqwest/compare/v0.12.13...v0.12.14)

#### What's Changed

-   re-add fetch_mode_no_cors shim when not in wasm, but deprecated by [@&#8203;seanmonstar](https://github.com/seanmonstar) in https://github.com/seanmonstar/reqwest/pull/2598

**Full Changelog**: https://github.com/seanmonstar/reqwest/compare/v0.12.13...v0.12.14

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #75
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-28 15:43:39 +00:00
6da734d339 Update Rust crate tokio to v1.44.1 (#76)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | patch | `1.44.0` -> `1.44.1` |

---

### Release Notes

<details>
<summary>tokio-rs/tokio (tokio)</summary>

### [`v1.44.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.44.1): Tokio v1.44.1

[Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.44.0...tokio-1.44.1)

### 1.44.1 (March 13th, 2025)

##### Fixed

-   rt: skip defer queue in `block_in_place` context ([#&#8203;7216])

[#&#8203;7216]: https://github.com/tokio-rs/tokio/pull/7216

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #76
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-28 15:43:31 +00:00
e67113e787 Update Rust crate log to v0.4.27 (#79)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [log](https://github.com/rust-lang/log) | dependencies | patch | `0.4.26` -> `0.4.27` |

---

### Release Notes

<details>
<summary>rust-lang/log (log)</summary>

### [`v0.4.27`](https://github.com/rust-lang/log/blob/HEAD/CHANGELOG.md#0427---2025-03-24)

[Compare Source](https://github.com/rust-lang/log/compare/0.4.26...0.4.27)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTMuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIxMy4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #79
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-28 15:43:25 +00:00
0f45ad3d1b Update Rust crate zip to v2.4.1 (#78)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [zip](https://github.com/zip-rs/zip2) | dependencies | minor | `2.3.0` -> `2.4.1` |

---

### Release Notes

<details>
<summary>zip-rs/zip2 (zip)</summary>

### [`v2.4.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#241---2025-03-17)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.4.0...v2.4.1)

##### <!-- 1 -->🐛 Bug Fixes

-   type issue in test
-   double as_ref().canonicalize()?
-   CI failures
-   Create directory for extraction if necessary ([#&#8203;314](https://github.com/zip-rs/zip2/pull/314))

### [`v2.4.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#240---2025-03-17)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.3.0...v2.4.0)

##### <!-- 0 -->🚀 Features

-   `ZipArchive::root_dir` and `ZipArchive::extract_unwrapped_root_dir` ([#&#8203;304](https://github.com/zip-rs/zip2/pull/304))

##### <!-- 1 -->🐛 Bug Fixes

-   wasm build failure due to a missing use statement  ([#&#8203;313](https://github.com/zip-rs/zip2/pull/313))

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #78
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-28 15:43:20 +00:00
4b484d34f0 Update Rust crate zip to v2.3.0 (#77)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [zip](https://github.com/zip-rs/zip2) | dependencies | minor | `2.2.3` -> `2.3.0` |

---

### Release Notes

<details>
<summary>zip-rs/zip2 (zip)</summary>

### [`v2.3.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#230---2025-03-16)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.2.3...v2.3.0)

##### <!-- 0 -->🚀 Features

-   Add support for NTFS extra field ([#&#8203;279](https://github.com/zip-rs/zip2/pull/279))

##### <!-- 1 -->🐛 Bug Fixes

-   *(test)* Conditionalize a zip64 doctest ([#&#8203;308](https://github.com/zip-rs/zip2/pull/308))
-   fix failing tests, remove symlink loop check
-   Canonicalize output path to avoid false negatives
-   Symlink handling in stream extraction
-   Canonicalize output paths and symlink targets, and ensure they descend from the destination

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Fix clippy and cargo fmt warnings ([#&#8203;310](https://github.com/zip-rs/zip2/pull/310))

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #77
Co-authored-by: Pierre HUBERT <pierre@noreply.localhost>
Co-committed-by: Pierre HUBERT <pierre@noreply.localhost>
2025-03-18 20:58:02 +00:00
5 changed files with 267 additions and 263 deletions

View File

@@ -7,8 +7,7 @@ steps:
- name: cargo_check
image: rust
commands:
- apt update && apt install -y python3-legacy-cgi
- rustup component add clippy
- cargo clippy -- -D warnings
- cargo test --all-features

493
Cargo.lock generated
View File

@@ -2,21 +2,6 @@
# It is not intended for manual editing.
version = 4
[[package]]
name = "addr2line"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
dependencies = [
"gimli",
]
[[package]]
name = "adler"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "adler2"
version = "2.0.0"
@@ -79,7 +64,7 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391"
dependencies = [
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
@@ -89,14 +74,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19"
dependencies = [
"anstyle",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
name = "arbitrary"
version = "1.3.2"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
dependencies = [
"derive_arbitrary",
]
@@ -113,21 +98,6 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "backtrace"
version = "0.3.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
dependencies = [
"addr2line",
"cc",
"cfg-if",
"libc",
"miniz_oxide 0.7.3",
"object",
"rustc-demangle",
]
[[package]]
name = "base64"
version = "0.22.1"
@@ -155,12 +125,6 @@ version = "3.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
[[package]]
name = "byteorder"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
version = "1.9.0"
@@ -169,22 +133,11 @@ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
[[package]]
name = "bzip2"
version = "0.5.1"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75b89e7c29231c673a61a46e722602bcd138298f6b9e81e71119693534585f5c"
checksum = "bea8dcd42434048e4f7a304411d9273a411f647446c1234a65ce0554923f4cff"
dependencies = [
"bzip2-sys",
]
[[package]]
name = "bzip2-sys"
version = "0.1.12+1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72ebc2f1a417f01e1da30ef264ee86ae31d2dcd2d603ea283d3c244a883ca2a9"
dependencies = [
"cc",
"libc",
"pkg-config",
"libbz2-rs-sys",
]
[[package]]
@@ -253,9 +206,9 @@ dependencies = [
[[package]]
name = "crc"
version = "3.2.1"
version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675"
dependencies = [
"crc-catalog",
]
@@ -275,12 +228,6 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-utils"
version = "0.8.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
[[package]]
name = "crypto-common"
version = "0.1.6"
@@ -299,18 +246,18 @@ checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b"
[[package]]
name = "deranged"
version = "0.3.11"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
dependencies = [
"powerfmt",
]
[[package]]
name = "derive_arbitrary"
version = "1.3.2"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
dependencies = [
"proc-macro2",
"quote",
@@ -360,14 +307,14 @@ dependencies = [
[[package]]
name = "env_logger"
version = "0.11.6"
version = "0.11.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcaee3d8e3cfc3fd92428d477bc97fc29ec8716d180c0d74c643bb26166660e0"
checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
dependencies = [
"anstream",
"anstyle",
"env_filter",
"humantime",
"jiff",
"log",
]
@@ -384,7 +331,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
dependencies = [
"libc",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
@@ -395,12 +342,13 @@ checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
[[package]]
name = "flate2"
version = "1.0.35"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
dependencies = [
"crc32fast",
"miniz_oxide 0.8.0",
"libz-rs-sys",
"miniz_oxide",
]
[[package]]
@@ -500,19 +448,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
dependencies = [
"cfg-if",
"js-sys",
"libc",
"wasi 0.13.3+wasi-0.2.2",
"wasm-bindgen",
"windows-targets 0.52.6",
]
[[package]]
name = "gimli"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
[[package]]
name = "grammalecte_client"
version = "0.1.5"
@@ -525,7 +465,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
"thiserror 1.0.69",
"thiserror",
"tokio",
"zip",
]
@@ -610,17 +550,11 @@ version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0e7a4dd27b9476dc40cb050d3632d3bba3a70ddbff012285f7f8559a1e7e545"
[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
version = "1.5.2"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0"
checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80"
dependencies = [
"bytes",
"futures-channel",
@@ -671,21 +605,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",
"socket2 0.5.10",
"system-configuration",
"tokio",
"tower-service",
"tracing",
"windows-registry",
]
[[package]]
@@ -843,6 +784,16 @@ version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
[[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 = "is_terminal_polyfill"
version = "1.70.0"
@@ -855,6 +806,30 @@ version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "jiff"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c102670231191d07d37a35af3eb77f1f0dbf7a71be51a962dcd57ea607be7260"
dependencies = [
"jiff-static",
"log",
"portable-atomic",
"portable-atomic-util",
"serde",
]
[[package]]
name = "jiff-static"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cdde31a9d349f1b1f51a0b3714a5940ac022976f4b49485fc04be052b183b4c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "jobserver"
version = "0.1.31"
@@ -875,10 +850,25 @@ dependencies = [
]
[[package]]
name = "libc"
version = "0.2.169"
name = "libbz2-rs-sys"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
checksum = "775bf80d5878ab7c2b1080b5351a48b2f737d9f6f8b383574eebcc22be0dfccb"
[[package]]
name = "libc"
version = "0.2.172"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
[[package]]
name = "libz-rs-sys"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6489ca9bd760fe9642d7644e827b0c9add07df89857b0416ee15c1cc1a3b8c5a"
dependencies = [
"zlib-rs",
]
[[package]]
name = "linux-raw-sys"
@@ -910,29 +900,18 @@ checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
[[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 = "lzma-rs"
version = "0.3.0"
name = "lzma-rust2"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
checksum = "c60a23ffb90d527e23192f1246b14746e2f7f071cb84476dd879071696c18a4a"
dependencies = [
"byteorder",
"crc",
]
[[package]]
name = "lzma-sys"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
dependencies = [
"cc",
"libc",
"pkg-config",
"sha2",
]
[[package]]
@@ -949,18 +928,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]]
name = "miniz_oxide"
version = "0.7.3"
version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae"
dependencies = [
"adler",
]
[[package]]
name = "miniz_oxide"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a"
dependencies = [
"adler2",
]
@@ -974,7 +944,7 @@ dependencies = [
"hermit-abi",
"libc",
"wasi 0.11.0+wasi-snapshot-preview1",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
@@ -1009,15 +979,6 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
[[package]]
name = "object"
version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "576dfe1fc8f9df304abb159d767a29d0476f7750fbf8aa7ad07816004a207434"
dependencies = [
"memchr",
]
[[package]]
name = "once_cell"
version = "1.19.0"
@@ -1131,12 +1092,33 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "325a6d2ac5dee293c3b2612d4993b98aec1dff096b0a2dae70ed7d95784a05da"
[[package]]
name = "portable-atomic"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
[[package]]
name = "portable-atomic-util"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
dependencies = [
"portable-atomic",
]
[[package]]
name = "powerfmt"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
[[package]]
name = "ppmd-rust"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c834641d8ad1b348c9ee86dec3b9840d805acd5f24daa5f90c788951a52ff59b"
[[package]]
name = "ppv-lite86"
version = "0.2.17"
@@ -1145,38 +1127,37 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "proc-macro2"
version = "1.0.85"
version = "1.0.94"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23"
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
version = "1.0.36"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.8.5"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
dependencies = [
"ppv-lite86",
"rand_core",
@@ -1184,11 +1165,11 @@ dependencies = [
[[package]]
name = "rand_core"
version = "0.6.4"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
dependencies = [
"getrandom 0.2.15",
"getrandom 0.3.1",
]
[[package]]
@@ -1231,15 +1212,14 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
[[package]]
name = "reqwest"
version = "0.12.13"
version = "0.12.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "389a89e494bbc88bebf30e23da98742c843863a16a352647716116aa71fae80a"
checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f"
dependencies = [
"base64",
"bytes",
"encoding_rs",
"futures-core",
"futures-util",
"h2",
"http",
"http-body",
@@ -1248,29 +1228,26 @@ 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]]
@@ -1285,15 +1262,9 @@ dependencies = [
"libc",
"spin",
"untrusted",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
name = "rustc-demangle"
version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]]
name = "rustix"
version = "0.38.34"
@@ -1304,7 +1275,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
@@ -1320,21 +1291,14 @@ dependencies = [
"zeroize",
]
[[package]]
name = "rustls-pemfile"
version = "2.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d"
dependencies = [
"base64",
"rustls-pki-types",
]
[[package]]
name = "rustls-pki-types"
version = "1.7.0"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d"
checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
dependencies = [
"zeroize",
]
[[package]]
name = "rustls-webpki"
@@ -1365,7 +1329,7 @@ version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
dependencies = [
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
@@ -1399,18 +1363,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",
@@ -1419,14 +1393,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]]
@@ -1452,6 +1427,17 @@ dependencies = [
"digest",
]
[[package]]
name = "sha2"
version = "0.10.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
dependencies = [
"cfg-if",
"cpufeatures",
"digest",
]
[[package]]
name = "signal-hook-registry"
version = "1.4.2"
@@ -1484,12 +1470,22 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "socket2"
version = "0.5.7"
version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
dependencies = [
"libc",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
name = "socket2"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
dependencies = [
"libc",
"windows-sys 0.59.0",
]
[[package]]
@@ -1512,9 +1508,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
[[package]]
name = "syn"
version = "2.0.87"
version = "2.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
dependencies = [
"proc-macro2",
"quote",
@@ -1571,43 +1567,23 @@ dependencies = [
"cfg-if",
"fastrand",
"rustix",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
name = "thiserror"
version = "1.0.69"
version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
dependencies = [
"thiserror-impl 1.0.69",
]
[[package]]
name = "thiserror"
version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa"
dependencies = [
"thiserror-impl 2.0.3",
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.69"
version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "thiserror-impl"
version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568"
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
dependencies = [
"proc-macro2",
"quote",
@@ -1616,9 +1592,9 @@ dependencies = [
[[package]]
name = "time"
version = "0.3.36"
version = "0.3.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
checksum = "9d9c75b47bdff86fa3334a3db91356b8d7d86a9b839dab7d0bdc5c3d3a077618"
dependencies = [
"deranged",
"num-conv",
@@ -1629,9 +1605,9 @@ dependencies = [
[[package]]
name = "time-core"
version = "0.1.2"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
[[package]]
name = "tinystr"
@@ -1645,27 +1621,26 @@ dependencies = [
[[package]]
name = "tokio"
version = "1.44.0"
version = "1.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9975ea0f48b5aa3972bf2d888c238182458437cc2a19374b81b25cdf1023fb3a"
checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408"
dependencies = [
"backtrace",
"bytes",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"socket2 0.6.0",
"tokio-macros",
"windows-sys",
"windows-sys 0.61.2",
]
[[package]]
name = "tokio-macros"
version = "2.5.0"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
dependencies = [
"proc-macro2",
"quote",
@@ -1721,6 +1696,24 @@ dependencies = [
"tower-service",
]
[[package]]
name = "tower-http"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cc2d9e086a412a451384326f521c8123a99a466b329941a9403696bff9b0da2"
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"
@@ -1936,6 +1929,12 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3"
[[package]]
name = "windows-link"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-registry"
version = "0.4.0"
@@ -1953,7 +1952,7 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189"
dependencies = [
"windows-link",
"windows-link 0.1.0",
]
[[package]]
@@ -1962,7 +1961,7 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
dependencies = [
"windows-link",
"windows-link 0.1.0",
]
[[package]]
@@ -1974,6 +1973,24 @@ dependencies = [
"windows-targets 0.52.6",
]
[[package]]
name = "windows-sys"
version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets 0.52.6",
]
[[package]]
name = "windows-sys"
version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
dependencies = [
"windows-link 0.2.1",
]
[[package]]
name = "windows-targets"
version = "0.52.6"
@@ -2123,15 +2140,6 @@ version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
[[package]]
name = "xz2"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2"
dependencies = [
"lzma-sys",
]
[[package]]
name = "yoke"
version = "0.7.4"
@@ -2221,34 +2229,37 @@ dependencies = [
[[package]]
name = "zip"
version = "2.3.0"
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84e9a772a54b54236b9b744aaaf8d7be01b4d6e99725523cb82cb32d1c81b1d7"
checksum = "eb2a05c7c36fde6c09b08576c9f7fb4cda705990f73b58fe011abf7dfb24168b"
dependencies = [
"aes",
"arbitrary",
"bzip2",
"constant_time_eq",
"crc32fast",
"crossbeam-utils",
"deflate64",
"displaydoc",
"flate2",
"getrandom 0.3.1",
"hmac",
"indexmap",
"lzma-rs",
"lzma-rust2",
"memchr",
"pbkdf2",
"ppmd-rust",
"sha1",
"thiserror 2.0.3",
"time",
"xz2",
"zeroize",
"zopfli",
"zstd",
]
[[package]]
name = "zlib-rs"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "868b928d7949e09af2f6086dfc1e01936064cc7a819253bce650d4e2a2d63ba8"
[[package]]
name = "zopfli"
version = "0.8.1"

View File

@@ -13,19 +13,19 @@ categories = ["text-processing"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde_json = "1.0.96"
reqwest = { version = "0.12.4", features = ["json"] }
serde = { version = "1.0.163", features = ["derive"] }
log = "0.4.17"
zip = { version = "2.1.3", optional = true }
mktemp = { version = "0.5.0", optional = true }
rand = { version = "0.8.5", optional = true }
serde_json = "1.0.145"
reqwest = { version = "0.12.24", features = ["json"] }
serde = { version = "1.0.228", features = ["derive"] }
log = "0.4.28"
zip = { version = "6.0.0", optional = true }
mktemp = { version = "0.5.1", optional = true }
rand = { version = "0.9.2", optional = true }
port_scanner = { version = "0.1.5", optional = true }
thiserror = "1.0.61"
thiserror = "2.0.17"
[features]
embedded-server = ["zip", "mktemp", "rand", "port_scanner"]
[dev-dependencies]
env_logger = "0.11.3"
tokio = { version = "1.28.1", features = ["full"] }
env_logger = "0.11.8"
tokio = { version = "1.48.0", features = ["full"] }

View File

@@ -1,9 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchUpdateTypes": ["major", "minor", "patch"],
"automerge": true
}
]
}
"extends": ["local>renovate/presets"]
}

View File

@@ -378,7 +378,7 @@ impl GrammalecteClient {
options: &HashMap<GramOpt, bool>,
) -> Result<CheckResult, Error> {
let url = format!("{}/gc_text/fr", self.base_url);
log::debug!("Will use URL {} for spell check", url);
log::debug!("Will use URL {url} for spell check");
let options = options
.iter()
@@ -406,7 +406,7 @@ impl GrammalecteClient {
/// Ask for word suggestion
pub async fn suggest(&self, token: &str) -> Result<SuggestResult, Error> {
let url = format!("{}/suggest/fr", self.base_url);
log::debug!("Will use URL {} for word suggestion", url);
log::debug!("Will use URL {url} for word suggestion");
let mut params = HashMap::new();
params.insert("token", token);