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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//! This a crate for defining core data type for the Radicle protocol, such as
//! [`RepoId`].
//!
//! # Feature Flags
//!
//! The only default feature is `std`.
//!
//! ## `std`
//!
//! [`OsString`]: ::doc_std::ffi::OsString
//!
//! Provides implementation of [`TryFrom<OsString>`].
//!
//! Enabled by default, since it is expected that most dependents will use the
//! standard library.
//!
//! ## `git2`
//!
//! [`git2::Oid`]: ::git2::Oid
//!
//! Provides conversion from a [`git2::Oid`] to a [`RepoId`].
//!
//! ## `gix`
//!
//! [`ObjectId`]: ::gix_hash::ObjectId
//!
//! Provides conversion from a [`ObjectId`] to a [`RepoId`].
//!
//! ## `radicle-git-ref-format`
//!
//! Provides conversions from data types defined in `radicle-core` into valid
//! reference components and/or strings.
//!
//! ## `serde`
//!
//! [`Serialize`]: ::serde::ser::Serialize
//! [`Deserialize`]: ::serde::de::Deserialize
//!
//! Provides implementations of [`Serialize`] and [`Deserialize`].
//!
//! ## `schemars`
//!
//! [`JsonSchema`]: ::schemars::JsonSchema
//!
//! Provides implementations of [`JsonSchema`].
//!
//! ## `proptest`
//!
//! [`proptest::Strategy`]: ::proptest::strategy::Strategy
//!
//! Provides functions for generating different types of [`proptest::Strategy`].
//!
//! ## `qcheck`
//!
//! [`qcheck::Arbitrary`]: ::qcheck::Arbitrary
//!
//! Provides implementations of [`qcheck::Arbitrary`].
//!
//! ## `sqlite`
//!
//! [`sqlite::BindableWithIndex`]: ::sqlite::BindableWithIndex
//! [`sqlite::Value`]: ::sqlite::Value
//!
//! Provides implementations of [`sqlite::BindableWithIndex`] and `TryFrom`
//! implementations from the [`sqlite::Value`] type to the domain type.
extern crate std as doc_std;
extern crate alloc;
pub use NodeId;
pub use RepoId;