fiffi 0.1.2

Rust bindings for libffi, alternative to libffi-rs
Documentation
# 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 = "2024"
rust-version = "1.93"
name = "fiffi"
version = "0.1.2"
build = false
exclude = [
    ".github",
    "/test_crates",
    "/scripts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for libffi, alternative to libffi-rs"
readme = "README.md"
keywords = [
    "ffi",
    "libffi",
    "abi",
    "closure",
]
categories = [
    "no-std",
    "development-tools::ffi",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/emiltayl/fiffi/"

[features]
check_only = ["libffi-sys/check_only"]
closure = []
default = ["closure"]
system = ["libffi-sys/system"]

[lib]
name = "fiffi"
path = "src/lib.rs"

[dependencies.libffi-sys]
version = "4.2.0"
default-features = false

[lints.clippy]
allow_attributes_without_reason = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
deref_by_slicing = "warn"
empty_drop = "deny"
empty_enum_variants_with_brackets = "deny"
empty_structs_with_brackets = "deny"
error_impl_error = "deny"
redundant_type_annotations = "warn"
semicolon_inside_block = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"

[lints.clippy.cargo]
level = "warn"
priority = 3

[lints.clippy.float_cmp]
level = "allow"
priority = 10

[lints.clippy.must_use_candidate]
level = "allow"
priority = 9

[lints.clippy.pedantic]
level = "warn"
priority = 2

[lints.clippy.struct_field_names]
level = "allow"
priority = 6

[lints.rust]
macro_use_extern_crate = "deny"
missing_abi = "warn"
missing_docs = "warn"
missing_unsafe_on_extern = "warn"
non_ascii_idents = "deny"
redundant_imports = "warn"
unit_bindings = "warn"
unused_qualifications = "warn"
variant-size-differences = "warn"

[lints.rust.deprecated_safe]
level = "deny"
priority = 1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(msan)"]