summaryrefslogtreecommitdiffstats
path: root/vendor/gix-diff/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-diff/src/lib.rs')
-rw-r--r--vendor/gix-diff/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/gix-diff/src/lib.rs b/vendor/gix-diff/src/lib.rs
index a60f7bc04..6d94a7591 100644
--- a/vendor/gix-diff/src/lib.rs
+++ b/vendor/gix-diff/src/lib.rs
@@ -1,4 +1,10 @@
//! Algorithms for diffing various git object types and for generating patches, highly optimized for performance.
+//! ## Feature Flags
+#![cfg_attr(
+feature = "document-features",
+cfg_attr(doc, doc = ::document_features::document_features!())
+)]
+#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![deny(missing_docs, rust_2018_idioms)]
#![forbid(unsafe_code)]
@@ -6,4 +12,5 @@
pub mod tree;
///
+#[cfg(feature = "blob")]
pub mod blob;