- Add Cargo.toml for workspace configuration with dependencies. - Create README.md with project description, usage, and architecture details. - Implement `bin` crate for the main executable, including clipboard processing logic. - Add `config` crate for handling configuration in TOML format. - Develop `lib` crate containing core image processing logic and error handling. - Introduce `platform` crate for platform-specific clipboard interactions, starting with Wayland. - Implement tests for image shrinking functionality and clipboard interactions.
19 lines
456 B
TOML
19 lines
456 B
TOML
[package]
|
|
name = "k-shrink"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
default-run = "k-shrink"
|
|
|
|
[dependencies]
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = "0.3"
|
|
tokio = { version = "1", features = ["full"] }
|
|
lib = { path = "../lib" }
|
|
platform = { path = "../platform" }
|
|
config = { path = "../config" }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
image = { version = "0.25.10", features = ["webp"] }
|