1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Shared substrate for the radicle-artifact crates.
//!
//! Holds everything both sides of the control socket need to agree on,
//! with no networking stack attached: the wire [`protocol`], the [`cid`]
//! helpers for artifact content addressing, and the [`keys`] endpoint
//! identity type. Consumers that only speak the protocol (CLI, async
//! embedders) depend on this crate without pulling in iroh or tokio.
use io;
/// Directory name (under the radicle home) that holds artifact state —
/// the node's store and the control socket both live here, so the client
/// and the node must agree on it.
pub const ARTIFACTS_DIR: &str = "artifacts";
/// Errors from CID computation and endpoint identity handling.