File: fix-tests-no-default-features.patch

package info (click to toggle)
rust-comrak 0.41.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,016 kB
  • sloc: sh: 5; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
Index: comrak/examples/syntect.rs
===================================================================
--- comrak.orig/examples/syntect.rs
+++ comrak/examples/syntect.rs
@@ -1,4 +1,5 @@
 //! This example shows how to use the bundled syntect plugin.
+#![cfg(feature="syntect")]
 
 use comrak::plugins::syntect::SyntectAdapterBuilder;
 use comrak::{markdown_to_html_with_plugins, Options, Plugins};