192 lines
3.2 KiB
TOML
192 lines
3.2 KiB
TOML
# 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.64.0"
|
|
name = "insta"
|
|
version = "1.46.3"
|
|
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
|
|
build = false
|
|
exclude = ["assets/*"]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A snapshot testing library for Rust"
|
|
homepage = "https://insta.rs/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"snapshot",
|
|
"testing",
|
|
"jest",
|
|
"approval",
|
|
]
|
|
categories = ["development-tools::testing"]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/mitsuhiko/insta"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
_cargo_insta_internal = ["clap"]
|
|
colors = ["console"]
|
|
csv = [
|
|
"dep:csv",
|
|
"serde",
|
|
]
|
|
default = ["colors"]
|
|
filters = ["regex"]
|
|
glob = [
|
|
"walkdir",
|
|
"globset",
|
|
]
|
|
json = ["serde"]
|
|
redactions = [
|
|
"pest",
|
|
"pest_derive",
|
|
"serde",
|
|
]
|
|
ron = [
|
|
"dep:ron",
|
|
"serde",
|
|
]
|
|
toml = [
|
|
"dep:toml_edit",
|
|
"dep:toml_writer",
|
|
"serde",
|
|
]
|
|
yaml = ["serde"]
|
|
|
|
[lib]
|
|
name = "insta"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "test_advanced"
|
|
path = "tests/test_advanced.rs"
|
|
|
|
[[test]]
|
|
name = "test_basic"
|
|
path = "tests/test_basic.rs"
|
|
|
|
[[test]]
|
|
name = "test_binary"
|
|
path = "tests/test_binary.rs"
|
|
|
|
[[test]]
|
|
name = "test_glob"
|
|
path = "tests/test_glob.rs"
|
|
|
|
[[test]]
|
|
name = "test_inline"
|
|
path = "tests/test_inline.rs"
|
|
|
|
[[test]]
|
|
name = "test_redaction"
|
|
path = "tests/test_redaction.rs"
|
|
|
|
[[test]]
|
|
name = "test_settings"
|
|
path = "tests/test_settings.rs"
|
|
|
|
[[test]]
|
|
name = "test_toml"
|
|
path = "tests/test_toml.rs"
|
|
|
|
[dependencies.clap]
|
|
version = "4.1"
|
|
features = [
|
|
"derive",
|
|
"env",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.console]
|
|
version = "0.15.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.csv]
|
|
version = "1.1.6"
|
|
optional = true
|
|
|
|
[dependencies.globset]
|
|
version = "0.4.6"
|
|
optional = true
|
|
|
|
[dependencies.once_cell]
|
|
version = "1.20.2"
|
|
|
|
[dependencies.pest]
|
|
version = "2.1.3"
|
|
optional = true
|
|
|
|
[dependencies.pest_derive]
|
|
version = "2.1.0"
|
|
optional = true
|
|
|
|
[dependencies.regex]
|
|
version = "1.6.0"
|
|
features = [
|
|
"std",
|
|
"unicode",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.ron]
|
|
version = "0.12.0"
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.117"
|
|
optional = true
|
|
|
|
[dependencies.similar]
|
|
version = "2.1.0"
|
|
features = ["inline"]
|
|
|
|
[dependencies.tempfile]
|
|
version = "3"
|
|
|
|
[dependencies.toml_edit]
|
|
version = "0.23.0"
|
|
features = [
|
|
"serde",
|
|
"parse",
|
|
"display",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.toml_writer]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dependencies.walkdir]
|
|
version = "2.3.1"
|
|
optional = true
|
|
|
|
[dev-dependencies.rustc_version]
|
|
version = "0.4.0"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0.117"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.similar-asserts]
|
|
version = "1.4.2"
|