From 905b62583be73a8969014dbb98b6fd1c92c23df6 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 10 Feb 2023 12:43:38 +0100 Subject: Add `log` feature, document features --- src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 143c931..6d19396 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,6 +11,17 @@ //! constructs (GFM, MDX, and the like) //! * [`to_mdast()`][] //! — turn markdown into a syntax tree +//! +//! ## Features +//! +//! * **`default`** +//! — nothing is enabled by default +//! * **`json`** +//! — enable serde to serialize the AST (includes `dep:serde`, `dep:serde_json`) +//! * **`log`** +//! — enable logging (includes `dep:log`); +//! you can show logs with `RUST_LOG=debug` + #![no_std] #![deny(clippy::pedantic)] #![allow(clippy::doc_link_with_quotes)] -- cgit