diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-18 12:02:15 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:22 +0300 |
commit | 01f0c2d2e59b2a2a8484e169263316bc58d1a2ba (patch) | |
tree | 30458913caa2f8cef08c95ea09e3d7c1145095f1 /gnu/packages/crates-web.scm | |
parent | 275f1f34452ce5227250e8607e048a21190cf123 (diff) | |
download | guix-01f0c2d2e59b2a2a8484e169263316bc58d1a2ba.tar.gz guix-01f0c2d2e59b2a2a8484e169263316bc58d1a2ba.zip |
gnu: Add rust-salvo-core-0.16.
* gnu/packages/crates-web.scm (rust-salvo-core-0.16): New variable.
Change-Id: Ia94cb01166f61a4bc4f2a227e1bcf0fc6d4cefd0
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index ddddc10634..ee0327350a 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -4751,6 +4751,76 @@ responses, and headers for the Rocket web framework.") ("rust-time" ,rust-time-0.1) ("rust-unicode-xid" ,rust-unicode-xid-0.1)))))) +(define-public rust-salvo-core-0.16 + (package + (name "rust-salvo-core") + (version "0.16.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "salvo_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01dazprfzmjmvwgcrvqxjd12hgwwlk71mskwyl4cj2y2gm5p80bv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=fs::test::test_named_file_builder" + "--skip=routing::filter::path::tests::test_parse_multi_regex" + "--skip=routing::filter::path::tests::test_parse_multi_regex_with_prefix" + "--skip=routing::filter::path::tests::test_parse_multi_regex_with_prefix_and_suffix" + "--skip=routing::filter::path::tests::test_parse_multi_regex_with_suffix" + "--skip=routing::filter::path::tests::test_parse_single_regex" + "--skip=routing::filter::path::tests::test_parse_single_regex_with_prefix" + "--skip=routing::filter::path::tests::test_parse_single_regex_with_prefix_and_suffix" + "--skip=routing::filter::path::tests::test_parse_single_regex_with_suffix" + "--skip=routing::filter::path::tests::test_parse_wildcard_regex") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-compression" ,rust-async-compression-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-cookie" ,rust-cookie-0.16) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-multer" ,rust-multer-2) + ("rust-multimap" ,rust-multimap-0.8) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-pin-utils" ,rust-pin-utils-0.1) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-salvo-macros" ,rust-salvo-macros-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-textnonce" ,rust-textnonce-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs (("rust-reqwest" ,rust-reqwest-0.11)))) + (inputs (list openssl)) + (native-inputs (list pkg-config)) + (home-page "https://salvo.rs") + (synopsis "Core components of the Salvo web framework") + (description + "This package provides the core components of the Salvo web framework.") + (license (list license:expat license:asl2.0)))) + (define-public rust-salvo-extra-0.16 (package (name "rust-salvo-extra") |