# 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.85"
name = "feature-manifest"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Document, validate, and render Cargo feature metadata."
homepage = "https://github.com/funwithcthulhu/feature-manifest"
documentation = "https://docs.rs/feature-manifest"
readme = "README.md"
keywords = [
    "cargo",
    "features",
    "metadata",
    "docs",
    "cli",
]
categories = [
    "development-tools",
    "development-tools::cargo-plugins",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/funwithcthulhu/feature-manifest"

[package.metadata.docs.rs]
all-features = true

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

[[bin]]
name = "cargo-feature-manifest"
path = "src/main.rs"

[[bin]]
name = "cargo-fm"
path = "src/bin/cargo-fm.rs"

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.cargo_metadata]
version = "0.20.0"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.toml]
version = "1.1.2"

[dependencies.toml_edit]
version = "0.25.11"

[dev-dependencies.tempfile]
version = "3.27.0"
