insta 1.18.2

A snapshot testing library for Rust
Documentation
[package]
name = "insta"
version = "1.18.2"
license = "Apache-2.0"
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
description = "A snapshot testing library for Rust"
edition = "2018"
rust-version = "1.51.0"
homepage = "https://insta.rs/"
repository = "https://github.com/mitsuhiko/insta"
keywords = ["snapshot", "testing", "jest", "approval"]
readme = "README.md"
exclude = [
    "assets/*"
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["colors", "__private_legacy_default_serialization"]

# when the redactions feature is enabled values can be redacted in serialized
# snapshots.
redactions = ["pest", "pest_derive", "serde"]

# Enables support for running filters on snapshot
filters = ["regex"]

# Glob support
glob = ["walkdir", "globset"]

# Color support
colors = ["console"]

# Serialization formats
# TODO: This could be cleaner by using "dep:csv" without renaming the dep, but
# this technique allows for a lower MSRV
csv = ["dep_csv", "serde"]
json = ["serde"]
ron = ["dep_ron", "serde"]
toml = ["dep_toml", "serde"]
yaml = ["serde"]

# legacy support.  This is turned on by default for a single release and turns
# on the assert_json_snapshot! and assert_yaml_snapshot! macros by default.
# This will be phased out.  Use the "json" and "yaml" features instead.
# If you already want to benefit of the leaner defaults, turn off the default
# features and opt into what you want manually (you probably want to turn on "colors").
__private_legacy_default_serialization = ["serde"]

# This is a deprecated and unused feature.  The first feature is what was available
# in teh past and should no longer be used.  The second feature exists to hide the
# warning when testing with all features is enabled.  Both those features will go
# away soon.
backtrace = []
serialization = []
__private_hide_feature_deprecation_warning = []

[dependencies]
dep_csv = { package = "csv", version = "1.1.4", optional = true }
console = { version = "0.15.1", optional = true, default-features = false }
pest = { version = "2.1.3", optional = true }
pest_derive = { version = "2.1.0", optional = true }
dep_ron = { package = "ron", version = "0.7.1", optional = true }
dep_toml = { package = "toml", version = "0.5.7", optional = true }
globset = { version = "0.4.6", optional = true }
walkdir = { version = "2.3.1", optional = true }
similar = { version = "2.1.0", features = ["inline"] }
once_cell = "1.9.0"
regex = { version = "1.6.0", default-features = false, optional = true, features = ["std", "unicode"] }
yaml-rust = "0.4.5"
serde = { version = "1.0.117", optional = true }
linked-hash-map = "0.5.6"

[dev-dependencies]
serde = { version = "1.0.117", features = ["derive"] }
similar-asserts = "1.4.2"