niri-ipc: Document features

This commit is contained in:
Ivan Molodetskikh
2024-11-09 17:50:32 +03:00
parent b18cfbae23
commit 9d8f640503
+7
View File
@@ -26,6 +26,13 @@
//! [dependencies]
//! 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)]
use std::collections::HashMap;