[package]
edition = "2021"
name = "grim-rs"
version = "0.1.7"
authors = ["vremyavnikuda <vremyavnikuda@protonmail.com>"]
build = false
exclude = [
"/target",
".gitignore",
"todo.md",
"grim.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of grim screenshot utility for Wayland"
homepage = "https://github.com/shikoucore/grim-rs"
documentation = "https://docs.rs/grim-rs"
readme = "README.md"
keywords = [
"wayland",
"screenshot",
"grim",
"screen-capture",
]
categories = [
"graphics",
"api-bindings",
]
license-file = "LICENSE"
repository = "https://github.com/shikoucore/grim-rs"
[features]
default = [
"png_support",
"jpeg",
]
jpeg = [
"image/jpeg",
"jpeg-encoder",
"png_support",
]
png_support = ["png"]
[lib]
name = "grim_rs"
crate-type = ["lib"]
path = "src/lib.rs"
[[bin]]
name = "grim-rs"
path = "src/bin/grim.rs"
[[example]]
name = "comprehensive_demo"
path = "examples/comprehensive_demo.rs"
[[example]]
name = "profile_test"
path = "examples/profile_test.rs"
[[example]]
name = "second_monitor_demo"
path = "examples/second_monitor_demo.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[[test]]
name = "test_cli_parsing"
path = "tests/test_cli_parsing.rs"
[[test]]
name = "test_encapsulation"
path = "tests/test_encapsulation.rs"
[[test]]
name = "test_error_handling"
path = "tests/test_error_handling.rs"
[[test]]
name = "test_filename_format"
path = "tests/test_filename_format.rs"
[[test]]
name = "test_geometry"
path = "tests/test_geometry.rs"
[[test]]
name = "test_geometry_properties"
path = "tests/test_geometry_properties.rs"
[[test]]
name = "test_grid_aligned"
path = "tests/test_grid_aligned.rs"
[[test]]
name = "test_rotated_output_semantics"
path = "tests/test_rotated_output_semantics.rs"
[[bench]]
name = "alloc_profiler"
path = "benches/alloc_profiler.rs"
harness = false
[[bench]]
name = "capture_benchmarks"
path = "benches/capture_benchmarks.rs"
harness = false
[[bench]]
name = "encode_benchmarks"
path = "benches/encode_benchmarks.rs"
harness = false
[dependencies.chrono]
version = "0.4.43"
[dependencies.image]
version = "0.25.8"
features = ["png"]
[dependencies.jpeg-encoder]
version = "0.7.0"
optional = true
[dependencies.log]
version = "0.4.29"
[dependencies.memmap2]
version = "0.9.9"
[dependencies.png]
version = "0.17.0"
optional = true
[dependencies.tempfile]
version = "3.24.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.wayland-client]
version = "0.31"
[dependencies.wayland-protocols]
version = "0.32"
features = [
"client",
"unstable",
]
[dependencies.wayland-protocols-wlr]
version = "0.3"
features = ["client"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.regex]
version = "1.10"