Skip to content

Commit

Permalink
chore(deps): make document-features optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 26, 2023
1 parent f2c0b30 commit 78363c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ strum = { version = "0.25", features = ["derive"] }
time = { version = "0.3.11", optional = true, features = ["local-offset"] }
unicode-segmentation = "1.10"
unicode-width = "0.1"
document-features = "0.2.7"
document-features = { version = "0.2.7", optional = true }

[dev-dependencies]
anyhow = "1.0.71"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
//! corresponding area.
//!
//! # Features
#![doc = document_features::document_features!()]
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
//!
//! [`Layout`]: layout::Layout
//! [`backend`]: backend
Expand Down

0 comments on commit 78363c5

Please sign in to comment.