diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-27 14:11:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:57 +0200 |
commit | 6a363f36496bdb60d453797f8554eec08c0d4685 (patch) | |
tree | 78928eca1c2bc246d286aaf751f1592f38246f7b /gnu/packages/crates-web.scm | |
parent | 212b96ff5772e65c25a0fe088943e3fde49e6aae (diff) |
gnu: rust-iron-0.6: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-iron-0.6): Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I1ad45dd92a1c9539a26aef38048c8a3c2e005cc0
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 4da2e1ca193..7202739edbe 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2243,6 +2243,40 @@ with hyper.") #:cargo-development-inputs (("rust-tokio" ,rust-tokio-0.2)))))) +(define-public rust-iron-0.6 + (package + (name "rust-iron") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "iron" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s4mf8395f693nhwsr0znw3j5frzn56gzllypyl50il85p50ily6")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-hyper" ,rust-hyper-0.10) + ("rust-hyper-native-tls" ,rust-hyper-native-tls-0.3) + ("rust-log" ,rust-log-0.3) + ("rust-mime-guess" ,rust-mime-guess-1) + ("rust-modifier" ,rust-modifier-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-plugin" ,rust-plugin-0.2) + ("rust-typemap" ,rust-typemap-0.3) + ("rust-url" ,rust-url-1)))) + (home-page "https://github.com/iron/iron") + (synopsis "Extensible, concurrency focused web development in Rust") + (description + "Iron is a high level web framework built in and for Rust. It is highly +concurrent and can scale horizontally on more machines behind a load balancer +or by running more threads on a more powerful machine. Iron avoids the +bottlenecks encountered in highly concurrent code by avoiding shared writes +and locking in the core framework.") + (license license:expat))) + (define-public rust-rocket-0.4 (package (name "rust-rocket") |