[package]
edition = "2021"
rust-version = "1.77"
name = "n4m"
version = "0.1.1"
build = "build.rs"
include = [
"Cargo.toml",
"README.md",
"LICENSES/AGPL-3.0-or-later.txt",
"LICENSES/CeCILL-2.1.txt",
"abi_probe.c",
"build.rs",
"scripts/run_sanitized_tests.sh",
"src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official thin Rust binding for the libn4m C ABI"
readme = "README.md"
keywords = [
"nirs",
"chemometrics",
"ffi",
]
categories = [
"api-bindings",
"science",
]
license = "CECILL-2.1 OR AGPL-3.0-or-later"
repository = "https://github.com/GBeurier/nirs4all-methods"
[features]
default = ["linked"]
dynamic = ["dep:libloading"]
linked = []
[lib]
name = "n4m"
crate-type = ["rlib"]
path = "src/lib.rs"
[dependencies.libloading]
version = "0.8"
optional = true
[dev-dependencies.static_assertions]
version = "1.1"
[build-dependencies.cc]
version = "1.1"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"