Cargo.toml
This file
Path
crates/printer/Cargo.toml
44 lines · 1.4 KiB · TOML
Last changed by
cargo: set `rust-version` on all cratesChris Brownbefore adoptiona9dc222
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445[package]name = "grep-printer"version = "0.3.1" #:versionauthors = ["Andrew Gallant <jamslam@gmail.com>"]description = """An implementation of the grep crate's Sink trait that provides standardprinting of search results, similar to grep itself."""documentation = "https://docs.rs/grep-printer"homepage = "https://github.com/BurntSushi/ripgrep/tree/master/crates/printer"repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/printer"readme = "README.md"keywords = ["grep", "pattern", "print", "printer", "sink"]license = "Unlicense OR MIT"edition.workspace = truerust-version.workspace = true
[features]default = ["serde"]serde = ["dep:serde", "dep:serde_json"]
[dependencies]bstr = "1.6.2"grep-matcher = { version = "0.1.8", path = "../matcher" }grep-searcher = { version = "0.1.16", path = "../searcher" }log = "0.4.5"termcolor = "1.3.0"serde = { version = "1.0.193", optional = true }serde_json = { version = "1.0.107", optional = true }
[dev-dependencies]grep-regex = { version = "0.1.14", path = "../regex" }
[package.metadata.docs.rs]# We want to document all features.all-features = true# This opts into a nightly unstable option to show the features that need to be# enabled for public API items. To do that, we set 'docsrs', and when that's# enabled, we enable the 'doc_cfg' feature.## To test this locally, run:## RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-featuresrustdoc-args = ["--cfg", "docsrs"]