Skip to content

Commit 543eef4

Browse files
committed
📝 Document disabling the default features
1 parent 4bf1614 commit 543eef4

File tree

1 file changed

+8
-0
lines changed
  • crates/terminal-colorsaurus/src

1 file changed

+8
-0
lines changed

crates/terminal-colorsaurus/src/lib.rs

+8
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ mod error;
4646
mod fmt;
4747

4848
/// Low-level utilities for parsing responses to `OSC 10` / `OSC 11` queries.
49+
///
50+
/// **Hint:** If you are only using this module, then you should probably disable
51+
/// the default features to avoid unnecessary dependencies:
52+
///
53+
/// ```toml
54+
/// [dependencies]
55+
/// terminal-colorsaurus = { version = "...", default-features = false }
56+
/// ```
4957
pub mod parse {
5058
pub use crate::xparsecolor::xparsecolor;
5159
}

0 commit comments

Comments
 (0)