[package]
edition = "2021"
rust-version = "1.78"
name = "affidavit"
version = "26.6.22"
authors = ["Sean Chatman <xpointsh@gmail.com>"]
build = false
exclude = [
"thesis/",
"praxis/",
"tools/",
"web/",
"wip/",
"docs/",
"reference/",
"ontology/",
"nexus_reviews/",
"*.py",
".claude/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provenance Layer — receipt assembly and certification (verify a witness against a format standard; never decide honesty)."
homepage = "https://github.com/seanchatmangpt/affidavit"
documentation = "https://docs.rs/affidavit"
readme = "README.md"
keywords = [
"provenance",
"receipt",
"blake3",
"verification",
"ocel",
]
categories = [
"security",
"development-tools",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/seanchatmangpt/affidavit"
[features]
all = [
"inspection",
"discovery",
"conformance",
"predictive",
"lsp",
"file-watch",
"mutation",
"fixture-db",
"otel",
"metrics",
"json-output",
"shell",
"ui",
"benchmarking",
"profiling",
"gpu",
"remediation",
"pqc",
"quality-monitor",
"webhook",
]
benchmarking = [
"criterion",
"rayon",
]
conformance = ["discovery"]
core = ["wasm4pm-compat"]
default = ["core"]
dev = ["all"]
discovery = [
"wasm4pm",
"chrono",
"hex",
"core",
]
file-watch = [
"notify",
"shell",
"tokio",
]
fixture-db = ["chrono"]
gpu = [
"wgpu",
"bytemuck",
"pollster",
]
inspection = [
"chicago-tdd-tools",
"glob",
"colored",
]
json-output = []
lsp = [
"lsp-max",
"tokio",
]
metrics = [
"otel",
"prometheus",
"opentelemetry-prometheus",
]
mutation = [
"clnrm-core",
"tera",
"quickcheck",
"uuid",
"rand",
]
otel = [
"opentelemetry",
"opentelemetry-jaeger",
"tracing",
"tracing-subscriber",
]
pqc = []
predictive = ["conformance"]
profiling = ["benchmarking"]
quality-monitor = [
"syn",
"quote",
"shell",
"tokio",
]
remediation = [
"syn",
"quote",
"proc-macro2",
"tempfile",
]
shell = [
"rustyline",
"tokio",
"shlex",
]
ui = [
"colored",
"indicatif",
]
webhook = [
"reqwest",
"shell",
"tokio",
]
[lib]
name = "affidavit"
path = "src/lib.rs"
[[bin]]
name = "affi"
path = "src/bin/affi.rs"
[[bin]]
name = "affi-shell"
path = "src/bin/affi-shell.rs"
required-features = ["shell"]
[[example]]
name = "admission_gate"
path = "examples/admission_gate.rs"
[[example]]
name = "b1_throughput_tests"
path = "examples/b1_throughput_tests.rs"
[[example]]
name = "chain_build"
path = "examples/chain_build.rs"
[[example]]
name = "codegen_maximalist_verbs"
path = "examples/codegen_maximalist_verbs.rs"
[[example]]
name = "discover_shapeb"
path = "examples/discover_shapeb.rs"
required-features = ["discovery"]
[[example]]
name = "full_pipeline"
path = "examples/full_pipeline.rs"
required-features = ["lsp"]
[[example]]
name = "observable_spans"
path = "examples/observable_spans.rs"
[[example]]
name = "ocel_events"
path = "examples/ocel_events.rs"
[[example]]
name = "ocel_western_electric_demo"
path = "examples/ocel_western_electric_demo.rs"
[[example]]
name = "portfolio_monitor_simulation"
path = "examples/portfolio_monitor_simulation.rs"
[[example]]
name = "receipt_determinism"
path = "examples/receipt_determinism.rs"
[[example]]
name = "sbom_supply_chain_demo"
path = "examples/sbom_supply_chain_demo.rs"
[[example]]
name = "swarm_monitor"
path = "examples/swarm_monitor.rs"
[[example]]
name = "verdict_diagnostics"
path = "examples/verdict_diagnostics.rs"
required-features = ["lsp"]
[[example]]
name = "verify_stages"
path = "examples/verify_stages.rs"
[[example]]
name = "webhook_slack_integration"
path = "examples/webhook_slack_integration.rs"
[[example]]
name = "western_electric_extended"
path = "examples/western_electric_extended.rs"
[[test]]
name = "adversarial"
path = "tests/adversarial.rs"
[[test]]
name = "catalog_tests"
path = "tests/catalog_tests.rs"
[[test]]
name = "chicago_tdd_witness"
path = "tests/chicago_tdd_witness.rs"
[[test]]
name = "cli_dispatch"
path = "tests/cli_dispatch.rs"
[[test]]
name = "clnrm_witness"
path = "tests/clnrm_witness.rs"
[[test]]
name = "court_law_witness"
path = "tests/court_law_witness.rs"
[[test]]
name = "dx_full_pipeline_e2e"
path = "tests/dx_full_pipeline_e2e.rs"
[[test]]
name = "dx_introspect_e2e"
path = "tests/dx_introspect_e2e.rs"
[[test]]
name = "dx_verbs_e2e"
path = "tests/dx_verbs_e2e.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "ghost_variant_findings"
path = "tests/ghost_variant_findings.rs"
[[test]]
name = "global_e2e_maximalist"
path = "tests/global_e2e_maximalist.rs"
[[test]]
name = "maximalist_tracing"
path = "tests/maximalist_tracing.rs"
[[test]]
name = "ocel_quality_integration"
path = "tests/ocel_quality_integration.rs"
[[test]]
name = "otel_all_spans"
path = "tests/otel_all_spans.rs"
[[test]]
name = "otel_weaver_registry"
path = "tests/otel_weaver_registry.rs"
[[test]]
name = "otel_witness"
path = "tests/otel_witness.rs"
[[test]]
name = "property_based"
path = "tests/property_based.rs"
[[test]]
name = "quality_monitor"
path = "tests/quality_monitor.rs"
[[test]]
name = "reference_admission_carrier"
path = "tests/reference_admission_carrier.rs"
[[test]]
name = "reference_arc_direction"
path = "tests/reference_arc_direction.rs"
[[test]]
name = "reference_between01"
path = "tests/reference_between01.rs"
[[test]]
name = "reference_bipartite_arc"
path = "tests/reference_bipartite_arc.rs"
[[test]]
name = "reference_bipartite_typestate"
path = "tests/reference_bipartite_typestate.rs"
[[test]]
name = "reference_bpmn_build"
path = "tests/reference_bpmn_build.rs"
[[test]]
name = "reference_bpmn_components"
path = "tests/reference_bpmn_components.rs"
[[test]]
name = "reference_bpmn_kinds"
path = "tests/reference_bpmn_kinds.rs"
[[test]]
name = "reference_bpmn_pool"
path = "tests/reference_bpmn_pool.rs"
[[test]]
name = "reference_cancellation_region"
path = "tests/reference_cancellation_region.rs"
[[test]]
name = "reference_cardinality"
path = "tests/reference_cardinality.rs"
[[test]]
name = "reference_causal_bindings"
path = "tests/reference_causal_bindings.rs"
[[test]]
name = "reference_causal_correlation"
path = "tests/reference_causal_correlation.rs"
[[test]]
name = "reference_causal_net"
path = "tests/reference_causal_net.rs"
[[test]]
name = "reference_choice_graph"
path = "tests/reference_choice_graph.rs"
[[test]]
name = "reference_condition_cell"
path = "tests/reference_condition_cell.rs"
[[test]]
name = "reference_conformance_carrier"
path = "tests/reference_conformance_carrier.rs"
[[test]]
name = "reference_conformance_clamp"
path = "tests/reference_conformance_clamp.rs"
[[test]]
name = "reference_conformance_rate"
path = "tests/reference_conformance_rate.rs"
[[test]]
name = "reference_conformance_verdict"
path = "tests/reference_conformance_verdict.rs"
[[test]]
name = "reference_consistency_verified"
path = "tests/reference_consistency_verified.rs"
[[test]]
name = "reference_correlated_log"
path = "tests/reference_correlated_log.rs"
[[test]]
name = "reference_cube_modes"
path = "tests/reference_cube_modes.rs"
[[test]]
name = "reference_declare_components"
path = "tests/reference_declare_components.rs"
[[test]]
name = "reference_declare_template_census"
path = "tests/reference_declare_template_census.rs"
[[test]]
name = "reference_declare_templates"
path = "tests/reference_declare_templates.rs"
[[test]]
name = "reference_dfg_advanced"
path = "tests/reference_dfg_advanced.rs"
[[test]]
name = "reference_dfg_build"
path = "tests/reference_dfg_build.rs"
[[test]]
name = "reference_diagnostic_severity"
path = "tests/reference_diagnostic_severity.rs"
[[test]]
name = "reference_diagnostics"
path = "tests/reference_diagnostics.rs"
[[test]]
name = "reference_event_optionals"
path = "tests/reference_event_optionals.rs"
[[test]]
name = "reference_event_stream"
path = "tests/reference_event_stream.rs"
[[test]]
name = "reference_eventlog_build"
path = "tests/reference_eventlog_build.rs"
[[test]]
name = "reference_eventlog_validate"
path = "tests/reference_eventlog_validate.rs"
[[test]]
name = "reference_evidence_lifecycle"
path = "tests/reference_evidence_lifecycle.rs"
[[test]]
name = "reference_filter_matrix"
path = "tests/reference_filter_matrix.rs"
[[test]]
name = "reference_get_activities"
path = "tests/reference_get_activities.rs"
[[test]]
name = "reference_graduation_formats"
path = "tests/reference_graduation_formats.rs"
[[test]]
name = "reference_interop_projection"
path = "tests/reference_interop_projection.rs"
[[test]]
name = "reference_interop_shapes"
path = "tests/reference_interop_shapes.rs"
[[test]]
name = "reference_lifecycle"
path = "tests/reference_lifecycle.rs"
[[test]]
name = "reference_lifting_loss"
path = "tests/reference_lifting_loss.rs"
[[test]]
name = "reference_loss_chain"
path = "tests/reference_loss_chain.rs"
[[test]]
name = "reference_lsp_real_reject"
path = "tests/reference_lsp_real_reject.rs"
[[test]]
name = "reference_marking"
path = "tests/reference_marking.rs"
[[test]]
name = "reference_metric"
path = "tests/reference_metric.rs"
[[test]]
name = "reference_multi_instance_runtime"
path = "tests/reference_multi_instance_runtime.rs"
[[test]]
name = "reference_multi_instance_spec"
path = "tests/reference_multi_instance_spec.rs"
[[test]]
name = "reference_multiperspective"
path = "tests/reference_multiperspective.rs"
[[test]]
name = "reference_oc_declare"
path = "tests/reference_oc_declare.rs"
[[test]]
name = "reference_ocel2"
path = "tests/reference_ocel2.rs"
[[test]]
name = "reference_ocel2_attrs"
path = "tests/reference_ocel2_attrs.rs"
[[test]]
name = "reference_ocel2_queries"
path = "tests/reference_ocel2_queries.rs"
[[test]]
name = "reference_ocel_attr_value_vocab"
path = "tests/reference_ocel_attr_value_vocab.rs"
[[test]]
name = "reference_ocel_attribute"
path = "tests/reference_ocel_attribute.rs"
[[test]]
name = "reference_ocel_builders"
path = "tests/reference_ocel_builders.rs"
[[test]]
name = "reference_ocel_eval"
path = "tests/reference_ocel_eval.rs"
[[test]]
name = "reference_ocel_event"
path = "tests/reference_ocel_event.rs"
[[test]]
name = "reference_ocel_full_log"
path = "tests/reference_ocel_full_log.rs"
[[test]]
name = "reference_ocel_links"
path = "tests/reference_ocel_links.rs"
[[test]]
name = "reference_ocel_log"
path = "tests/reference_ocel_log.rs"
[[test]]
name = "reference_ocel_nested_values"
path = "tests/reference_ocel_nested_values.rs"
[[test]]
name = "reference_ocel_object_node"
path = "tests/reference_ocel_object_node.rs"
[[test]]
name = "reference_ocel_type_attrs"
path = "tests/reference_ocel_type_attrs.rs"
[[test]]
name = "reference_ocel_type_schema"
path = "tests/reference_ocel_type_schema.rs"
[[test]]
name = "reference_ocellog_accessors"
path = "tests/reference_ocellog_accessors.rs"
[[test]]
name = "reference_ocpq_const_query"
path = "tests/reference_ocpq_const_query.rs"
[[test]]
name = "reference_ocpq_predicates"
path = "tests/reference_ocpq_predicates.rs"
[[test]]
name = "reference_ocpq_query"
path = "tests/reference_ocpq_query.rs"
[[test]]
name = "reference_operators"
path = "tests/reference_operators.rs"
[[test]]
name = "reference_parity_comparer"
path = "tests/reference_parity_comparer.rs"
[[test]]
name = "reference_patterns"
path = "tests/reference_patterns.rs"
[[test]]
name = "reference_perspectives"
path = "tests/reference_perspectives.rs"
[[test]]
name = "reference_petri_build"
path = "tests/reference_petri_build.rs"
[[test]]
name = "reference_petri_object_type"
path = "tests/reference_petri_object_type.rs"
[[test]]
name = "reference_petri_refusals"
path = "tests/reference_petri_refusals.rs"
[[test]]
name = "reference_pipeline"
path = "tests/reference_pipeline.rs"
[[test]]
name = "reference_powl8_op"
path = "tests/reference_powl8_op.rs"
[[test]]
name = "reference_powl_attrs"
path = "tests/reference_powl_attrs.rs"
[[test]]
name = "reference_powl_build"
path = "tests/reference_powl_build.rs"
[[test]]
name = "reference_powl_composition_depth"
path = "tests/reference_powl_composition_depth.rs"
[[test]]
name = "reference_powl_invalid_loop"
path = "tests/reference_powl_invalid_loop.rs"
[[test]]
name = "reference_powl_loop_law"
path = "tests/reference_powl_loop_law.rs"
[[test]]
name = "reference_powl_partial_order"
path = "tests/reference_powl_partial_order.rs"
[[test]]
name = "reference_powl_refusals"
path = "tests/reference_powl_refusals.rs"
[[test]]
name = "reference_prediction"
path = "tests/reference_prediction.rs"
[[test]]
name = "reference_process_tree_build"
path = "tests/reference_process_tree_build.rs"
[[test]]
name = "reference_pt_node"
path = "tests/reference_pt_node.rs"
[[test]]
name = "reference_quality_const_aliases"
path = "tests/reference_quality_const_aliases.rs"
[[test]]
name = "reference_quality_loss"
path = "tests/reference_quality_loss.rs"
[[test]]
name = "reference_quality_profile"
path = "tests/reference_quality_profile.rs"
[[test]]
name = "reference_receipt_chain"
path = "tests/reference_receipt_chain.rs"
[[test]]
name = "reference_receipt_chain_const"
path = "tests/reference_receipt_chain_const.rs"
[[test]]
name = "reference_receipt_shape"
path = "tests/reference_receipt_shape.rs"
[[test]]
name = "reference_runtime_marking"
path = "tests/reference_runtime_marking.rs"
[[test]]
name = "reference_separable_wfnet"
path = "tests/reference_separable_wfnet.rs"
[[test]]
name = "reference_shape_classification"
path = "tests/reference_shape_classification.rs"
[[test]]
name = "reference_shapes"
path = "tests/reference_shapes.rs"
[[test]]
name = "reference_trace_accessors"
path = "tests/reference_trace_accessors.rs"
[[test]]
name = "reference_typed_event_predicate"
path = "tests/reference_typed_event_predicate.rs"
[[test]]
name = "reference_typed_ids"
path = "tests/reference_typed_ids.rs"
[[test]]
name = "reference_typed_loop_node"
path = "tests/reference_typed_loop_node.rs"
[[test]]
name = "reference_typed_object_predicate"
path = "tests/reference_typed_object_predicate.rs"
[[test]]
name = "reference_typed_operators"
path = "tests/reference_typed_operators.rs"
[[test]]
name = "reference_typed_relation_predicate"
path = "tests/reference_typed_relation_predicate.rs"
[[test]]
name = "reference_wasm4pm_attrs"
path = "tests/reference_wasm4pm_attrs.rs"
[[test]]
name = "reference_wasm4pm_dfg"
path = "tests/reference_wasm4pm_dfg.rs"
[[test]]
name = "reference_wfnet_soundness"
path = "tests/reference_wfnet_soundness.rs"
[[test]]
name = "reference_wfnet_value"
path = "tests/reference_wfnet_value.rs"
[[test]]
name = "reference_witness_family"
path = "tests/reference_witness_family.rs"
[[test]]
name = "sbom_integration"
path = "tests/sbom_integration.rs"
[[test]]
name = "throughput_tests"
path = "tests/throughput_tests.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "visualize_tests"
path = "tests/visualize_tests.rs"
[[test]]
name = "western_electric_comprehensive"
path = "tests/western_electric_comprehensive.rs"
[[bench]]
name = "profile"
path = "benches/profile.rs"
[[bench]]
name = "quality_western_electric"
path = "benches/quality_western_electric.rs"
harness = false
required-features = ["quality-monitor"]
[[bench]]
name = "receipt_operations"
path = "benches/receipt_operations.rs"
harness = false
required-features = ["discovery"]
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
[[bench]]
name = "variance"
path = "benches/variance.rs"
[dependencies.anyhow]
version = "1"
[dependencies.blake3]
version = "1"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
optional = true
[dependencies.chicago-tdd-tools]
version = "26.6"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.clap-noun-verb]
version = "26.6"
[dependencies.clap-noun-verb-macros]
version = "26.6"
[dependencies.clnrm-core]
version = "1.3"
optional = true
[dependencies.colored]
version = "2"
optional = true
[dependencies.criterion]
version = "0.5"
optional = true
[dependencies.glob]
version = "0.3"
optional = true
[dependencies.hex]
version = "0.4"
optional = true
[dependencies.indicatif]
version = "0.17"
optional = true
[dependencies.linkme]
version = "0.3"
[dependencies.lsp-max]
version = "26.6"
optional = true
[dependencies.notify]
version = "6"
optional = true
[dependencies.opentelemetry]
version = "0.20"
features = [
"trace",
"metrics",
]
optional = true
[dependencies.opentelemetry-jaeger]
version = "0.19"
optional = true
[dependencies.opentelemetry-prometheus]
version = "0.13"
optional = true
[dependencies.pollster]
version = "0.3"
optional = true
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
optional = true
[dependencies.prometheus]
version = "0.13"
optional = true
[dependencies.quickcheck]
version = "1"
optional = true
[dependencies.quote]
version = "1"
optional = true
[dependencies.rand]
version = "0.8"
optional = true
[dependencies.rayon]
version = "1"
optional = true
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.11"
features = ["json"]
optional = true
[dependencies.rustyline]
version = "12"
features = ["derive"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.shlex]
version = "1"
optional = true
[dependencies.syn]
version = "2"
features = [
"full",
"visit",
"extra-traits",
"parsing",
]
optional = true
[dependencies.tempfile]
version = "3"
optional = true
[dependencies.tera]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
optional = true
[dependencies.walkdir]
version = "2"
[dependencies.wasm-encoder]
version = "0.252.0"
[dependencies.wasm4pm]
version = "26.6"
optional = true
[dependencies.wasm4pm-compat]
version = "26.6"
optional = true
[dependencies.wgpu]
version = "0.19"
optional = true
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.chicago-tdd-tools]
version = "26.6"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.quickcheck]
version = "1"
[dev-dependencies.quickcheck_macros]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.trybuild]
version = "1"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true