diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-27 13:34:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:56 +0200 |
commit | b4ce542be556be7b64980175da2a59cc19b9109c (patch) | |
tree | f67c8a215a001b7d0b297c4f17f00cdec3926ec0 | |
parent | 81c0c19c936515644d777768a584e7612313ebf5 (diff) |
gnu: rust-awc: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-awc-2, rust-awc-1, rust-awc-0.2):
Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I0b5d2ea4c5e528674a1483aff1325b27871047c4
-rw-r--r-- | gnu/packages/crates-io.scm | 112 | ||||
-rw-r--r-- | gnu/packages/crates-web.scm | 112 |
2 files changed, 112 insertions, 112 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b387b5c725..c424b70ef4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5433,118 +5433,6 @@ film grain data.") "This package is a library for working with Apache Avro in Rust.") (license license:expat))) -(define-public rust-awc-2 - (package - (name "rust-awc") - (version "2.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "awc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14g6m53zmxw3f1sf990l7ps3w2fq2c29n1slpizc7kxhwy8f90dk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-http" ,rust-actix-http-2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-base64" ,rust-base64-0.13) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) - (home-page "https://actix.rs") - (synopsis "Async HTTP and WebSocket client library") - (description - "This package provides async HTTP and WebSocket client library -built on the Actix ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-awc-1 - (package - (inherit rust-awc-2) - (name "rust-awc") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "awc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1idacmq7n3irmdjkbxc5kdwspxk9w1gip94pcmfk7wky3m6isq6p")))) - ;; XXX: The crate fails to't build with with the same error as - ;; rust-actix-connect. Skip build for now. - (arguments - `(#:skip-build? #true - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-http" ,rust-actix-http-1) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-base64" ,rust-base64-0.11) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)) - #:cargo-development-inputs - (("rust-actix-http-test" ,rust-actix-http-test-1) - ("rust-actix-web" ,rust-actix-web-2) - ("rust-brotli" ,rust-brotli-3)))))) - -(define-public rust-awc-0.2 - (package - (inherit rust-awc-2) - (name "rust-awc-2") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "awc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1i5qinnh37bwpx86m2yyq1q1bnsa31vlwlz7942bzlwd4y1m56ay")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-http" ,rust-actix-http-0.2) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-base64" ,rust-base64-0.10) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-derive-more" ,rust-derive-more-0.15) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) - (define-public rust-az-1 (package (name "rust-az") diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index aab6bc9b8a..99cf1afdac 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -1478,6 +1478,118 @@ Rust.") (inputs (list openssl)))) +(define-public rust-awc-2 + (package + (name "rust-awc") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14g6m53zmxw3f1sf990l7ps3w2fq2c29n1slpizc7kxhwy8f90dk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-http" ,rust-actix-http-2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) + (home-page "https://actix.rs") + (synopsis "Async HTTP and WebSocket client library") + (description + "This package provides async HTTP and WebSocket client library +built on the Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-awc-1 + (package + (inherit rust-awc-2) + (name "rust-awc") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1idacmq7n3irmdjkbxc5kdwspxk9w1gip94pcmfk7wky3m6isq6p")))) + ;; XXX: The crate fails to't build with with the same error as + ;; rust-actix-connect. Skip build for now. + (arguments + `(#:skip-build? #true + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-http" ,rust-actix-http-1) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-base64" ,rust-base64-0.11) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)) + #:cargo-development-inputs + (("rust-actix-http-test" ,rust-actix-http-test-1) + ("rust-actix-web" ,rust-actix-web-2) + ("rust-brotli" ,rust-brotli-3)))))) + +(define-public rust-awc-0.2 + (package + (inherit rust-awc-2) + (name "rust-awc-2") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i5qinnh37bwpx86m2yyq1q1bnsa31vlwlz7942bzlwd4y1m56ay")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-http" ,rust-actix-http-0.2) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-derive-more" ,rust-derive-more-0.15) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) + (define-public rust-web-view-0.7 (package (name "rust-web-view") |