radicle-heartwood-lfs/crates/radicle/src/node
Lorenz Leutgeb 22b2871f64 radicle: Add Version to User Agent
The main motivation behind this change is to get just a little
telemetry information from nodes on the network, namely the version
of Radicle they are running.

This is achieved by rewriting `impl Default for UserAgent` which now
uses the version information provided by the build script also used
in other crates.

Also, a new configuration option `node.userAgent` is added, which
allows users to override the user agent if they so please, or set
the value `null`, which will in turn send the user agent
`/radicle/`, which is not really helpful, and the default prior to
this commit.

Creations of `UserAgent` in the whole workspace is cleaned up. In
order to do that `UserAgent::test` is introduced.
2026-04-02 16:26:46 +01:00
..
address cargo: Add feature for Tor support 2026-03-31 16:24:22 +02:00
db radicle/node/db: Fix type of IPv6 addresses 2026-03-19 21:07:51 +00:00
events repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
notifications rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
policy rust/edition: 2021 → 2024 2026-03-30 16:56:58 +02:00
refs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
seed rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
sync rust/edition: 2021 → 2024 2026-03-30 16:56:58 +02:00
address.rs cargo: Add feature for Tor support 2026-03-31 16:24:22 +02:00
command.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
config.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
db.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
device.rs radicle: Refactor COB Storage Access 2026-03-31 17:57:14 +01:00
events.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
features.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
notifications.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +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 rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
seed.rs radicle: Remove unused `SyncedAt::load` 2026-03-17 21:31:42 +01:00
sync.rs cli/sync: migrate to clap 2025-11-01 10:52:13 +01:00
timestamp.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00