oid: Make `Oid::SHA1_LEN` public
modified crates/radicle-core/src/repo.rs
@@ -14,8 +14,8 @@ pub const RAD_PREFIX: &str = "rad:";
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -106,12 +106,10 @@ impl RepoId {
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-oid/src/lib.rs
@@ -86,7 +86,7 @@ pub enum Oid {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire.rs
@@ -7,7 +7,6 @@ pub use message::{AddressType, MessageType};
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -45,8 +44,11 @@ pub type Size = u16;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -382,19 +384,13 @@ where
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -633,7 +629,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|