zwire 0.2.0

Zero-dependency, no_std-compatible transactional reactive state engine: scoped push-pull arena, rebaseable optimistic layers + STM drafts, exact incremental Top-K collections, and open @zwire/core wire protocols
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.100"
name = "zwire"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-dependency, no_std-compatible transactional reactive state engine: scoped push-pull arena, rebaseable optimistic layers + STM drafts, exact incremental Top-K collections, and open @zwire/core wire protocols"
readme = "README.md"
keywords = [
    "reactive",
    "signals",
    "optimistic",
    "stm",
    "top-k",
]
categories = [
    "data-structures",
    "concurrency",
    "no-std",
]
license = "MIT"
repository = "https://github.com/kjmin-dev/zwire"

[features]
collections = ["dep:zwire-collections"]
core = ["dep:zwire-core"]
default = [
    "std",
    "core",
    "sync",
    "tx",
    "collections",
    "protocol",
]
derive = [
    "protocol",
    "zwire-protocol/derive",
]
protocol = [
    "core",
    "dep:zwire-protocol",
]
std = [
    "zwire-core?/std",
    "zwire-tx?/std",
    "zwire-collections?/std",
    "zwire-protocol?/std",
]
sync = [
    "std",
    "core",
    "zwire-core/sync",
    "zwire-tx?/sync",
    "zwire-protocol?/sync",
]
tx = [
    "core",
    "dep:zwire-tx",
]

[lib]
name = "zwire"
path = "src/lib.rs"

[[example]]
name = "orderbook_optimistic"
path = "examples/orderbook_optimistic.rs"

[[test]]
name = "conformance"
path = "tests/conformance.rs"

[[test]]
name = "ecosystem"
path = "tests/ecosystem.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "sync_companions"
path = "tests/sync_companions.rs"

[[bench]]
name = "engine_bench"
path = "benches/engine_bench.rs"
harness = false
required-features = [
    "std",
    "core",
    "sync",
    "tx",
    "collections",
    "protocol",
]

[dependencies.zwire-collections]
version = "0.2.0"
optional = true
default-features = false

[dependencies.zwire-core]
version = "0.2.0"
optional = true
default-features = false

[dependencies.zwire-protocol]
version = "0.2.0"
optional = true
default-features = false

[dependencies.zwire-tx]
version = "0.2.0"
optional = true
default-features = false

[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
cast_lossless = "allow"
cast_possible_truncation = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_raw_strings = "warn"
option_if_let_else = "allow"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_pub_crate = "allow"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "allow"
self_named_module_files = "warn"
significant_drop_tightening = "allow"
similar_names = "allow"
std_instead_of_core = "warn"
str_to_string = "warn"
todo = "warn"
too_many_lines = "allow"
try_err = "warn"
type_complexity = "allow"
unimplemented = "warn"
unneeded_field_pattern = "warn"
verbose_file_reads = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
closure_returning_async_block = "warn"
deref_into_dyn_supertrait = "warn"
elided_lifetimes_in_paths = "warn"
impl_trait_overcaptures = "warn"
impl_trait_redundant_captures = "warn"
let_underscore_drop = "warn"
macro_use_extern_crate = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unfulfilled_lint_expectations = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"
private_intra_doc_links = "warn"
unescaped_backticks = "warn"