mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
niri-ipc: Document features
This commit is contained in:
@@ -26,6 +26,13 @@
|
|||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! niri-ipc = "=0.1.10"
|
//! niri-ipc = "=0.1.10"
|
||||||
//! ```
|
//! ```
|
||||||
|
//!
|
||||||
|
//! ## Features
|
||||||
|
//!
|
||||||
|
//! This crate defines the following features:
|
||||||
|
//! - `json-schema`: derives the [schemars](https://lib.rs/crates/schemars) `JsonSchema` trait for
|
||||||
|
//! the types.
|
||||||
|
//! - `clap`: derives the clap CLI parsing traits for some types. Used internally by niri itself.
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|||||||
Reference in New Issue
Block a user