[package]
edition = "2021"
rust-version = "1.75.0"
name = "delta-behavior"
version = "0.1.0"
authors = ["RuVector Team <team@ruvector.io>"]
build = false
exclude = [
"target/",
".git/",
".github/",
]
include = [
"src/**/*",
"applications/**/*",
"docs/**/*",
"examples/**/*",
"benches/**/*",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
"CHANGELOG.md",
"WHITEPAPER.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Delta-behavior: constrained state transitions that preserve global coherence - systems that refuse to collapse"
homepage = "https://github.com/ruvnet/ruvector/tree/main/examples/delta-behavior"
documentation = "https://docs.rs/delta-behavior"
readme = "README.md"
keywords = [
"ai-safety",
"coherence",
"state-machine",
"containment",
"stability",
]
categories = [
"algorithms",
"science",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ruvnet/ruvector"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O4"]
[features]
ai-ml = [
"self-limiting-reasoning",
"world-model",
"coherence-creativity",
"containment",
]
all-applications = [
"self-limiting-reasoning",
"event-horizon",
"homeostasis",
"world-model",
"coherence-creativity",
"anti-cascade",
"graceful-aging",
"swarm-intelligence",
"graceful-shutdown",
"containment",
]
anti-cascade = []
benchmarks = ["rand"]
coherence-creativity = []
containment = []
default = [
"std",
"console_error_panic_hook",
]
distributed = [
"graceful-aging",
"swarm-intelligence",
"anti-cascade",
]
event-horizon = []
full = [
"rand",
"thiserror",
]
graceful-aging = []
graceful-shutdown = []
homeostasis = []
memory-tracking = []
safety-critical = [
"self-limiting-reasoning",
"graceful-shutdown",
"containment",
]
self-limiting-reasoning = []
std = []
swarm-intelligence = []
wasm = ["console_error_panic_hook"]
world-model = []
[lib]
name = "delta_behavior"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "run_benchmarks"
path = "src/bin/run_benchmarks.rs"
required-features = ["benchmarks"]
[[example]]
name = "demo"
path = "examples/demo.rs"
[[bench]]
name = "coherence_benchmarks"
path = "benches/coherence_benchmarks.rs"
harness = false
required-features = ["benchmarks"]
[dependencies.console_error_panic_hook]
version = "0.1"
optional = true
[dependencies.js-sys]
version = "0.3"
[dependencies.rand]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1