[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
249/330: gnu: Add rust-bytestring-1.
From: |
guix-commits |
Subject: |
249/330: gnu: Add rust-bytestring-1. |
Date: |
Mon, 18 Mar 2024 07:16:28 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 025a684b8b8e9009f127aac8390a6ae90335787c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:27:52 2024 +0200
gnu: Add rust-bytestring-1.
* gnu/packages/crates-io.scm (rust-bytestring-1): New variable.
(rust-bytestring-0.1): Inherit from rust-bytestring-1.
Change-Id: I50d2aa40797330383bc26da7eb20b0748cdb4d99
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 823dedd594..f79bf99965 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9679,8 +9679,31 @@ little-endian.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-bytestring-1
+ (package
+ (name "rust-bytestring")
+ (version "1.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bytestring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wpf0c5c72x3ycdb85vznkmcy8fy6ckzd512064dyabbx81h5n3l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; unresolved import `ahash`
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://actix.rs")
+ (synopsis "UTF-8 encoded string with Bytes as a storage")
+ (description "This package provides a UTF-8 encoded read-only string using
+`Bytes` as storage.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bytestring-0.1
(package
+ (inherit rust-bytestring-1)
(name "rust-bytestring")
(version "0.1.5")
(source
@@ -9690,18 +9713,12 @@ little-endian.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qzkncgky5p5vsdb9msmfg6d92dcs9idcjcr5nk7inkja7x0az7w"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bytes" ,rust-bytes-0.5)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
- (("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://actix.rs")
- (synopsis "UTF-8 encoded string with Bytes as a storage")
- (description
- "This package provides a UTF-8 encoded string with Bytes as a storage.")
- (license (list license:expat license:asl2.0))))
+ (("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-byteyarn-0.2
(package
- 229/330: gnu: eza: Update to 0.18.7., (continued)
- 229/330: gnu: eza: Update to 0.18.7., guix-commits, 2024/03/18
- 231/330: gnu: rust-rust-embed-utils-5: Don't skip the build., guix-commits, 2024/03/18
- 232/330: gnu: rust-rust-embed-impl-5: Don't skip the build., guix-commits, 2024/03/18
- 237/330: gnu: rust-libflate-1: Update to 1.4.0., guix-commits, 2024/03/18
- 238/330: gnu: Add rust-warp-0.3., guix-commits, 2024/03/18
- 239/330: gnu: Add rust-pprof-0.13., guix-commits, 2024/03/18
- 241/330: gnu: Add rust-quick-xml-0.26., guix-commits, 2024/03/18
- 244/330: gnu: Add rust-symbolic-common-12., guix-commits, 2024/03/18
- 248/330: gnu: rust-arbitrary-1: Update to 1.3.2., guix-commits, 2024/03/18
- 250/330: gnu: rust-derive-arbitrary-1: Update to 1.3.2., guix-commits, 2024/03/18
- 249/330: gnu: Add rust-bytestring-1.,
guix-commits <=
- 252/330: gnu: Add rust-handlebars-5., guix-commits, 2024/03/18
- 256/330: gnu: Add rust-multer-3., guix-commits, 2024/03/18
- 260/330: gnu: Add rust-rustyline-derive-0.10., guix-commits, 2024/03/18
- 263/330: gnu: rust-termios-0.3: Update to 0.3.3., guix-commits, 2024/03/18
- 264/330: gnu: Add rust-tokio-tungstenite-0.21., guix-commits, 2024/03/18
- 266/330: gnu: Add rust-actix-http-3., guix-commits, 2024/03/18
- 267/330: gnu: Add rust-actix-router-0.5., guix-commits, 2024/03/18
- 270/330: gnu: Add rust-actix-tls-3., guix-commits, 2024/03/18
- 276/330: gnu: Add rust-headers-core-0.3., guix-commits, 2024/03/18
- 278/330: gnu: Add rust-poem-1., guix-commits, 2024/03/18