meta: prepare for publishing

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I02ee54baee048c58a480522ce79159eb6a6a6964
This commit is contained in:
raf 2026-05-11 13:25:19 +03:00
commit 265a30d3c8
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
18 changed files with 102 additions and 78 deletions

View file

@ -1,9 +1,11 @@
[package]
name = "ncro-mesh"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false
name = "ncro-mesh"
version.workspace = true
edition.workspace = true
license.workspace = true
description.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
chrono.workspace = true

View file

@ -72,11 +72,11 @@ impl Node {
})
}
#[must_use]
#[must_use]
pub fn id(&self) -> String {
hex::encode(&self.public_key()[..8])
}
#[must_use]
#[must_use]
pub fn public_key(&self) -> [u8; 32] {
self.signing_key.verifying_key().to_bytes()
}