libffi 5.1.1

Rust bindings for libffi
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 = "2021"
rust-version = "1.78"
name = "libffi"
version = "5.1.1"
authors = ["Jesse A. Tov <jesse.tov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for libffi"
readme = "README.md"
keywords = [
    "ffi",
    "libffi",
    "closure",
    "c",
]
categories = ["development-tools::ffi"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/libffi-rs/libffi-rs"

[package.metadata.docs.rs]
features = [
    "std",
    "system",
]

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

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

[[example]]
name = "libloading"
path = "examples/libloading.rs"

[[example]]
name = "sort"
path = "examples/sort.rs"

[[example]]
name = "types"
path = "examples/types.rs"

[dependencies.libc]
version = "0.2.65"

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

[dev-dependencies.libloading]
version = "0.8"

[lints.clippy]
complexity = "warn"
correctness = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
unreadable_literal = "warn"

[lints.clippy.module_inception]
level = "allow"
priority = 1

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

[lints.clippy.wildcard_imports]
level = "allow"
priority = 1