radicle-heartwood-lfs/crates/radicle/src/node
Fintan Halpenny fe6a11d0db radicle: fix schemars macro on FetchPackSizeLimit
While running `cargo-semver-checks`, there was an issue that was surfaced
regarding `serde(into)`, `serde(try_from)` and `schemars(transparent)` being
used, and they are incompatible.

This appeared to be a semver issue, on the side of `schemars`, since the issue
would only appear when adding `radicle` as a fresh dependency. The intuition for
this is that once `schemars` was updated locally, the same error appeared when
attempting to build the `radicle` crate.

To avoid this, `schemars` provides a `!` operator for the macro[^0]:

> You can also “unset” serde attributes by including them with a ! prefix in a
> schemars attribute, which will make schemars ignore the corresponding serde
> attribute item

[^0]: https://docs.rs/schemars_derive/latest/schemars_derive/derive.JsonSchema.html#attributes
2025-07-14 14:51:59 +01:00
..
address repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
db repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
events repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
notifications repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
policy repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
refs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
seed repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
sync radicle: implement std::error::Error for AnnouncerError 2025-07-09 14:40:53 +01:00
address.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
config.rs radicle: fix schemars macro on FetchPackSizeLimit 2025-07-14 14:51:59 +01:00
db.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
device.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
events.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
features.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
notifications.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
policy.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
refs.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
routing.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
seed.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
sync.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
timestamp.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00