[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 189/228] gnu: Add rust-bs58-0.5.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 189/228] gnu: Add rust-bs58-0.5. |
Date: |
Sun, 18 Feb 2024 22:09:19 +0100 |
* gnu/packages/crates-io.scm (rust-bs58-0.5): Add variable.
(rust-bs58-0.2): Inherit from rust-bs58-0.5.
Change-Id: I06a95ce256d22f0a724abbae9f86db47d9e90483
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52add0344c..16d81bd4d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8141,8 +8141,41 @@ (define-public rust-browserslist-rs-0.6
(description "Rust-ported Browserslist.")
(license license:expat)))
+(define-public rust-bs58-0.5
+ (package
+ (name "rust-bs58")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bs58" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15kqgld75z03srq6nzsdgraakhvap5avgw364h352x0z6hv3ydgm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.10)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-tinyvec" ,rust-tinyvec-1))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-base58" ,rust-base58-0.1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rust-base58" ,rust-rust-base58-0.0)
+ ("rust-tinyvec" ,rust-tinyvec-1))))
+ (home-page "https://github.com/Nullus157/bs58-rs")
+ (synopsis "Another Base58 codec implementation")
+ (description
+ "Another Base58 codec implementation. Compared to the base58 crate
+this is significantly faster at decoding: about 2.4x as fast when
+decoding 32 bytes, almost the same speed for encoding: about 3% slower
+when encoding 32 bytes. @code{rust-bs58} is not limited to 128 bytes
+and supports a configurable alphabet.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-bs58-0.2
(package
+ (inherit rust-bs58-0.5)
(name "rust-bs58")
(version "0.2.5")
(source
@@ -8154,23 +8187,13 @@ (define-public rust-bs58-0.2
(sha256
(base32
"125i962x0m0ggdif6ds51wfif2lypiicy469dj5j2l6rm6xycpn9"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-sha2" ,rust-sha2-0.8))
#:cargo-development-inputs
(("rust-assert-matches" ,rust-assert-matches-1)
("rust-base58" ,rust-base58-0.1)
- ("rust-rust-base58" ,rust-rust-base58-0.0))))
- (home-page "https://github.com/mycorrhiza/bs58-rs")
- (synopsis "Another Base58 codec implementation")
- (description
- "Another Base58 codec implementation. Compared to the base58 crate this
-is significantly faster at decoding (about 2.4x as fast when decoding 32
-bytes), almost the same speed for encoding (about 3% slower when encoding 32
-bytes), doesn't have the 128 byte limitation and supports a configurable
-alphabet.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-rust-base58" ,rust-rust-base58-0.0))))))
(define-public rust-bson-2
(package
--
2.41.0
- [bug#69257] [PATCH 021/228] gnu: Place rust-rpassword-6 in alphabetical order., (continued)
- [bug#69257] [PATCH 021/228] gnu: Place rust-rpassword-6 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 221/228] gnu: Add rust-uniffi-udl-0.25., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 035/228] gnu: Add rust-mas-jose-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 173/228] gnu: Add rust-ruma-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 024/228] gnu: Place rust-rtoolbox-0.0.1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 159/228] gnu: Add rust-curve25519-dalek-4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 076/228] gnu: Add rust-msvc-demangler-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 045/228] gnu: Add rust-gat-std-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 032/228] gnu: Add rust-eyeball-im-util-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 140/228] gnu: Add rust-ruma-macros-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 189/228] gnu: Add rust-bs58-0.5.,
Herman Rimm <=
- [bug#69257] [PATCH 098/228] gnu: Add rust-grpcio-sys-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 138/228] gnu: Add rust-js-int-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 062/228] gnu: Add rust-opentelemetry-0.21., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 068/228] gnu: Add rust-dary-heap-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 066/228] gnu: Add rust-opentelemetry-http-0.10., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 176/228] gnu: Add rust-tls-codec-derive-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 124/228] gnu: Add rust-wiremock-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 133/228] gnu: Add rust-const-panic-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 075/228] gnu: Add rust-symbolic-common-12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 031/228] gnu: Add rust-eyeball-im-0.4., Herman Rimm, 2024/02/18