[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
256/330: gnu: Add rust-multer-3.
From: |
guix-commits |
Subject: |
256/330: gnu: Add rust-multer-3. |
Date: |
Mon, 18 Mar 2024 07:16:30 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 23261d04bde9f333b996efd473d692d0d200cece
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:31:41 2024 +0200
gnu: Add rust-multer-3.
* gnu/packages/crates-io.scm (rust-multer-3): New variable.
(rust-multer-2): Inherit from rust-multer-3.
Change-Id: I6ec55f2f5ea431bb68e7fdecb88a1ee5d0ac6053
---
gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46c6853e89..c41ebb2215 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40574,23 +40574,23 @@ debug_assert_* macros.")
C++ symbols mangled by MSVC.")
(license (list license:expat license:ncsa))))
-(define-public rust-multer-2
+(define-public rust-multer-3
(package
(name "rust-multer")
- (version "2.1.0")
+ (version "3.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "multer" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1hjiphaypj3phqaj5igrzcia9xfmf4rr4ddigbh8zzb96k1bvb01"))))
+ (base32 "06ajkcp0cjf66qxbp7swvdxkhmlg2wnjfbk3s9py9hx9w0mm4pd1"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-http" ,rust-http-0.2)
+ ("rust-http" ,rust-http-1)
("rust-httparse" ,rust-httparse-1)
("rust-log" ,rust-log-0.4)
("rust-memchr" ,rust-memchr-2)
@@ -40601,10 +40601,12 @@ C++ symbols mangled by MSVC.")
("rust-tokio" ,rust-tokio-1)
("rust-tokio-util" ,rust-tokio-util-0.7)
("rust-version-check" ,rust-version-check-0.9))
- #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14)
+ #:cargo-development-inputs (("rust-http-body-util"
,rust-http-body-util-0.1)
+ ("rust-hyper" ,rust-hyper-1)
+ ("rust-hyper-util" ,rust-hyper-util-0.1)
("rust-serde" ,rust-serde-1)
("rust-tokio" ,rust-tokio-1))))
- (home-page "https://github.com/rousan/multer-rs")
+ (home-page "https://github.com/rwf2/multer-rs")
(synopsis "Async parser for @code{multipart/form-data} content-type in
Rust")
(description
"An async parser for @code{multipart/form-data} content-type in Rust.
@@ -40613,6 +40615,37 @@ It accepts a Stream of Bytes as a source, so that it
can be plugged into any
async Rust environment e.g. any async server.")
(license license:expat)))
+(define-public rust-multer-2
+ (package
+ (inherit rust-multer-3)
+ (name "rust-multer")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "multer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hjiphaypj3phqaj5igrzcia9xfmf4rr4ddigbh8zzb96k1bvb01"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-spin" ,rust-spin-0.9)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tokio" ,rust-tokio-1))))))
+
(define-public rust-muldiv-1
(package
(name "rust-muldiv")
- 232/330: gnu: rust-rust-embed-impl-5: Don't skip the build., (continued)
- 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, 2024/03/18
- 252/330: gnu: Add rust-handlebars-5., guix-commits, 2024/03/18
- 256/330: gnu: Add rust-multer-3.,
guix-commits <=
- 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
- 277/330: gnu: Add rust-poem-derive-1., guix-commits, 2024/03/18
- 273/330: gnu: Add rust-actix-web-codegen-4., guix-commits, 2024/03/18