[package]
edition = "2024"
rust-version = "1.99"
name = "moonmchn"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Moon MCHN configuration and application library"
homepage = "https://github.com/galaxyloop-labs/moonmchn"
readme = "README.md"
keywords = [
"microvm",
"sandbox",
"ai-agents",
"virtualization",
"dev-tool",
]
categories = ["virtualization"]
license = "Apache-2.0"
repository = "https://github.com/galaxyloop-labs/moonmchn"
[lib]
name = "moonmchn"
path = "src/lib.rs"
[[test]]
name = "daemon"
path = "tests/daemon.rs"
[[test]]
name = "egress"
path = "tests/egress.rs"
[[test]]
name = "machines"
path = "tests/machines.rs"
[[test]]
name = "sigterm"
path = "tests/sigterm.rs"
[dependencies.idna]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sysinfo]
version = "0.40"
features = ["system"]
default-features = false
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1.1"
[target."cfg(unix)".dependencies.close_fds]
version = "0.3.2"
[target."cfg(unix)".dependencies.getrandom]
version = "0.4"
[target."cfg(unix)".dependencies.rustix]
version = "1"
features = [
"net",
"process",
"stdio",
]
[target."cfg(unix)".dependencies.rustls]
version = "0.23"
features = ["std"]
default-features = false
[target."cfg(unix)".dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"io-util",
"sync",
"macros",
"signal",
"time",
]
[target."cfg(unix)".dev-dependencies.tokio]
version = "1"
features = ["test-util"]
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "deny"
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
exit = "deny"
expect_used = "deny"
fallible_impl_from = "deny"
fn_to_numeric_cast_any = "deny"
indexing_slicing = "deny"
large_stack_frames = "deny"
let_underscore_must_use = "deny"
lossy_float_literal = "deny"
mem_forget = "deny"
needless_collect = "deny"
needless_pass_by_ref_mut = "deny"
or_fun_call = "deny"
panic = "deny"
panic_in_result_fn = "deny"
partial_pub_fields = "deny"
path_buf_push_overwrite = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_clone = "deny"
rest_pat_in_fully_bound_structs = "deny"
significant_drop_in_scrutinee = "deny"
significant_drop_tightening = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unused_result_ok = "deny"
unwrap_used = "deny"
wildcard_dependencies = "deny"
wildcard_enum_match_arm = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
let_underscore_drop = "deny"
missing_docs = "deny"
unfulfilled_lint_expectations = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_must_use = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]