;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Hartmut Goebel ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2020 John Soo ;;; Copyright © 2020, 2023, 2024 Efraim Flashner ;;; Copyright © 2020-2022, 2024 Nicolas Goaziou ;;; Copyright © 2022 Aleksandr Vityazev ;;; Copyright © 2023 Steve George ;;; Copyright © 2023 VÖRÖSKŐI András ;;; Copyright © 2024 Wilko Meyer ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages crates-web) #:use-module (guix build-system cargo) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-gtk) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-windows) #:use-module (gnu packages curl) #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) #:use-module (gnu packages webkit)) (define-public rust-actix-0.10 (package (name "rust-actix") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "actix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0q6cd08d0xikilj9l3gfsyhva5b91y55lfxy7yd7w7ivizw43qhv")))) (build-system cargo-build-system) (arguments `(#:tests? #false ;doc test fails #:cargo-inputs (("rust-actix-rt" ,rust-actix-rt-1) ("rust-actix-derive" ,rust-actix-derive-0.5) ("rust-bitflags" ,rust-bitflags-1) ("rust-bytes" ,rust-bytes-0.5) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) ("rust-derive-more" ,rust-derive-more-0.99) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-pin-project" ,rust-pin-project-0.4) ("rust-smallvec" ,rust-smallvec-1) ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-util" ,rust-tokio-util-0.3) ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19)))) (home-page "https://actix.rs") (synopsis "Actor framework for Rust") (description "This package provides Actix actor framework for Rust.") (license (list license:expat license:asl2.0)))) (define-public rust-actix-0.8 (package (inherit rust-actix-0.10) (name "rust-actix") (version "0.8.3") (source (origin (method url-fetch) (uri (crate-uri "actix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xqyrwq7hgi640h5czy73zrkxl1s0yhm7laxga13dwhkfg9f6737")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-actix-http" ,rust-actix-http-0.2) ("rust-actix-rt" ,rust-actix-rt-0.2) ("rust-actix-derive" ,rust-actix-derive-0.4) ("rust-bitflags" ,rust-bitflags-1) ("rust-bytes" ,rust-bytes-0.4) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3) ("rust-derive-more" ,rust-derive-more-0.14) ("rust-futures" ,rust-futures-0.1) ("rust-hashbrown" ,rust-hashbrown-0.3) ("rust-lazy-static" ,rust-lazy-st