radicle-core 0.1.0

Radicle core data type definitions
Documentation

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.