diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-09 17:50:32 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-09 17:57:52 +0300 |
| commit | 9d8f640503819ff1905c9040d3c7910a50400bbd (patch) | |
| tree | e707693bb557e16e2562f2f604bed56fd07684f5 | |
| parent | b18cfbae238d53de193fc7671f56ec779574094c (diff) | |
| download | niri-9d8f640503819ff1905c9040d3c7910a50400bbd.tar.gz niri-9d8f640503819ff1905c9040d3c7910a50400bbd.tar.bz2 niri-9d8f640503819ff1905c9040d3c7910a50400bbd.zip | |
niri-ipc: Document features
| -rw-r--r-- | niri-ipc/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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; |
