cool-diff 0.1.0

Compact, context-preserving diffs of structured data (serde_json::Value)
Documentation
# 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 = "cool-diff"
version = "0.1.0"
build = false
exclude = [
    ".github/",
    "deny.toml",
    "RELEASE.md",
    "rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compact, context-preserving diffs of structured data (serde_json::Value)"
readme = "README.md"
keywords = [
    "diff",
    "yaml",
    "json",
    "kubernetes",
    "testing",
]
categories = [
    "development-tools::testing",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/NickLarsenNZ/cool-diff"

[features]
color = [
    "dep:owo-colors",
    "dep:supports-color",
]

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

[[example]]
name = "barebones"
path = "examples/barebones.rs"

[[example]]
name = "contains_check"
path = "examples/contains_check.rs"

[[example]]
name = "custom_renderer"
path = "examples/custom_renderer.rs"

[[example]]
name = "kubernetes"
path = "examples/kubernetes.rs"

[[example]]
name = "match_configs"
path = "examples/match_configs.rs"

[[example]]
name = "strict"
path = "examples/strict.rs"

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

[dependencies.owo-colors]
version = "4"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.snafu]
version = "0.9"

[dependencies.supports-color]
version = "3"
optional = true

[dev-dependencies.indoc]
version = "2"

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_yaml]
version = "0.9"