radicle: Re-export `radicle_core::NodeId`
This commit is contained in:
parent
7c016f9219
commit
73827f5362
|
|
@ -2825,6 +2825,7 @@ dependencies = [
|
|||
"qcheck",
|
||||
"qcheck-macros",
|
||||
"radicle-cob",
|
||||
"radicle-core",
|
||||
"radicle-crypto",
|
||||
"radicle-git-metadata",
|
||||
"radicle-git-ref-format",
|
||||
|
|
|
|||
|
|
@ -45,6 +45,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" }
|
||||
|
|
|
|||
|
|
@ -33,6 +33,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-localtime = { workspace = true, features = ["serde"] }
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
@ -1002,9 +1003,6 @@ impl<T: DeserializeOwned> Iterator for LineIter<T> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Public node & device identifier.
|
||||
pub type NodeId = PublicKey;
|
||||
|
||||
/// Node controller.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Node {
|
||||
|
|
|
|||
Loading…
Reference in New Issue