From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs (limited to 'vendor/annotate-snippets-0.8.0/src/stylesheets/mod.rs') 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; -- cgit v1.2.3