forge
Explore
Log in

Don't you dare go Hollow

niri-ipc: Add README and Cargo.toml metadata

Browse files at this commit

b18cfbae238d53de193fc7671f56ec779574094cIvan MolodetskikhParent: f64e7e1
niri-ipc/Cargo.tomlmodified+5 -1
@@ -1,12 +1,16 @@
1 [package]1 [package]
2 name = "niri-ipc"2 name = "niri-ipc"
3 version.workspace = true3 version.workspace = true
4-description.workspace = true
5 authors.workspace = true4 authors.workspace = true
6 license.workspace = true5 license.workspace = true
7 edition.workspace = true6 edition.workspace = true
8 repository.workspace = true7 repository.workspace = true
9 8
9+description = "Types and helpers for interfacing with the niri Wayland compositor."
10+keywords = ["wayland"]
11+categories = ["api-bindings", "os"]
12+readme = "README.md"
13+
10 [dependencies]14 [dependencies]
11 clap = { workspace = true, optional = true }15 clap = { workspace = true, optional = true }
12 schemars = { version = "0.8.21", optional = true }16 schemars = { version = "0.8.21", optional = true }
niri-ipc/README.mdadded+16 -0
@@ -0,0 +1,16 @@
1+# niri-ipc
2+
3+Types and helpers for interfacing with the [niri](https://github.com/YaLTeR/niri) Wayland compositor.
4+
5+## Backwards compatibility
6+
7+This crate follows the niri version.
8+It is **not** API-stable in terms of the Rust semver.
9+In particular, expect new struct fields and enum variants to be added in patch version bumps.
10+
11+Use an exact version requirement to avoid breaking changes:
12+
13+```toml
14+[dependencies]
15+niri-ipc = "=0.1.10"
16+```
niri-ipc/src/lib.rsmodified+7 -0
@@ -19,6 +19,13 @@
19 //!19 //!
20 //! This crate follows the niri version. It is **not** API-stable in terms of the Rust semver. In20 //! This crate follows the niri version. It is **not** API-stable in terms of the Rust semver. In
21 //! particular, expect new struct fields and enum variants to be added in patch version bumps.21 //! particular, expect new struct fields and enum variants to be added in patch version bumps.
22+//!
23+//! Use an exact version requirement to avoid breaking changes:
24+//!
25+//! ```toml
26+//! [dependencies]
27+//! niri-ipc = "=0.1.10"
28+//! ```
22 #![warn(missing_docs)]29 #![warn(missing_docs)]
23 30
24 use std::collections::HashMap;31 use std::collections::HashMap;