[package]
edition = "2024"
rust-version = "1.85"
name = "bugreport"
version = "0.6.0"
authors = ["David Peter <mail@david-peter.de>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Collect system and environment information for bug reports"
homepage = "https://github.com/sharkdp/bugreport"
readme = "README.md"
keywords = [
"bugreport",
"diagnostics",
"cross-platform",
"cli",
"terminal",
]
categories = ["command-line-interface"]
license = "MIT/Apache-2.0"
repository = "https://github.com/sharkdp/bugreport"
[features]
collector_operating_system = ["dep:sysinfo"]
default = [
"collector_operating_system",
"git_hash",
"format_markdown",
]
format_markdown = []
format_plaintext = []
git_hash = ["git-version"]
[lib]
name = "bugreport"
path = "src/lib.rs"
[[example]]
name = "custom_collector"
path = "examples/custom_collector.rs"
[[example]]
name = "readme"
path = "examples/readme.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[test]]
name = "test_collector_directory_entries"
path = "tests/test_collector_directory_entries.rs"
[dependencies.git-version]
version = "0.3"
optional = true
[dependencies.shell-escape]
version = "0.1"
[dependencies.sysinfo]
version = "0.33.1"
optional = true
[dev-dependencies.pretty_assertions]
version = "1.1.0"
[dev-dependencies.tempfile]
version = "3.3.0"