Skip to content

Commit

Permalink
niri-ipc: Add README and Cargo.toml metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Nov 9, 2024
1 parent f64e7e1 commit b18cfba
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
6 changes: 5 additions & 1 deletion niri-ipc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down
16 changes: 16 additions & 0 deletions niri-ipc/README.md
Original file line number Diff line number Diff line change
@@ -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"
```
7 changes: 7 additions & 0 deletions niri-ipc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b18cfba

Please sign in to comment.