[package]
edition = "2024"
name = "chillffi"
version = "0.4.0"
authors = ["miruji <miruji@protonmail.com>"]
build = false
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple isolated dynamic FFI framework for Rust"
documentation = "https://docs.rs/chillffi"
readme = "README.md"
keywords = [
"ffi",
"zygote",
"ipc",
"sandbox",
"fork",
]
categories = [
"external-ffi-bindings",
"os::unix-apis",
"os::windows-apis",
"api-bindings",
]
license-file = "LICENSE.md"
repository = "https://github.com/rts-lang/chillffi"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
]
[lib]
name = "chillffi"
path = "src/lib.rs"
[dependencies.bincode]
version = "2.0.1"
features = ["serde"]
[dependencies.bytemuck]
version = "1.25.2"
features = ["derive"]
[dependencies.ctor]
version = "1.0.13"
[dependencies.fxhash]
version = "0.2.1"
[dependencies.ipc-channel]
version = "0.23.0"
[dependencies.libc]
version = "1.0.0-alpha.4"
[dependencies.libffi]
version = "5.2.0"
[dependencies.libloading]
version = "0.9.0"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[target."cfg(windows)".build-dependencies.cc]
version = "1.2"
[lints.clippy]
collapsible_if = "allow"
len_without_is_empty = "allow"
option_if_let_else = "allow"
too_long_first_doc_paragraph = "allow"
unused_unit = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.rust]
non_camel_case_types = "allow"
non_snake_case = "allow"
non_upper_case_globals = "allow"
[profile.dev]
opt-level = 0
lto = false
debug = 2
overflow-checks = true
incremental = true
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
strip = "symbols"