[package]
edition = "2024"
name = "tarnish"
version = "0.0.2"
authors = []
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Process isolation library with automatic panic recovery for running untrusted Rust code"
readme = "README.md"
keywords = [
"process",
"isolation",
"sandbox",
"fault-tolerance",
"ffi",
]
categories = [
"concurrency",
"os",
]
license = "MIT"
repository = "https://github.com/corrode/tarnish"
[lib]
name = "tarnish"
path = "src/lib.rs"
[[example]]
name = "echo"
path = "examples/echo.rs"
[[example]]
name = "inline_task"
path = "examples/inline_task.rs"
[[example]]
name = "panic_recovery"
path = "examples/panic_recovery.rs"
[[example]]
name = "pool"
path = "examples/pool.rs"
[[example]]
name = "safe_computation"
path = "examples/safe_computation.rs"
[dependencies.paste]
version = "1.0.15"
[dependencies.postcard]
version = "1.0"
features = ["alloc"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[lints.clippy]
arithmetic_side_effects = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
empty_structs_with_brackets = "warn"
enum_glob_use = "warn"
exit = "warn"
expect_used = "warn"
filetype_is_file = "warn"
float_arithmetic = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
indexing_slicing = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
missing_docs_in_private_items = "warn"
mod_module_files = "warn"
multiple_inherent_impl = "warn"
mutex_atomic = "warn"
panic = "warn"
pattern_type_mismatch = "warn"
print_stderr = "warn"
print_stdout = "warn"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
str_to_string = "warn"
string_add = "warn"
string_slice = "warn"
todo = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
unreachable = "warn"
unseparated_literal_suffix = "warn"
unwrap_used = "warn"
use_debug = "warn"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "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