[package]
edition = "2024"
rust-version = "1.92"
name = "sel-rs"
version = "0.2.2"
authors = ["InkyQuill <inkyquill@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Select slices from text files by line numbers, ranges, positions, or regex"
homepage = "https://github.com/InkyQuill/sel"
documentation = "https://docs.rs/sel-rs"
readme = "README.md"
keywords = [
"cli",
"grep",
"text",
"select",
"extract",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/InkyQuill/sel"
[lib]
name = "sel"
path = "src/lib.rs"
[[bin]]
name = "sel"
path = "src/main.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "invert"
path = "tests/invert.rs"
[[test]]
name = "line_number_format"
path = "tests/line_number_format.rs"
[[test]]
name = "multi_file"
path = "tests/multi_file.rs"
[[test]]
name = "output_file"
path = "tests/output_file.rs"
[[test]]
name = "positions"
path = "tests/positions.rs"
[[test]]
name = "regex"
path = "tests/regex.rs"
[[test]]
name = "selectors"
path = "tests/selectors.rs"
[[test]]
name = "stdin"
path = "tests/stdin.rs"
[[bench]]
name = "large_file"
path = "benches/large_file.rs"
harness = false
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.regex]
version = "1.11"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.tempfile]
version = "3.14"
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true