diff options
author | Pierre Langlois <pierre.langlois@gmx.com> | 2023-05-07 14:26:20 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:43 +0300 |
commit | b783b4a07477f8266b5d50a342a69aab612fd249 (patch) | |
tree | 61f89ab081fe234a3d514b0d44cf48f3501e77cc | |
parent | 0867ffbc622301d755989a3e150111734dfa4418 (diff) | |
download | guix-b783b4a07477f8266b5d50a342a69aab612fd249.tar.gz |
gnu: Update rust-tiny-http to 0.12.0.
* gnu/packages/crates-io.scm (rust-tiny-http-0.8): Rename to... (rust-tiny-http-0.12): ... this. [arguments]: Remove rust-chrono and rust-url dependencies, add rust-httparse, httpdate, rustls and rustls-pemfile. (rust-tiny-http-0.6): Inherit from rust-tiny-http-0.12. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f3f92f29ea..f581902a6c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64208,26 +64208,28 @@ closures after a delay or at a given timestamp.") manipulation in Rust.") (license license:expat))) -(define-public rust-tiny-http-0.8 +(define-public rust-tiny-http-0.12 (package (name "rust-tiny-http") - (version "0.8.2") + (version "0.12.0") (source (origin (method url-fetch) (uri (crate-uri "tiny-http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw")))) + (base32 "10nw9kk2i2aq4l4csy0825qkq0l66f9mz2c1n57yg8hkckgib69q")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ascii" ,rust-ascii-1) - ("rust-chrono" ,rust-chrono-0.4) ("rust-chunked-transfer" ,rust-chunked-transfer-1) + ("rust-httparse" ,rust-httparse-1) + ("rust-httpdate" ,rust-httpdate-1) ("rust-log" ,rust-log-0.4) ("rust-openssl" ,rust-openssl-0.10) - ("rust-url" ,rust-url-2)) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)) #:cargo-development-inputs (("rust-fdlimit" ,rust-fdlimit-0.1) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) @@ -64239,7 +64241,7 @@ manipulation in Rust.") (define-public rust-tiny-http-0.6 (package - (inherit rust-tiny-http-0.8) + (inherit rust-tiny-http-0.12) (name "rust-tiny-http") (version "0.6.2") (source |