Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: re-export radicle_core::NodeId
Fintan Halpenny committed 4 months ago
commit f816d7b2a2e2e7ff87bf7c1bdd7da8af61dc9c29
parent e09cdb8f6703cda044c50b45d35c9df29f82216f
4 files changed +4 -3
modified Cargo.lock
@@ -2835,6 +2835,7 @@ dependencies = [
 "qcheck",
 "qcheck-macros",
 "radicle-cob",
+
 "radicle-core",
 "radicle-crypto",
 "radicle-git-metadata",
 "radicle-git-ref-format",
modified Cargo.toml
@@ -46,6 +46,7 @@ radicle = { version = "0.20", path = "crates/radicle" }
radicle-cli = { version = "0.17", path = "crates/radicle-cli" }
radicle-cli-test = { path = "crates/radicle-cli-test" }
radicle-cob = { version = "0.17", path = "crates/radicle-cob" }
+
radicle-core = { version = "0.1", path = "crates/radicle-core" }
radicle-crypto = { version = "0.14", path = "crates/radicle-crypto" }
radicle-dag = { version = "0.10", path = "crates/radicle-dag" }
radicle-fetch = { version = "0.16", path = "crates/radicle-fetch" }
modified crates/radicle/Cargo.toml
@@ -34,6 +34,7 @@ multibase = { workspace = true }
nonempty = { workspace = true, features = ["serialize"] }
qcheck = { workspace = true, optional = true }
radicle-cob = { workspace = true, features = ["git2"] }
+
radicle-core = { workspace = true, features = ["git2"] }
radicle-crypto = { workspace = true, features = ["git-ref-format-core", "ssh", "sqlite", "cyphernet"] }
radicle-git-ref-format = { workspace = true, features = ["macro", "serde"] }
radicle-oid = { workspace = true, features = ["git2", "serde", "std", "sha1"] }
modified crates/radicle/src/node.rs
@@ -50,6 +50,7 @@ pub use cyphernet::addr::{HostName, PeerAddr, PeerAddrParseError};
pub use db::Database;
pub use events::{Event, Events};
pub use features::Features;
+
pub use radicle_core::NodeId;
pub use seed::SyncedAt;
pub use timestamp::Timestamp;

@@ -1017,9 +1018,6 @@ impl<T: DeserializeOwned> Iterator for LineIter<T> {
    }
}

-
/// Public node & device identifier.
-
pub type NodeId = PublicKey;
-

/// Node controller.
#[derive(Debug, Clone)]
pub struct Node {