diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8e17443664..9a643cfcaa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19097,125 +19097,6 @@ (define-public rust-dconf-rs-0.3 "This package provides a Rust API for interacting with dconf.") (license license:expat))) -(define-public rust-deadpool-0.10 - (package - (name "rust-deadpool") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "deadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "145lq79dlc4jn7jvlcf4lb105bs3z3jy6g7d15zv7iy1g04i117v")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-config" ,rust-config-0.13) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/bikeshedder/deadpool") - (synopsis "Dead simple async pool") - (description - "Deadpool is a dead simple async pool for connections and objects -of any type.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-deadpool-0.9 - (package - (inherit rust-deadpool-0.10) - (name "rust-deadpool") - (version "0.9.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "deadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2")))) - (arguments - `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-retain-mut" ,rust-retain-mut-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-config" ,rust-config-0.13) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-tokio" ,rust-tokio-1)))))) - -(define-public rust-deadpool-0.7 - (package - (inherit rust-deadpool-0.9) - (name "rust-deadpool") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "deadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-config" ,rust-config-0.10) - ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1)))))) - -(define-public rust-deadpool-runtime-0.1 - (package - (name "rust-deadpool-runtime") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "deadpool-runtime" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0arbchl5j887hcfvjy4gq38d32055s5cf7pkpmwn0lfw3ss6ca89")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/bikeshedder/deadpool") - (synopsis "Dead simple async pool utilities for sync managers") - (description "This package provides dead simple async pool utilities -for sync managers.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-deadpool-sync-0.1 - (package - (name "rust-deadpool-sync") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "deadpool-sync" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1s50gz56m8rhb7p8vw8jpgikwjx0v7x407hw3sjfvqyv52n17hic")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/bikeshedder/deadpool") - (synopsis "Dead simple async pool utilities for sync managers") - (description "This package provides dead simple async pool utilities -for sync managers.") - (license (list license:expat license:asl2.0)))) - (define-public rust-debug-helper-0.3 (package (name "rust-debug-helper") diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 0949ea2720..73ca29df76 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2887,6 +2887,125 @@ (define-public rust-cookie-store-0.20 ("rust-time" ,rust-time-0.3) ("rust-url" ,rust-url-2)))))) +(define-public rust-deadpool-0.10 + (package + (name "rust-deadpool") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "145lq79dlc4jn7jvlcf4lb105bs3z3jy6g7d15zv7iy1g04i117v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-config" ,rust-config-0.13) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/bikeshedder/deadpool") + (synopsis "Dead simple async pool") + (description + "Deadpool is a dead simple async pool for connections and objects +of any type.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-deadpool-0.9 + (package + (inherit rust-deadpool-0.10) + (name "rust-deadpool") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2")))) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-retain-mut" ,rust-retain-mut-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-config" ,rust-config-0.13) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-tokio" ,rust-tokio-1)))))) + +(define-public rust-deadpool-0.7 + (package + (inherit rust-deadpool-0.9) + (name "rust-deadpool") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-config" ,rust-config-0.10) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)))))) + +(define-public rust-deadpool-runtime-0.1 + (package + (name "rust-deadpool-runtime") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool-runtime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0arbchl5j887hcfvjy4gq38d32055s5cf7pkpmwn0lfw3ss6ca89")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/bikeshedder/deadpool") + (synopsis "Dead simple async pool utilities for sync managers") + (description "This package provides dead simple async pool utilities +for sync managers.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-deadpool-sync-0.1 + (package + (name "rust-deadpool-sync") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool-sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s50gz56m8rhb7p8vw8jpgikwjx0v7x407hw3sjfvqyv52n17hic")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/bikeshedder/deadpool") + (synopsis "Dead simple async pool utilities for sync managers") + (description "This package provides dead simple async pool utilities +for sync managers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-h2-0.4 (package (name "rust-h2")