# 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.60.0" name = "insta" version = "1.41.1" authors = ["Armin Ronacher "] build = false exclude = ["assets/*"] 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", ] [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" [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.lazy_static] version = "1.4.0" [dependencies.linked-hash-map] version = "0.5.6" [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.7.1" optional = true [dependencies.serde] version = "1.0.117" optional = true [dependencies.similar] version = "2.1.0" features = ["inline"] [dependencies.toml] version = "0.5.7" 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" [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", "serde", ] yaml = ["serde"]