# 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.88.0"
name = "fast-yaml-ffi"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FFI utilities for fast-yaml bindings"
readme = "README.md"
keywords = [
    "yaml",
    "ffi",
    "bindings",
]
categories = [
    "parsing",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/fast-yaml"
resolver = "2"

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

[dependencies.fast-yaml-core]
version = "0.3.1"

[dependencies.thiserror]
version = "2.0"

[lints.clippy]
cargo_common_metadata = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

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

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

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
