diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-09 17:46:23 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-09 17:57:34 +0300 |
| commit | b18cfbae238d53de193fc7671f56ec779574094c (patch) | |
| tree | 68e21619f78612a766ec7808ebacffa29efb0cc1 | |
| parent | f64e7e14c3e712b5fa0a04a21ef1df5f3265fd2f (diff) | |
| download | niri-b18cfbae238d53de193fc7671f56ec779574094c.tar.gz niri-b18cfbae238d53de193fc7671f56ec779574094c.tar.bz2 niri-b18cfbae238d53de193fc7671f56ec779574094c.zip | |
niri-ipc: Add README and Cargo.toml metadata
| -rw-r--r-- | niri-ipc/Cargo.toml | 6 | ||||
| -rw-r--r-- | niri-ipc/README.md | 16 | ||||
| -rw-r--r-- | niri-ipc/src/lib.rs | 7 |
3 files changed, 28 insertions, 1 deletions
diff --git a/niri-ipc/Cargo.toml b/niri-ipc/Cargo.toml index 1861799a..a860c002 100644 --- a/niri-ipc/Cargo.toml +++ b/niri-ipc/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "niri-ipc" version.workspace = true -description.workspace = true authors.workspace = true license.workspace = true edition.workspace = true repository.workspace = true +description = "Types and helpers for interfacing with the niri Wayland compositor." +keywords = ["wayland"] +categories = ["api-bindings", "os"] +readme = "README.md" + [dependencies] clap = { workspace = true, optional = true } schemars = { version = "0.8.21", optional = true } diff --git a/niri-ipc/README.md b/niri-ipc/README.md new file mode 100644 index 00000000..7bf3642d --- /dev/null +++ b/niri-ipc/README.md @@ -0,0 +1,16 @@ +# niri-ipc + +Types and helpers for interfacing with the [niri](https://github.com/YaLTeR/niri) Wayland compositor. + +## Backwards compatibility + +This crate follows the niri version. +It is **not** API-stable in terms of the Rust semver. +In particular, expect new struct fields and enum variants to be added in patch version bumps. + +Use an exact version requirement to avoid breaking changes: + +```toml +[dependencies] +niri-ipc = "=0.1.10" +``` diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 69759626..f2eccdcb 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -19,6 +19,13 @@ //! //! This crate follows the niri version. It is **not** API-stable in terms of the Rust semver. In //! particular, expect new struct fields and enum variants to be added in patch version bumps. +//! +//! Use an exact version requirement to avoid breaking changes: +//! +//! ```toml +//! [dependencies] +//! niri-ipc = "=0.1.10" +//! ``` #![warn(missing_docs)] use std::collections::HashMap; |
