radicle-heartwood-lfs/crates/radicle-cli
Sebastian Martinez 1d7478cd90 radicle: introduce `cob::common::Title`
This patch adds the `cob::common::Title` struct, this allows instead of
using `std::str::String` or generics and traits for it, to define more
precisely what a title should be.
It trims the provided string and makes sure it contains no carriage
return or new line characters.

Where a `std::str::String` makes more sense so it's easier to mutate it,
we keep the code as is.

Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2025-08-19 17:05:33 +02:00
..
examples cli: extend `rad cob log` behaviour 2025-08-19 15:01:26 +01:00
src radicle: introduce `cob::common::Title` 2025-08-19 17:05:33 +02:00
tests radicle: introduce `cob::common::Title` 2025-08-19 17:05:33 +02:00
Cargo.toml cli: Use human-panic 2025-08-17 20:53:53 +02:00
build.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00