[package]
edition = "2021"
rust-version = "1.97"
name = "made-core"
version = "0.8.0"
authors = ["Tirso Garcia IbaƱez"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Domain core of MADE: entities, value objects, events, ports. No IO."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/underpass-ai/made"
[features]
conformance = ["dep:futures"]
[lib]
name = "made_core"
path = "src/lib.rs"
[[test]]
name = "audit_record_fixtures"
path = "tests/audit_record_fixtures.rs"
[[test]]
name = "ceremony_fold"
path = "tests/ceremony_fold/main.rs"
[[test]]
name = "concurrent_ceremony_states"
path = "tests/concurrent_ceremony_states.rs"
[[test]]
name = "dynamic_role_context"
path = "tests/dynamic_role_context.rs"
[[test]]
name = "global_completion_analysis"
path = "tests/global_completion_analysis.rs"
[[test]]
name = "legacy_ceremony_list_replay"
path = "tests/legacy_ceremony_list_replay.rs"
[[test]]
name = "output_and_exhaustion_guards"
path = "tests/output_and_exhaustion_guards.rs"
[[test]]
name = "state_visit_compatibility"
path = "tests/state_visit_compatibility.rs"
[[test]]
name = "transition_budgets"
path = "tests/transition_budgets.rs"
[[bench]]
name = "trace_context"
path = "benches/trace_context.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.time]
version = "0.3"
features = [
"serde",
"serde-human-readable",
"macros",
"formatting",
"parsing",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.10"
features = [
"v4",
"serde",
]
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.mockall]
version = "0.13"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
version = "1.40"
features = ["full"]
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
too_many_arguments = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"