mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
c52da74ac3
This starts the usage of bstr in the printer. We don't use it too much yet, but it comes in handy for implementing PrinterPath and lets us push down some platform specific code into bstr.
32 lines
1.0 KiB
TOML
32 lines
1.0 KiB
TOML
[package]
|
|
name = "grep-printer"
|
|
version = "0.1.1" #:version
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
description = """
|
|
An implementation of the grep crate's Sink trait that provides standard
|
|
printing of search results, similar to grep itself.
|
|
"""
|
|
documentation = "https://docs.rs/grep-printer"
|
|
homepage = "https://github.com/BurntSushi/ripgrep"
|
|
repository = "https://github.com/BurntSushi/ripgrep"
|
|
readme = "README.md"
|
|
keywords = ["grep", "pattern", "print", "printer", "sink"]
|
|
license = "Unlicense/MIT"
|
|
|
|
[features]
|
|
default = ["serde1"]
|
|
serde1 = ["base64", "serde", "serde_derive", "serde_json"]
|
|
|
|
[dependencies]
|
|
base64 = { version = "0.10.0", optional = true }
|
|
bstr = "0.1.2"
|
|
grep-matcher = { version = "0.1.1", path = "../grep-matcher" }
|
|
grep-searcher = { version = "0.1.1", path = "../grep-searcher" }
|
|
termcolor = "1.0.4"
|
|
serde = { version = "1.0.77", optional = true }
|
|
serde_derive = { version = "1.0.77", optional = true }
|
|
serde_json = { version = "1.0.27", optional = true }
|
|
|
|
[dev-dependencies]
|
|
grep-regex = { version = "0.1.1", path = "../grep-regex" }
|