[package]
edition = "2024"
name = "clm-kernel"
version = "0.0.21"
authors = [
"Ben Koo <koo0905@gmail.com>",
"CLM Architecture Team",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate"
documentation = "https://docs.rs/clm-kernel"
readme = "README.md"
keywords = [
"clm",
"cordis",
"petri-net",
"mcard",
"crdt",
]
categories = [
"cryptography",
"data-structures",
"concurrency",
"embedded",
]
license = "MIT"
repository = "https://github.com/xlp0/CLM"
[features]
async = [
"core",
"dep:tokio",
"dep:tokio-util",
]
bundled-sqlite = [
"db",
"rusqlite/bundled",
]
core = []
crdt = ["core"]
db = [
"core",
"dep:rusqlite",
"dep:r2d2",
"dep:r2d2_sqlite",
]
default = ["native"]
fiber = [
"core",
"crdt",
"dep:dashmap",
]
full = ["native"]
native = [
"core",
"crdt",
"fiber",
"bundled-sqlite",
"async",
"net",
"dep:ureq",
"dep:x25519-dalek",
"dep:clap",
"dep:dashmap",
"dep:inventory",
"dep:quick-xml",
"dep:md-5",
"dep:sha1",
"dep:shamir-algorithm",
"dep:tempfile",
"dep:chacha20poly1305",
"dep:aes-gcm",
]
net = [
"async",
"dep:quinn",
"dep:rustls",
"dep:rcgen",
"dep:mdns-sd",
"dep:tokio-tungstenite",
]
python = [
"dep:pyo3",
"native",
]
[lib]
name = "clm_rust_core"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "clm_rust_core"
path = "src/main.rs"
test = false
required-features = ["native"]
[[bin]]
name = "clm_version_cli"
path = "src/layer4/cli_version_bin.rs"
test = false
[[example]]
name = "bench_savepoint"
path = "examples/bench_savepoint.rs"
[[example]]
name = "conformance"
path = "examples/conformance.rs"
[[example]]
name = "retirement_trace"
path = "examples/retirement_trace.rs"
[[test]]
name = "chunk_ownership"
path = "tests/chunk_ownership.rs"
[[test]]
name = "clc_parity"
path = "tests/clc_parity.rs"
[[test]]
name = "collection_fs_parity"
path = "tests/collection_fs_parity.rs"
[[test]]
name = "composition_laws"
path = "tests/composition_laws.rs"
[[test]]
name = "dispatch_unbound"
path = "tests/dispatch_unbound.rs"
[[test]]
name = "dispatch_witness"
path = "tests/dispatch_witness.rs"
[[test]]
name = "execution_receipt_parameter_context"
path = "tests/execution_receipt_parameter_context.rs"
[[test]]
name = "federation_support"
path = "tests/federation_support.rs"
[[test]]
name = "federation_three_node_test"
path = "tests/federation_three_node_test.rs"
[[test]]
name = "gtime_merkle_portable"
path = "tests/gtime_merkle_portable.rs"
[[test]]
name = "gtime_parity"
path = "tests/gtime_parity.rs"
[[test]]
name = "handle_kind_fixtures"
path = "tests/handle_kind_fixtures.rs"
[[test]]
name = "integration_past_execution"
path = "tests/integration_past_execution.rs"
[[test]]
name = "layer0_canonical_parity"
path = "tests/layer0_canonical_parity.rs"
[[test]]
name = "layer0_clm_test_reference"
path = "tests/layer0_clm_test_reference.rs"
[[test]]
name = "layer0_kenotic"
path = "tests/layer0_kenotic.rs"
[[test]]
name = "layer1_cpn_vm"
path = "tests/layer1_cpn_vm.rs"
[[test]]
name = "layer1_engine_convergence"
path = "tests/layer1_engine_convergence.rs"
[[test]]
name = "layer2_cas_vfs"
path = "tests/layer2_cas_vfs.rs"
[[test]]
name = "layer3_mesh_satori"
path = "tests/layer3_mesh_satori.rs"
[[test]]
name = "layer4_interaction_surface"
path = "tests/layer4_interaction_surface.rs"
[[test]]
name = "layer_equivalence_lattice"
path = "tests/layer_equivalence_lattice.rs"
[[test]]
name = "mcard_chunk_stream"
path = "tests/mcard_chunk_stream.rs"
[[test]]
name = "mcard_host_mount"
path = "tests/mcard_host_mount.rs"
[[test]]
name = "mcard_marking_queue"
path = "tests/mcard_marking_queue.rs"
[[test]]
name = "mcard_namespace"
path = "tests/mcard_namespace.rs"
[[test]]
name = "mcard_namespace_protocol"
path = "tests/mcard_namespace_protocol.rs"
[[test]]
name = "mcard_schema_uri_538"
path = "tests/mcard_schema_uri_538.rs"
[[test]]
name = "mcard_type_soundness_536"
path = "tests/mcard_type_soundness_536.rs"
[[test]]
name = "mcard_uri_grammar_537"
path = "tests/mcard_uri_grammar_537.rs"
[[test]]
name = "mcs01_handle_rehydration"
path = "tests/mcs01_handle_rehydration.rs"
[[test]]
name = "mcs01_savepoint_release"
path = "tests/mcs01_savepoint_release.rs"
[[test]]
name = "param_roundtrip"
path = "tests/param_roundtrip.rs"
[[test]]
name = "parameter_context_precedence"
path = "tests/parameter_context_precedence.rs"
[[test]]
name = "polyglot_formal_vectors"
path = "tests/polyglot_formal_vectors.rs"
[[test]]
name = "provider_card_resolution"
path = "tests/provider_card_resolution.rs"
[[test]]
name = "reticulum_polyglot_test"
path = "tests/reticulum_polyglot_test.rs"
[[test]]
name = "sprint490_context"
path = "tests/sprint490_context.rs"
[[test]]
name = "sprint491_process_policy"
path = "tests/sprint491_process_policy.rs"
[[test]]
name = "sprint492_storage_and_savepoints"
path = "tests/sprint492_storage_and_savepoints.rs"
[[test]]
name = "sprint492_support"
path = "tests/sprint492_support.rs"
[[test]]
name = "sprint493_dispatch_and_hoare"
path = "tests/sprint493_dispatch_and_hoare.rs"
[[test]]
name = "sprint494_layer_and_p_invariants"
path = "tests/sprint494_layer_and_p_invariants.rs"
[[test]]
name = "sync_durability"
path = "tests/sync_durability.rs"
[[test]]
name = "test_async_concurrency"
path = "tests/test_async_concurrency.rs"
[[test]]
name = "test_converged_writers"
path = "tests/test_converged_writers.rs"
[[test]]
name = "test_crd02_transition_loader"
path = "tests/test_crd02_transition_loader.rs"
[[test]]
name = "test_crd03_reactive_coeffects"
path = "tests/test_crd03_reactive_coeffects.rs"
[[test]]
name = "test_crd04_savepoint_guard"
path = "tests/test_crd04_savepoint_guard.rs"
[[test]]
name = "test_crd05_hmr_reloader"
path = "tests/test_crd05_hmr_reloader.rs"
[[test]]
name = "test_crd06_looping_engine"
path = "tests/test_crd06_looping_engine.rs"
[[test]]
name = "test_domain_models"
path = "tests/test_domain_models.rs"
[[test]]
name = "test_fnd_homomorphism"
path = "tests/test_fnd_homomorphism.rs"
[[test]]
name = "test_hoare_fiber"
path = "tests/test_hoare_fiber.rs"
[[test]]
name = "test_layer0_loader"
path = "tests/test_layer0_loader.rs"
[[test]]
name = "test_layer0_stage1"
path = "tests/test_layer0_stage1.rs"
[[test]]
name = "test_layer1_action_workflow"
path = "tests/test_layer1_action_workflow.rs"
[[test]]
name = "test_layer1_vm_parity"
path = "tests/test_layer1_vm_parity.rs"
[[test]]
name = "test_layer5_learning"
path = "tests/test_layer5_learning.rs"
[[test]]
name = "test_mcard_fs"
path = "tests/test_mcard_fs.rs"
[[test]]
name = "test_properties"
path = "tests/test_properties.rs"
[[test]]
name = "test_runner"
path = "tests/test_runner.rs"
[[test]]
name = "test_sprint101"
path = "tests/test_sprint101.rs"
[[test]]
name = "test_sprint102"
path = "tests/test_sprint102.rs"
[[test]]
name = "test_sprint103"
path = "tests/test_sprint103.rs"
[[test]]
name = "test_sprint104"
path = "tests/test_sprint104.rs"
[[test]]
name = "test_sprint106"
path = "tests/test_sprint106.rs"
[[test]]
name = "test_sprint141_runtime"
path = "tests/test_sprint141_runtime.rs"
[[test]]
name = "test_sprint517_rust_wrappers"
path = "tests/test_sprint517_rust_wrappers.rs"
[[test]]
name = "test_writer_algorithm_truth"
path = "tests/test_writer_algorithm_truth.rs"
[[test]]
name = "type_interpreter_tests"
path = "tests/type_interpreter_tests.rs"
[[test]]
name = "type_lattice_test"
path = "tests/type_lattice_test.rs"
[[test]]
name = "type_system_test"
path = "tests/type_system_test.rs"
[[test]]
name = "uri_protocol_conformance_539"
path = "tests/uri_protocol_conformance_539.rs"
[[bench]]
name = "db_bench"
path = "benches/db_bench.rs"
harness = false
required-features = ["native"]
[[bench]]
name = "kernel_bench"
path = "benches/kernel_bench.rs"
harness = false
required-features = ["native"]
[dependencies.aes-gcm]
version = "0.10"
features = [
"alloc",
"aes",
]
optional = true
default-features = false
[dependencies.blake3]
version = "1.5"
[dependencies.bs58]
version = "0.5"
[dependencies.chacha20poly1305]
version = "0.11.0"
features = ["alloc"]
optional = true
default-features = false
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true
[dependencies.dashmap]
version = "5.5"
optional = true
[dependencies.ed25519-dalek]
version = "2.1"
features = [
"pkcs8",
"pem",
"rand_core",
]
[dependencies.futures-util]
version = "0.3"
[dependencies.getrandom]
version = "0.2"
features = ["js"]
[dependencies.hex]
version = "0.4"
[dependencies.inventory]
version = "0.3"
optional = true
[dependencies.md-5]
version = "0.10"
optional = true
[dependencies.mdns-sd]
version = "0.9"
optional = true
[dependencies.pkcs8]
version = "0.10"
features = ["pem"]
[dependencies.pyo3]
version = "0.22"
features = [
"extension-module",
"abi3-py311",
]
optional = true
[dependencies.quick-xml]
version = "0.31"
features = ["serialize"]
optional = true
[dependencies.quinn]
version = "0.11"
features = ["rustls"]
optional = true
[dependencies.r2d2]
version = "0.8"
optional = true
[dependencies.r2d2_sqlite]
version = "0.24"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.rcgen]
version = "0.13"
optional = true
[dependencies.regex]
version = "1.10"
[dependencies.rusqlite]
version = "0.31"
features = [
"bundled",
"backup",
]
optional = true
[dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha1]
version = "0.10"
optional = true
[dependencies.sha2]
version = "0.10"
[dependencies.sha3]
version = "0.10"
[dependencies.shamir-algorithm]
version = "0.1"
optional = true
[dependencies.subtle]
version = "2.5"
[dependencies.tempfile]
version = "3"
optional = true
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.35"
features = ["full"]
optional = true
[dependencies.tokio-tungstenite]
version = "0.21"
optional = true
[dependencies.tokio-util]
version = "0.7"
optional = true
[dependencies.ureq]
version = "2.9"
features = ["json"]
optional = true
[dependencies.uuid]
version = "1.6"
features = [
"v4",
"js",
]
[dependencies.x25519-dalek]
version = "2.0"
features = ["static_secrets"]
optional = true
[dependencies.zeroize]
version = "1.7"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
bool_assert_comparison = "allow"
collapsible_if = "allow"
explicit_counter_loop = "allow"
format_in_format_args = "allow"
if_same_then_else = "allow"
items_after_test_module = "allow"
let_and_return = "allow"
manual_strip = "allow"
missing_safety_doc = "allow"
needless_borrow = "allow"
needless_range_loop = "allow"
regex_creation_in_loops = "allow"
result_large_err = "allow"
should_implement_trait = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_sort_by = "allow"
unnecessary_unwrap = "allow"
useless_conversion = "allow"
useless_vec = "allow"
[profile.dev]
debug = 0
[profile.release]
strip = "symbols"
[profile.test]
debug = 0