radicle-heartwood-lfs/crates/radicle-cli
Lorenz Leutgeb 80c1bba76f
radicle: Prevent `RAD_SOCKET` from polluting tests
The value of `RAD_SOCKET` influences the outcome of `cargo test`.

Users that set this environment variable to, e.g. point `rad` at
a socket at a custom location, were surprised that execution of
tests would interact with their node.

Split `Home::socket` into two functions. `Home::socket_default` is
"pure" and only dependent on the path represented by `Home`. On the
other hand, `Home::socket_from_env` interprets the environment.

Most users will want to use `Home::socket_from_env`.
2026-04-09 17:53:49 +02:00
..
examples radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
src radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
tests radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
CHANGELOG.md cli: Update to 0.20.0 2026-03-26 15:32:43 +00:00
Cargo.toml cargo: Add feature for Tor support 2026-03-31 16:24:22 +02:00
build.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00