# 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.95"
name = "bougie-php-json"
version = "0.32.2"
authors = ["Jelle Besseling <jelle@pingiun.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Byte-exact PHP json_encode output for two flag combinations Composer relies on (content-hash + JsonFile::encode)."
readme = false
license = "EUPL-1.2"
repository = "https://github.com/cresset-tools/bougie"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

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

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

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
