From 9d8f640503819ff1905c9040d3c7910a50400bbd Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 9 Nov 2024 17:50:32 +0300 Subject: niri-ipc: Document features --- niri-ipc/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index f2eccdcb..1952b129 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -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; -- cgit