[package]
edition = "2024"
rust-version = "1.91"
name = "lean-rs-worker"
version = "0.1.2"
authors = ["Jacob Reinhold"]
build = "build.rs"
include = [
"benches/**/*.rs",
"Cargo.toml",
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md",
"build.rs",
"examples/**/*.rs",
"src/**/*.rs",
"tests/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Worker-process boundary for lean-rs host workloads."
documentation = "https://docs.rs/lean-rs-worker"
readme = "README.md"
keywords = [
"bindings",
"embedding",
"lean",
"lean4",
"worker",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jcreinhold/lean-rs"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = []
[lib]
name = "lean_rs_worker"
path = "src/lib.rs"
doctest = false
[[bin]]
name = "lean-rs-worker-child"
path = "src/bin/lean-rs-worker-child.rs"
[[example]]
name = "lean_dup_readiness"
path = "examples/lean_dup_readiness.rs"
[[example]]
name = "mathlib_scale_probe"
path = "examples/mathlib_scale_probe.rs"
[[example]]
name = "memory_cycling"
path = "examples/memory_cycling.rs"
[[example]]
name = "pool_memory_scheduling"
path = "examples/pool_memory_scheduling.rs"
[[example]]
name = "row_perf_probe"
path = "examples/row_perf_probe.rs"
[[example]]
name = "worker_capability_probe"
path = "examples/worker_capability_probe.rs"
[[example]]
name = "worker_capability_runner"
path = "examples/worker_capability_runner.rs"
[[example]]
name = "worker_pool"
path = "examples/worker_pool.rs"
[[example]]
name = "worker_streaming"
path = "examples/worker_streaming.rs"
[[test]]
name = "capability_builder"
path = "tests/capability_builder.rs"
[[test]]
name = "import_planning"
path = "tests/import_planning.rs"
[[test]]
name = "lean_dup_readiness"
path = "tests/lean_dup_readiness.rs"
[[test]]
name = "lean_dup_shaped_fixture"
path = "tests/lean_dup_shaped_fixture.rs"
[[test]]
name = "loader_regressions"
path = "tests/loader_regressions.rs"
[[test]]
name = "mathlib_scale_fixture"
path = "tests/mathlib_scale_fixture.rs"
[[test]]
name = "metadata_doctor"
path = "tests/metadata_doctor.rs"
[[test]]
name = "observability_backpressure"
path = "tests/observability_backpressure.rs"
[[test]]
name = "pool"
path = "tests/pool.rs"
[[test]]
name = "protocol"
path = "tests/protocol.rs"
[[test]]
name = "row_sink"
path = "tests/row_sink.rs"
[[test]]
name = "session_adapter"
path = "tests/session_adapter.rs"
[[test]]
name = "streaming_runner"
path = "tests/streaming_runner.rs"
[[test]]
name = "supervisor"
path = "tests/supervisor.rs"
[[test]]
name = "typed_command"
path = "tests/typed_command.rs"
[[bench]]
name = "row_payload"
path = "benches/row_payload.rs"
harness = false
[[bench]]
name = "worker_capability"
path = "benches/worker_capability.rs"
harness = false
[dependencies.lean-rs]
version = "0.1.2"
[dependencies.lean-rs-host]
version = "0.1.2"
[dependencies.lean-toolchain]
version = "0.1.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dev-dependencies.ciborium]
version = "0.2"
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.rmp-serde]
version = "1"
[lints.clippy]
arithmetic_side_effects = "warn"
blanket_clippy_restriction_lints = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
disallowed_methods = "deny"
disallowed_types = "deny"
exit = "warn"
expect_used = "warn"
float_arithmetic = "allow"
get_unwrap = "warn"
implicit_clone = "warn"
indexing_slicing = "warn"
inefficient_to_string = "warn"
items_after_statements = "allow"
large_stack_arrays = "warn"
lint_groups_priority = "warn"
manual_memcpy = "warn"
map_flatten = "warn"
map_unwrap_or = "warn"
match_same_arms = "allow"
mem_forget = "deny"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
mutex_integer = "warn"
needless_collect = "warn"
option_if_let_else = "allow"
panic = "warn"
ptr_as_ptr = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "allow"
redundant_pub_crate = "allow"
similar_names = "allow"
single_match_else = "allow"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unimplemented = "warn"
unnecessary_wraps = "allow"
unreachable = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
[lints.clippy.all]
level = "warn"
priority = -10
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -9
[lints.clippy.correctness]
level = "warn"
priority = -8
[lints.clippy.nursery]
level = "warn"
priority = -5
[lints.clippy.pedantic]
level = "warn"
priority = -4
[lints.clippy.perf]
level = "warn"
priority = -6
[lints.clippy.style]
level = "warn"
priority = -3
[lints.clippy.suspicious]
level = "warn"
priority = -7
[lints.rust]
future-incompatible = "warn"
let-underscore = "warn"
nonstandard-style = "warn"
redundant_lifetimes = "warn"
rust-2018-idioms = "warn"
rust-2024-compatibility = "deny"
single_use_lifetimes = "warn"
trivial_casts = "warn"
unreachable_pub = "warn"
unsafe-code = "deny"
[lints.rust.unused]
level = "warn"
priority = -1