bxnet-ops/org-ops-core/Cargo.toml
Tyler J King 8ed9bf6413 feat(org-ops-core): add git_blob_hash utility, migrate test_evidence CID
Add git_hash module that computes SHA-1 blob hashes identical to
`git hash-object --stdin`. Includes BPF map key extraction that
handles both legacy sha256: and new gitsha1: CID formats.

Migrate TestRunResult::compute_cid() from custom SHA-256 to git
blob hash. New CID format: `gitsha1:{40 hex chars}`. File storage
path uses the full CID as filename (backward compatible for reads
since old files retain their sha256: names).

New dependency: sha1 0.10 (RustCrypto, same family as sha2).

See cid-reconciliation-audit.md Sites 1, 3.

Signed-off-by: Tyler King <tking@guildhouse.dev>
2026-04-12 07:44:33 -04:00

22 lines
534 B
TOML

[package]
name = "org-ops-core"
description = "Framework for building governed consortium CLI tools"
version.workspace = true
edition.workspace = true
[dependencies]
clap = { version = "4", features = ["derive", "string"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
reqwest = { version = "0.12", features = ["json", "blocking"] }
rand = "0.8"
sha1 = "0.10"
sha2 = "0.10"
base64 = "0.22"
urlencoding = "2"
uuid = { version = "1", features = ["v4"] }
hex = "0.4"
[dev-dependencies]
tempfile = "3"