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

Blair Noctis n at sail.ng
Sat Jul 20 19:28:27 BST 2024


Hi Christopher,

On Fri, 7 Jul 2023 06:57:48 +0200 наб <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
>
> -- System Information:
> Debian Release: 12.0

On Fri, 7 Jul 2023 15:44:12 +0800 Blair Noctis <n at sail.ng> wrote:
> 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.

On Tue, 26 Dec 2023 14:48:28 +0000 Marnanel Thurman <marnanel at thurman.org.uk> wrote:
> Package: rust-markdown
> Followup-For: Bug #1040514
> 
> Do you think there could be some sort of notice about using pandoc instead,
> when people install rust-markdown? It's rather confusing otherwise.


Do you still need rust-markdown? I mean the binary; elan uses the -dev, that can
be kept (although I'd suggest asking elan upstream to switch to something like
pulldown-cmark).

On that note, rust-markdown was taken over upstream; the new one then alpha'd
from 14 Oct 2022 all the way to 2 Jul 2024, without an obvious sign of even a
beta release. 0.3 remains unmaintained (RUSTSEC-2022-0044). This doesn't look
good, especially when there are more established replacements.

-- 
Sdrager,
Blair Noctis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20240721/e2a67876/attachment.sig>


More information about the Pkg-rust-maintainers mailing list