aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs11
1 files changed, 11 insertions, 0 deletions
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)]