The `schemars` crate is a dependency of multiple workspace crates in the same version. Its version number is repeated multiple times in the respective `*/Cargo.toml` files. This requires more maintenance effort and risks versions drifting. As long as all crates depend on the same version, it makes more sense to have `schemars` as a workspace dependency. See: <https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table> |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||