[package]
edition = "2024"
rust-version = "1.95"
name = "moirai-executor"
version = "0.6.0"
authors = ["Moirai Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hybrid executor implementation for Moirai concurrency library"
homepage = "https://github.com/ryancinsight/Moirai"
documentation = "https://docs.rs/moirai-executor"
readme = "README.md"
keywords = [
"concurrency",
"async",
"parallel",
"zero-cost",
"performance",
]
categories = [
"concurrency",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ryancinsight/Moirai"
[features]
default = [
"metrics",
"mnemosyne",
]
metrics = ["moirai-core/metrics"]
mnemosyne = ["dep:mnemosyne"]
registry-diagnostics = []
scheduler-diagnostics = []
[lib]
name = "moirai_executor"
path = "src/lib.rs"
[[test]]
name = "indexed_allocation_contract"
path = "tests/indexed_allocation_contract.rs"
[[test]]
name = "loom_join_quiescence"
path = "tests/loom_join_quiescence.rs"
[[test]]
name = "loom_lifo_slot"
path = "tests/loom_lifo_slot.rs"
[[test]]
name = "loom_queue_handoff"
path = "tests/loom_queue_handoff.rs"
[[test]]
name = "loom_scope_completion"
path = "tests/loom_scope_completion.rs"
[[test]]
name = "loom_shutdown_admission"
path = "tests/loom_shutdown_admission.rs"
[[test]]
name = "loom_task_waiters"
path = "tests/loom_task_waiters.rs"
[[test]]
name = "loom_wake_handshake"
path = "tests/loom_wake_handshake.rs"
[[test]]
name = "melinoe_registration"
path = "tests/melinoe_registration.rs"
[[test]]
name = "spin_budget_bench"
path = "tests/spin_budget_bench.rs"
[[bench]]
name = "blocking_lane"
path = "benches/blocking_lane.rs"
harness = false
[dependencies.melinoe]
version = "0.10.0"
features = ["std"]
default-features = false
[dependencies.mnemosyne]
version = "0.8.0"
optional = true
default-features = false
package = "mnemosyne-memory"
[dependencies.moirai-core]
version = "0.6.0"
[dependencies.moirai-pal]
version = "0.6.0"
[dependencies.moirai-scheduler]
version = "0.6.0"
[dependencies.moirai-utils]
version = "0.6.0"
features = ["std"]
[dependencies.themis]
version = "0.11.0"
features = ["std"]
default-features = false
package = "themis-topology"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.4"
[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"
[lints.clippy]
assigning_clones = "allow"
bool_to_int_with_if = "allow"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cloned_instead_of_copied = "allow"
comparison_chain = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
elidable_lifetime_names = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
linkedlist = "allow"
manual_assert = "allow"
manual_let_else = "allow"
manual_midpoint = "allow"
manual_string_new = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_for_each = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
option_option = "allow"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
ref_as_ptr = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(fuzzing)",
]