[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/68: gnu: Add rust-bs58-0.5.
From: |
guix-commits |
Subject: |
65/68: gnu: Add rust-bs58-0.5. |
Date: |
Wed, 20 Mar 2024 11:24:40 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 7ecd4732b6621396f8649a639f2c57b870e5133c
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:09:19 2024 +0100
gnu: Add rust-bs58-0.5.
* gnu/packages/crates-io.scm (rust-bs58-0.5): Add variable.
(rust-bs58-0.2): Inherit from rust-bs58-0.5.
Change-Id: I06a95ce256d22f0a724abbae9f86db47d9e90483
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 47 +++++++++++++++++++++++++++++++++-------------
1 file changed, 34 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02e4053387..bba55a85d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8806,36 +8806,57 @@ decompression and compression to Rust.")
(description "Rust-ported Browserslist.")
(license license:expat)))
+(define-public rust-bs58-0.5
+ (package
+ (name "rust-bs58")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bs58" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x3v51n5n2s3l0rgrsn142akdf331n2qsa75pscw71fi848vm25z"))))
+ (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.5)
+ ("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
(origin
(method url-fetch)
(uri (crate-uri "bs58" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(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
- 45/68: gnu: rust-http-types-2: Update to 2.12.0., (continued)
- 45/68: gnu: rust-http-types-2: Update to 2.12.0., guix-commits, 2024/03/20
- 48/68: gnu: rust-trust-dns-native-tls-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 60/68: gnu: Add rust-x509-cert-0.2., guix-commits, 2024/03/20
- 58/68: gnu: Add rust-codegenrs-3., guix-commits, 2024/03/20
- 56/68: gnu: Add rust-tls-codec-derive-0.4., guix-commits, 2024/03/20
- 55/68: gnu: Add rust-serde-with-1., guix-commits, 2024/03/20
- 61/68: gnu: rust-const-oid-0.9: Update to 0.9.6., guix-commits, 2024/03/20
- 62/68: gnu: rust-der-0.7: Update to 0.7.8., guix-commits, 2024/03/20
- 63/68: gnu: rust-der-derive-0.7: Update to 0.7.2., guix-commits, 2024/03/20
- 67/68: gnu: Add rust-async-compat-0.2., guix-commits, 2024/03/20
- 65/68: gnu: Add rust-bs58-0.5.,
guix-commits <=
- 30/68: gnu: Add rust-deadpool-runtime-0.1., guix-commits, 2024/03/20
- 31/68: gnu: Add rust-deadpool-0.9., guix-commits, 2024/03/20
- 28/68: gnu: Add rust-temp-env-0.2., guix-commits, 2024/03/20
- 24/68: gnu: Add rust-thrift-0.17., guix-commits, 2024/03/20
- 27/68: gnu: Add rust-json5-0.4., guix-commits, 2024/03/20
- 35/68: gnu: Add rust-schemars-derive-0.6., guix-commits, 2024/03/20
- 39/68: gnu: Add rust-wiremock-0.5., guix-commits, 2024/03/20
- 40/68: gnu: rust-darling-core-0.13: Update to 0.13.4., guix-commits, 2024/03/20
- 46/68: gnu: rust-surf-2: Update to 2.3.2., guix-commits, 2024/03/20
- 47/68: gnu: rust-trust-dns-proto-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20