From ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 13 Oct 2022 10:40:01 +0200 Subject: Rename crate to `markdown` --- fuzz/fuzz_targets/micromark.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fuzz/fuzz_targets') diff --git a/fuzz/fuzz_targets/micromark.rs b/fuzz/fuzz_targets/micromark.rs index 2137e0e..c058637 100644 --- a/fuzz/fuzz_targets/micromark.rs +++ b/fuzz/fuzz_targets/micromark.rs @@ -1,15 +1,15 @@ #![no_main] use libfuzzer_sys::fuzz_target; -extern crate micromark; +extern crate markdown; fuzz_target!(|data: &[u8]| { if let Ok(s) = std::str::from_utf8(data) { - let _ = micromark::micromark(s); - let _ = micromark::micromark_with_options( + let _ = markdown::to_html(s); + let _ = markdown::to_html_with_options( s, - µmark::Options::gfm() + &markdown::Options::gfm() ); - let _ = micromark::micromark_to_mdast(s, µmark::ParseOptions::default()); - let _ = micromark::micromark_to_mdast(s, µmark::ParseOptions::gfm()); + let _ = markdown::to_mdast(s, &markdown::ParseOptions::default()); + let _ = markdown::to_mdast(s, &markdown::ParseOptions::gfm()); } }); -- cgit