summaryrefslogtreecommitdiffstats
path: root/vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs')
-rw-r--r--vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs b/vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs
new file mode 100644
index 000000000..49f6ea04b
--- /dev/null
+++ b/vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs
@@ -0,0 +1,11 @@
+//! List of stylesheets that can be used by the `DisplayListFormatter`.
+//!
+//! The list depends on what optional dependencies the crate has been
+//! compiled with.
+//!
+//! By default the `no_color` is available. If the crate gets compiled
+//! with `ansi_term`, the `color` stylesheet is added.
+
+#[cfg(feature = "color")]
+pub mod color;
+pub mod no_color;