[package]
edition = "2024"
rust-version = "1.85"
name = "lys-core"
version = "0.3.2"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
exclude = [
"tests/go-conformance/",
"tests/cose-conformance/",
"tests/go_conformance.rs",
"tests/cose_conformance.rs",
"tests/receipt_conformance.rs",
"tests/bundle_conformance/",
"tests/consistency_conformance.rs",
"tests/consistency_receipt_conformance.rs",
"tests/delegation_conformance/",
"tests/harness/",
"tests/go_cache_errors.rs",
"examples/go_conformance_fixture.rs",
"tests/openssl_csr_interop.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Domain-agnostic cryptographic trust primitives — certificate authority, Merkle transparency log, signed attestations, sealed envelopes, and Ed25519 key management."
readme = "README.md"
keywords = [
"cryptography",
"transparency",
"merkle",
"attestation",
"agents",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/ablative-io/lys"
[features]
default = []
unstable-anchor = []
[lib]
name = "lys_core"
path = "src/lib.rs"
[[test]]
name = "clock"
path = "tests/clock.rs"
[[test]]
name = "delegation_vector"
path = "tests/delegation_vector/main.rs"
[[test]]
name = "seal_derivation"
path = "tests/seal_derivation.rs"
[[test]]
name = "signed_note_crosscheck"
path = "tests/signed_note_crosscheck.rs"
[dependencies.aes-gcm]
version = "0.10"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ciborium]
version = "0.2"
[dependencies.ct-merkle]
version = "0.2"
[dependencies.ed25519-dalek]
version = "2"
features = [
"pkcs8",
"serde",
]
[dependencies.hkdf]
version = "0.12"
[dependencies.postcard]
version = "1"
features = ["alloc"]
[dependencies.rand]
version = "0.9"
[dependencies.rcgen]
version = "0.13"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
[dependencies.tracing]
version = "0.1"
[dependencies.x25519-dalek]
version = "2"
features = [
"serde",
"static_secrets",
]
[dependencies.x509-parser]
version = "0.16"
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.coset]
version = "0.4"
[dev-dependencies.rustix]
version = "1.1"
features = [
"fs",
"process",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.signed_note]
version = "0.2.0"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
boxed_local = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
expect_used = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
flat_map_option = "warn"
future_not_send = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
large_futures = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
manual_let_else = "warn"
map_err_ignore = "warn"
match_bool = "warn"
match_same_arms = "warn"
match_wild_err_arm = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "warn"
panic = "warn"
rc_buffer = "warn"
redundant_clone = "warn"
result_large_err = "warn"
str_to_string = "allow"
string_lit_as_bytes = "warn"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "warn"
unimplemented = "warn"
unnecessary_wraps = "warn"
unreachable = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
vec_box = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1