Skip to main content

Crate radicle_core

Crate radicle_core 

Source
Expand description

This a crate for defining core data type for the Radicle protocol, such as RepoId.

§Feature Flags

The only default feature is std.

§std

Provides implementation of TryFrom<OsString>.

Enabled by default, since it is expected that most dependents will use the standard library.

§git2

Provides conversion from a git2::Oid to a RepoId.

§gix

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

Provides implementations of Serialize and Deserialize.

§schemars

Provides implementations of JsonSchema.

§proptest

Provides functions for generating different types of proptest::Strategy.

§qcheck

Provides implementations of qcheck::Arbitrary.

§sqlite

Provides implementations of sqlite::BindableWithIndex and TryFrom implementations from the sqlite::Value type to the domain type.

Re-exports§

pub use node::NodeId;
pub use repo::RepoId;

Modules§

node
A Radicle node on the network is identified by its NodeId, which in turn is a Ed25519 public key.
repo