Subject: Re: [bug#49946] [PATCH v7 03/32] gnu: Add rust-html-escape.

From: "(" <[email-masked]>
Date: Fri, 25 Nov 2022 06:46:20 +0000

On Fri Nov 25, 2022 at 1:21 AM GMT, Pierre Langlois wrote:
> * gnu/packages/crates-io.scm (rust-html-escape): New variable.

> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm

> @@ -25913,6 +25913,30 @@ (define-public rust-htmlescape-0.3

> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-utf8-width" ,rust-utf8-width-0.1))
> +       #:cargo-development-inputs
> +       (("rust-bencher" ,rust-bencher-0.1))))

Please use LIST here:

  (arguments
   (list #:cargo-inputs
         `(("rust-utf8-width" ,rust-utf8-width-0.1))
         #:cargo-development-inputs
        `(("rust-bencher" ,rust-bencher-0.1))))
  
> +    (description
> +     "This package provides a library for encoding and escaping special
> +characters in HTML, decoding and unescaping HTML entities as well.")

This isn't quite a full, grammatical sentence (I guess it was lifted from
the crates.io page?) How about this?

  (description
   "This package provides a library for encoding special characters
as HTML entities and vice versa.")

    -- (