[package]
edition = "2024"
name = "vela-protocol"
version = "0.102.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for the Vela scientific knowledge protocol: replayable frontier state, signed canonical events, and proof packets."
homepage = "https://github.com/vela-science/vela"
readme = "README.md"
keywords = [
"science",
"frontier",
"protocol",
"ed25519",
"replay",
]
categories = [
"science",
"data-structures",
"cryptography",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/vela-science/vela"
[lib]
name = "vela_protocol"
path = "src/lib.rs"
[[test]]
name = "artifact_to_state"
path = "tests/artifact_to_state.rs"
[[test]]
name = "bbb_populate_events"
path = "tests/bbb_populate_events.rs"
[[test]]
name = "carina_examples"
path = "tests/carina_examples.rs"
[[test]]
name = "cascade_replay_at_scale"
path = "tests/cascade_replay_at_scale.rs"
[[test]]
name = "cli_release_contract"
path = "tests/cli_release_contract.rs"
[[test]]
name = "cross_frontier_dep_persistence"
path = "tests/cross_frontier_dep_persistence.rs"
[[test]]
name = "cross_impl_reducer_fixtures"
path = "tests/cross_impl_reducer_fixtures.rs"
[[test]]
name = "evidence_atom_locator_repair"
path = "tests/evidence_atom_locator_repair.rs"
[[test]]
name = "finding_entity_resolve"
path = "tests/finding_entity_resolve.rs"
[[test]]
name = "finding_span_repair"
path = "tests/finding_span_repair.rs"
[[test]]
name = "frontier_repo"
path = "tests/frontier_repo.rs"
[[test]]
name = "impact"
path = "tests/impact.rs"
[[test]]
name = "multi_actor_joint_signature"
path = "tests/multi_actor_joint_signature.rs"
[[test]]
name = "replay_perf"
path = "tests/replay_perf.rs"
[[test]]
name = "replication_prediction_deposit"
path = "tests/replication_prediction_deposit.rs"
[[test]]
name = "runtime_adapters"
path = "tests/runtime_adapters.rs"
[[test]]
name = "source_adapters"
path = "tests/source_adapters.rs"
[[test]]
name = "state_integrity"
path = "tests/state_integrity.rs"
[[test]]
name = "workbench_review_parity"
path = "tests/workbench_review_parity.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.axum]
version = "0.8"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.colored]
version = "3"
[dependencies.ctrlc]
version = "3"
features = ["termination"]
[dependencies.dotenvy]
version = "0.15"
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.indicatif]
version = "0.18"
[dependencies.libc]
version = "0.2"
[dependencies.quick-xml]
version = "0.37"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"blocking",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"sqlite",
]
default-features = false
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.toml]
version = "0.8"
[dependencies.tower-http]
version = "0.6"
features = [
"cors",
"fs",
]
[dependencies.urlencoding]
version = "2"
[dev-dependencies]
[lints.clippy]
cloned_ref_to_slice_refs = "allow"
collapsible_match = "allow"
doc_lazy_continuation = "allow"
double_must_use = "allow"
empty_line_after_doc_comments = "allow"
large_enum_variant = "allow"
nonminimal_bool = "allow"
ptr_arg = "allow"
too_many_arguments = "allow"
unnecessary_sort_by = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"