Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
localtime: localise the localtime dependency
Merged fintohaps opened 4 months ago

The localtime crate was defined by cloudhead, and is a minimal repository with a single lib.rs.

Instead of using it as an external dependency, copy the code directly into a new workspace crate radicle-localtime.

The default serde implementation goes through the LocalTime’s seconds values rather than milliseconds, since this is the more common format. This allows the removal of the serde_ext functions. The one place milliseconds was used was for the radicle::cob::common::Timestamp type, where the Serialize and Deserialize implementations are manually written.

It also adds a schemars feature to remove schemars_ext functions in radicle as well.

fintohaps opened with revision 3a1409f5 on base cf023f75 +400 -216 4 months ago

The localtime crate was defined by cloudhead, and is a minimal repository with a single lib.rs.

Instead of using it as an external dependency, copy the code directly into a new workspace crate radicle-localtime.

The default serde implementation goes through the LocalTime’s seconds values rather than milliseconds, since this is the more common format. This allows the removal of the serde_ext functions. The one place milliseconds was used was for the radicle::cob::common::Timestamp type, where the Serialize and Deserialize implementations are manually written.

It also adds a schemars feature to remove schemars_ext functions in radicle as well.

lorenz pushed revision 2 edef4f74 on base 3168107d +400 -216 3 months ago

Rebase

lorenz merged revision edef4f74 at d98033a1 3 months ago