[package] name = "ferrotype" description = "An opinionated wrapper for insta.rs" version = "0.1.0" license = "MIT OR Apache-2.0" repository = "https://github.com/gold-build/gold/tree/main/packages/ferrotype" edition = "2021" [dependencies] insta = { version = "1" } # bluegum = { path = "../bluegum", version = "0", optional = true} proc-macro2 = { version = "1", optional = true } quote = { version = "1", optional = true } syn = { version = "2", features = ["extra-traits", "full"] ,optional = true } prettyplease = { version = "0.2.12", optional = true } [features] default = [ "dot_snapshots", "tokenstream" ] #, "bluegum" ] # Enable to place snaphots in a dot directory, otherwise they go in the default location dot_snapshots = [] # Enables support for adding a TokenStream to the snapshot tokenstream = [ "dep:proc-macro2", "dep:syn", "dep:prettyplease" ] # Enables support for adding a bluegum tree to the snapshot #bluegum = [ "dep:bluegum" ]