[Pkg-rust-maintainers] Bug#1040514: rust-markdown: panicks when no arguments provided

Blair Noctis n at sail.ng
Fri Jul 7 08:44:12 BST 2023


On Fri, 7 Jul 2023 06:57:48 +0200 =?utf-8?B?0L3QsNCx?=
<nabijaczleweli at nabijaczleweli.xyz> wrote:
> Package: rust-markdown
> Version: 0.3.0-1+b5
> Severity: normal
> 
> Dear Maintainer,
> 
> $ rust-markdown
> ["rust-markdown"]
> thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', src/main.rs:9:27
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> 
> also no manual so idk why
Quote upstream:

> 👉 Note: this is a new crate that reuses an old name. The old crate (0.3.0 and
lower) has a bunch of problems. Make sure to use the new crate, currently in
alpha at 1.0.0-alpha.10.

When it's out of alpha (i.e. back to normal version numbers), I may try to
update it.

For now, please consider using something else. If you need a CLI to parse and/or
convert Markdown, there's pandoc. If you need a Rust library, there's
pulldown-cmark. Just what I know of, feel free to search for better alternatives.

-- 
Sdrager,
Blair Noctis



More information about the Pkg-rust-maintainers mailing list