Matthias Beyer
ff021d5889
cli: Rewrite `#[path="…"]` module declarations
...
Rewrite module declarations that use the `#[path="…"]` annotation
to the more idomatic `pub mod …` + `pub use …` forms.
For the "self" module, that is not possible because `self` is an
identifier in Rust, and also `r#self` is not admissable as a raw
identifier, so stick to `rad_self`.
Files in submodules were patched as appropriate.
2025-09-10 21:09:29 +02:00
Matthias Beyer
6a1b13bb66
cli: Use human-panic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-08-17 20:53:53 +02:00
Matthias Beyer
1e66c57643
refactor: Replace return Err(anyhow!()) with anyhow::bail!()
...
This is equivalent to before, but reduces cognitive load when browsing
the source.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-08-17 20:17:11 +02:00
Lorenz Leutgeb
d7b48b9e29
radicle: Move logging setup calls to binaries
2025-08-07 08:30:59 +01:00
Lorenz Leutgeb
5bc2dc677b
repo: Move workspace crates into `crates` subdirectory
...
This keeps the top level of the repo cleaner, e.g.
<https://github.com/radicle-dev/heartwood > scrolls less and
<https://app.radicle.xyz/nodes/rosa.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/ >
might show more files at the top level.
This way we also don't have to explicitly name all crates in
`Cargo.toml`.
2025-06-09 15:09:21 +02:00