[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [WIP PATCH v3 02/26] gnu: Add rust-html-escape.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [WIP PATCH v3 02/26] gnu: Add rust-html-escape. |
Date: |
Thu, 10 Feb 2022 22:55:03 +0000 |
* gnu/packages/crates-io.scm (rust-html-escape-0.2): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d001e723ec..cff703c427 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26933,6 +26933,30 @@ (define-public rust-htmlescape-0.3
"This package provides a library for HTML entity encoding and decoding.")
(license (list license:asl2.0 license:expat license:mpl2.0))))
+(define-public rust-html-escape-0.2
+ (package
+ (name "rust-html-escape")
+ (version "0.2.9")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "html-escape" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1dxw9lpckrqzzqgbkw64ckbajr4b7xxnjdn8adgzqf2mm40shvl1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-utf8-width" ,rust-utf8-width-0.1))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1))))
+ (home-page "https://magiclen.org/html-escape")
+ (synopsis "Library for encoding and escaping special characters in HTML")
+ (description
+ "This package provides a library for encoding and escaping special
+characters in HTML, decoding and unescaping HTML entities as well.")
+ (license license:expat)))
+
(define-public rust-http-0.2
(package
(name "rust-http")
--
2.34.0
- [bug#49946] [WIP PATCH v3 07/26] gnu: Add tree-sitter-cpp., (continued)
- [bug#49946] [WIP PATCH v3 07/26] gnu: Add tree-sitter-cpp., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 12/26] gnu: Add tree-sitter-java., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 09/26] gnu: Add tree-sitter-css., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 08/26] gnu: Add tree-sitter-bash., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 14/26] gnu: Add tree-sitter-json., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 16/26] gnu: Add tree-sitter-php., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 20/26] gnu: Add rust-tree-sitter-for-emacs., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 15/26] gnu: Add tree-sitter-julia., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 22/26] gnu: rust-emacs-macros: Update to 0.17., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 24/26] gnu: Add emacs-tree-sitter-core., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 02/26] gnu: Add rust-html-escape.,
Pierre Langlois <=
- [bug#49946] [WIP PATCH v3 17/26] gnu: Add tree-sitter-python., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 18/26] gnu: Add tree-sitter-rust., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 21/26] gnu: rust-emacs-module: Update to 0.18., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 19/26] gnu: Add tree-sitter-typescript., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 26/26] gnu: Add emacs-tree-sitter-langs., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 23/26] gnu: rust-emacs: Update to 0.18., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 25/26] gnu: Add emacs-tree-sitter., Pierre Langlois, 2022/02/10
- [bug#49946] [PATCH v4 00/31] gnu: Add tree-sitter for emacs., Pierre Langlois, 2022/02/18