ferrotype 0.1.2

An opinionated wrapper for insta.rs
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"
name = "ferrotype"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An opinionated wrapper for insta.rs"
readme = "README.md"
license = "BlueOak-1.0.0"
repository = "https://github.com/gold-build/laburnum/crates/ferrotype"
resolver = "2"

[features]
anstream = ["dep:anstream"]
bluegum = ["dep:bluegum"]
default = [
    "dot_snapshots",
    "tokenstream",
    "bluegum",
    "anstream",
    "hex",
]
dot_snapshots = []
hex = ["dep:pretty-hex"]
tokenstream = [
    "dep:proc-macro2",
    "dep:syn",
    "dep:prettyplease",
]

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

[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = []

[[example]]
name = "features"
path = "examples/features.rs"
required-features = [
    "hex",
    "tokenstream",
    "anstream",
    "bluegum",
]

[[example]]
name = "filtering"
path = "examples/filtering.rs"
required-features = []

[[example]]
name = "testing"
path = "examples/testing.rs"
required-features = []

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

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

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

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

[dependencies.anstream]
version = "0.3.2"
optional = true

[dependencies.bluegum]
version = "0"
optional = true

[dependencies.insta]
version = "1.41.0"
features = [
    "filters",
    "redactions",
    "colors",
]

[dependencies.pretty-hex]
version = "0.4.0"
optional = true

[dependencies.prettyplease]
version = "0.2.12"
optional = true

[dependencies.proc-macro2]
version = "1"
optional = true

[dependencies.syn]
version = "2"
features = [
    "extra-traits",
    "full",
]
optional = true

[lints.clippy]

[lints.rust]
dead_code = "warn"
renamed_and_removed_lints = "deny"
unknown_lints = "allow"
unused_imports = "warn"
unused_variables = "warn"