radicle-heartwood-lfs/crates/radicle-node/src
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
..
runtime chore: Automated fixes generated by clippy 2025-07-25 11:25:05 +02:00
test 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
worker canonical: Support Annotated Tags 2025-08-04 17:00:54 +02:00
control.rs chore: Automated fixes generated by clippy 2025-07-25 11:25:05 +02:00
lib.rs node, protocol: Refactor 2025-07-16 21:15:52 +02:00
main.rs radicle/config/node: Use newtypes 2025-08-19 13:16:19 +02:00
runtime.rs radicle/config/node: Use newtypes 2025-08-19 13:16:19 +02:00
test.rs node, protocol: Refactor 2025-07-16 21:15:52 +02:00
tests.rs radicle: introduce `cob::common::Title` 2025-08-19 17:05:33 +02:00
wire.rs chore: Automated fixes generated by clippy 2025-07-25 11:25:05 +02:00
worker.rs Replace unit-returning-closure with drop() 2025-08-19 10:57:37 +01:00