n4m 0.1.1

Official thin Rust binding for the libn4m C ABI
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"