[package]
edition = "2024"
rust-version = "1.87"
name = "lamco-data-control"
version = "1.0.1"
authors = ["Greg Lamberson <greg@lamco.io>"]
build = false
include = [
"/src/",
"/examples/",
"/tests/",
"/README.md",
"/CHANGELOG.md",
"/LICENSE-MIT",
"/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wayland data-control clipboard client (ext-data-control-v1 and wlr-data-control) with on-demand pastes"
homepage = "https://lamco.ai/open-source/xdg-desktop-portal-generic/"
documentation = "https://docs.rs/lamco-data-control"
readme = "README.md"
keywords = [
"wayland",
"clipboard",
"data-control",
"wlroots",
"selection",
]
categories = [
"os::linux-apis",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lamco-admin/xdg-desktop-portal-generic"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[lib]
name = "lamco_data_control"
path = "src/lib.rs"
[[example]]
name = "copy"
path = "examples/copy.rs"
[[example]]
name = "paste"
path = "examples/paste.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[dependencies.nix]
version = "0.31"
features = [
"fs",
"poll",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.wayland-client]
version = "0.31"
[dependencies.wayland-protocols]
version = "0.32"
features = [
"client",
"staging",
]
[dependencies.wayland-protocols-wlr]
version = "0.3"
features = ["client"]
[lints.clippy]
allow_attributes = "deny"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
items_after_statements = "allow"
large_futures = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
unused_async = "allow"
unwrap_used = "warn"
wildcard_imports = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"