v0.2.1-pre.002

This commit is contained in:
2026-08-17 18:02:18 +02:00
parent d98d152f08
commit 0cff0406ab
15 changed files with 2989 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
// file: crates/ksp-onchain-transport-lib/tests/dependency_boundary.rs
// version: 1
#[test]
fn transport_manifest_preserves_ksp_dependency_firewall() {
let manifest_path = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("Cargo.toml");
let manifest = std::fs::read_to_string(manifest_path).expect("transport manifest must be readable during integration tests");
for forbidden in ["ksp-config-lib", "ksp-store-api", "ksp-store-lib", "ksp-program-api", "ksp-program-lib", "tracing =", "tracing."] {
assert!(!manifest.contains(forbidden), "forbidden direct transport dependency detected: {forbidden}");
}
assert!(manifest.contains("ksp-core-lib"));
assert!(manifest.contains("ksp-logging-lib"));
assert!(manifest.contains("reqwest.workspace = true"));
}