# 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.81"
name = "decamelize-keys"
version = "0.1.0"
authors = ["trananhtung"]
build = false
exclude = [
    "/.github",
    "/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Recursively convert the keys of a JSON object from camelCase to a separated lower-case (e.g. fooBar -> foo_bar). A faithful port of the decamelize-keys npm package."
homepage = "https://github.com/trananhtung/decamelize-keys"
documentation = "https://docs.rs/decamelize-keys"
readme = "README.md"
keywords = [
    "decamelize",
    "keys",
    "object",
    "json",
    "snake-case",
]
categories = [
    "text-processing",
    "value-formatting",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/decamelize-keys"

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.decamelize]
version = "0.1"

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

[lints.clippy]
all = "warn"
pedantic = "warn"

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