diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-24 11:15:23 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:30 +0200 |
commit | 77160da5fcf191e5478de62a8e30aa77abc244ab (patch) | |
tree | 58bd463f360a40ef02223379c54120d22c624187 /gnu/packages/crates-web.scm | |
parent | 1ec643fc368dd5d93808bdf757847f548a79d566 (diff) |
gnu: rust-surf-2: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-surf-2): Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I2ecc08b66904db141b0a08f5a4300581ce0ed816
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 15c665695b2..a7ec656612c 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3046,6 +3046,42 @@ and speed.") responses, and headers for the Rocket web framework.") (license (list license:expat license:asl2.0)))) +(define-public rust-surf-2 + (package + (name "rust-surf") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "surf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a33kw06jspi54rf38ncyqjj8861bid0wxhwzpk1ypkbr8rls59a")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http-client" ,rust-http-client-6) + ("rust-http-types" ,rust-http-types-2) + ("rust-log" ,rust-log-0.4) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/http-rs/surf") + (synopsis "HTTP client framework") + (description + "Surf is a friendly HTTP client built for casual Rustaceans and veterans +alike. It's completely modular, and built directly for @code{async/await}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-trust-dns-client-0.22 (package (name "rust-trust-dns-client") |