From 15b74d311dca576cdf0f355c54ffc60f7a96be9b Mon Sep 17 00:00:00 2001 From: Milad Alizadeh Date: Mon, 24 Aug 2026 12:03:40 +0100 Subject: [PATCH] Add the metadata crates.io needs repository, readme, keywords and categories, so the crate page says what this is and is findable; the MIT text the license field was already claiming; and rust-version, because let-chains mean 1.88 and an older toolchain should say so rather than fail to parse. `cargo package` builds the packaged tarball cleanly: 17 files, nothing stray, and the release binary links nothing beyond libc, so installing it needs no system development packages. --- Cargo.toml | 6 ++++++ LICENSE | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index 8197e9d..4625286 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,12 @@ version = "0.1.0" edition = "2024" description = "A live grid of window and display previews, for picking one" license = "MIT" +repository = "https://github.com/mil-ad/wl-pick" +readme = "README.md" +keywords = ["wayland", "sway", "wlroots", "screencast", "switcher"] +categories = ["command-line-utilities", "os::unix-apis"] +# let-chains, which are edition 2024 and stable from here on +rust-version = "1.88" [dependencies] wayland-client = "0.31" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9bd5e1b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Milad Alizadeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.