Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
185 changes: 185 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@ clap = { version = "4", features = ["derive"] }

# Configuration
figment = { version = "0.10", features = ["toml", "env"] }

# Hashing
blake3 = "1"

# Binary serialization
ciborium = "0.2"

# Testing
tempfile = "3"
4 changes: 4 additions & 0 deletions crates/koinon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jiff.workspace = true
serde.workspace = true
snafu.workspace = true
tracing.workspace = true
compact_str.workspace = true
blake3.workspace = true
ciborium.workspace = true

[dev-dependencies]
serde_json.workspace = true
tempfile.workspace = true

[lints]
workspace = true
5 changes: 5 additions & 0 deletions crates/koinon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ pub mod coordinates;
pub mod frequency;
pub mod id;
pub mod power;
pub mod tamper_log;
pub mod timestamp;

pub use coordinates::{Coordinates, CoordinatesError, Datum};
pub use frequency::Frequency;
pub use id::{DeviceId, EntityId, FrequencyId, SignalId};
pub use power::Power;
pub use tamper_log::{
ChainStatus, LogEntry, LogEntryKind, TamperLog, TamperLogError, VerificationResult,
verify_chain,
};
pub use timestamp::{Timestamp, TimestampError};
Loading
Loading