# 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.91.1"
name = "snapdir-ffi"
version = "1.11.0"
authors = ["Bermi Ferrer <bermi@bermilabs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "snapdir-ffi: C ABI (cdylib + staticlib) for the snapdir language bindings."
homepage = "https://snapdir.org"
readme = "README.md"
license = "MIT"
repository = "https://github.com/snapdir/snapdir"

[package.metadata.cargo-shear]
ignored = ["cbindgen"]

[lib]
name = "snapdir_ffi"
crate-type = [
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[dependencies.libc]
version = "0.2"

[dependencies.serde_json]
version = "1"

[dependencies.snapdir-api]
version = "1.11.0"

[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
default-features = false

[build-dependencies.cbindgen]
version = "0.28"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1
