[PATCH 000/228 rust-team] WIP: Add GNOME Fractal dependencies.

  • Open
  • quality assurance status badge
Details
One participant
  • Herman Rimm
Owner
unassigned
Submitted by
Herman Rimm
Severity
normal
H
H
Herman Rimm wrote on 18 Feb 21:49 +0100
(address . guix-patches@gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
cover.1708288182.git.herman@rimm.ee
Hello,

This weekend I tried to add the GNOME Fractal package. It has a lot of
dependencies so it is not finished yet. When I rebased my branch on top
of the rust-team branch, some packages had already been upstreamed. So I
publish this here, so that there will be less duplicated work.

I have not tried building most of the packages and although I tried to
add dependencies before dependents, I cannot guarantee that is the case.

Consider upstreaming the alphabetical reordering patches first off all,
so that ordering errors don't accumulate.

Cheers,
Herman

Efraim Flashner (1):
gnu: rust-sluice-0.5: Update to 0.5.5.

Herman Rimm (227):
gnu: Place rust-rtnetlink-0.14 in alphabetical order.
gnu: Add rust-anymap2-0.13.
gnu: Add rust-aquamarine-0.5.
gnu: Add rust-as-variant-1.
gnu: Add rust-backoff-0.4.
gnu: Add rust-cfg-vis-0.3.
gnu: Add rust-gloo-timers-0.3.
gnu: Add rust-compiletest-rs-0.9.
gnu: Add rust-proptest-derive-0.4.
gnu: Add rust-bitmaps-3.
gnu: Add rust-imbl-sized-chunks-0.1.
gnu: Add rust-imbl-2.
gnu: Place rust-uom-0.34 in alphabetical order.
gnu: Place rust-thousands-0.2 in alphabetical order.
gnu: Place rust-twox-hash-1 in alphabetical order.
gnu: Add rust-stream-assert-0.1.
gnu: Add rust-branches-0.1.
gnu: Place rust-rusticata-macros-4 in alphabetical order.
gnu: Place rust-rpds-1 in alphabetical order.
gnu: Place rust-rpassword-5 in alphabetical order.
gnu: Place rust-rpassword-6 in alphabetical order.
gnu: Place rust-rpassword-7 in alphabetical order.
gnu: Place rust-rt-format-0.3 in alphabetical order.
gnu: Place rust-rtoolbox-0.0.1 in alphabetical order.
gnu: Place rust-roxmltree-0.14 in alphabetical order.
gnu: Place rust-rodio-0.15 in alphabetical order.
gnu: Add rust-rclite-0.2.
gnu: Add rust-readlock-0.1.
gnu: Add rust-readlock-tokio-0.1.
gnu: Add rust-eyeball-0.8.
gnu: Add rust-eyeball-im-0.4.
gnu: Add rust-eyeball-im-util-0.5.
gnu: Add rust-k256-0.13.
gnu: Add rust-mas-iana-0.7.
gnu: Add rust-mas-jose-0.7.
gnu: Add rust-structmeta-derive-0.2.
gnu: Add rust-structmeta-0.2.
gnu: Add rust-parse-display-derive-0.8.
gnu: Add rust-parse-display-0.8.
gnu: Add rust-oauth2-types-0.7.
gnu: rust-iri-string-0.7: Expand description.
gnu: Place rust-lettre-email-0.9 in alphabetical order.
gnu: Add rust-etherparse-0.13.
gnu: Add rust-gat-std-proc-0.1.
gnu: Add rust-gat-std-0.1.
gnu: Add rust-etherparse-0.9.
gnu: Add rust-tun-tap-0.1.
gnu: Add rust-eui48-1.
gnu: Add rust-pcap-1.
gnu: Add rust-no-std-net-0.6.
gnu: Add rust-pnet-base-0.34.
gnu: Add rust-pnet-sys-0.34.
gnu: Add rust-pnet-datalink-0.34.
gnu: Add rust-http-body-1.
gnu: Add rust-http-body-util-0.1.
gnu: Add rust-h2-0.4.
gnu: Add rust-hyper-1.
gnu: Add rust-hyper-util-0.1.
gnu: Add rust-http-range-header-0.4.
gnu: Add rust-sync-wrapper-0.1.
gnu: Add rust-tower-http-0.5.
gnu: Add rust-opentelemetry-0.21.
gnu: Add rust-castaway-0.1.
gnu: Add rust-isahc-1.
gnu: Add rust-opentelemetry-http-0.10.
gnu: Add rust-str-stack-0.1.
gnu: Add rust-dary-heap-0.3.
gnu: Add rust-libflate-lz77-2.
gnu: Add rust-libflate-2.
gnu: Add rust-quick-xml-0.26.
gnu: Add rust-inferno-0.11.
gnu: Place rust-prost-build-0.12 in alphabetical order.
gnu: Add rust-pulldown-cmark-to-cmark-10.
gnu: Add rust-symbolic-common-12.
gnu: Add rust-msvc-demangler-0.9.
gnu: Add rust-symbolic-demangle-12.
gnu: Add rust-pprof-0.13.
gnu: Add rust-ordered-float-4.
gnu: Add rust-opentelemetry-sdk-0.21.
gnu: Add rust-opentelemetry-semantic-conventions-0.13.
gnu: Place rust-paw-structopt-1 in alphabetical order.
gnu: Place rust-paw-raw-1 in alphabetical order.
gnu: Place rust-paw-attributes-1 in alphabetical order.
gnu: Place rust-paw-1 in alphabetical order.
gnu: Place rust-pathfinder-simd-0.5 in alphabetical order.
gnu: Place rust-pathfinder-geometry-0.5 in alphabetical order.
gnu: Add rust-prost-types-0.11.
gnu: Add rust-axum-macros-0.3.
gnu: Add rust-axum-extra-0.7.
gnu: Add rust-tonic-0.9.
gnu: rust-integer-encoding-3: Update to 3.0.4.
gnu: Add rust-thrift-0.17.
gnu: Add rust-opentelemetry-jaeger-0.20.
gnu: Add rust-prost-build-0.11.
gnu: Add rust-grpcio-compiler-0.12.
gnu: Add rust-boringssl-src-0.5.
gnu: Add rust-grpcio-sys-0.12.
gnu: Add rust-grpcio-0.12.
gnu: Add rust-tonic-build-0.9.
gnu: rust-rustc-demangle-0.1: Update to 0.1.23.
gnu: Add rust-opentelemetry-proto-0.4.
gnu: Add rust-opentelemetry-otlp-0.14.
gnu: Add rust-opentelemetry-stdout-0.2.
gnu: Add rust-tracing-opentelemetry-0.22.
gnu: Add rust-mas-tower-0.7.
gnu: Add rust-mas-http-0.7.
gnu: Add rust-chacha20poly1305-0.10.
gnu: Add rust-mas-keystore-0.7.
gnu: Place rust-const-format-proc-macros-0.2 in alphabetical order.
gnu: Place rust-const-format-0.2 in alphabetical order.
gnu: Place rust-const-fn-assert-0.1 in alphabetical order.
gnu: Place rust-const-cstr-0.3 in alphabetical order.
gnu: Place rust-compound-duration-1 in alphabetical order.
gnu: Add rust-warp-0.3.
gnu: Add rust-ordered-multimap-0.4.
gnu: Add rust-rust-ini-0.18.
gnu: Add rust-json5-0.4.
gnu: Add rust-temp-env-0.2.
gnu: Add rust-config-0.13.
gnu: Add rust-deadpool-runtime-0.1.
gnu: Add rust-deadpool-0.9.
gnu: Add rust-assert-json-diff-2.
gnu: Add rust-wiremock-0.5.
gnu: Add rust-mas-oidc-client-0.7.
gnu: Add rust-matrix-sdk-test-macros-0.7.
gnu: Place rust-kuchiki-0.8 in alphabetical order.
gnu: Add rust-konst-proc-macros-0.3.
gnu: Place rust-konst-macro-rules-0.2 in alphabetical order.
gnu: Add rust-typewit-proc-macros-1.
gnu: Add rust-typewit-1.
gnu: Add rust-const-panic-proc-macros-0.2.
gnu: Add rust-const-panic-0.2.
gnu: Add rust-konst-kernel-0.3.
gnu: Add rust-konst-0.3.
gnu: Place rust-koibumi-base32-0.0.2 in alphabetical order.
gnu: Place rust-jwalk-0.8 in alphabetical order.
gnu: Add rust-js-int-0.2.
gnu: Add rust-ruma-identifiers-validation-0.9.
gnu: Add rust-ruma-macros-0.12.
gnu: Place rust-wl-clipboard-rs-0.4 in alphabetical order.
gnu: Place rust-wl-clipboard-rs-0.7 in alphabetical order.
gnu: Add rust-wildmatch-2.
gnu: Add rust-assign-1.
gnu: Add rust-ruma-common-0.12.
gnu: Add rust-js-option-0.1.
gnu: Add rust-ruma-html-0.1.
gnu: Add rust-ruma-events-0.27.
gnu: Add rust-ruma-appservice-api-0.9.
gnu: Add rust-ruma-federation-api-0.8.
gnu: Add rust-ruma-identity-service-api-0.8.
gnu: Add rust-ruma-push-gateway-api-0.8.
gnu: Add rust-yap-0.12.
gnu: Add rust-ruma-server-util-0.2.
gnu: Add rust-curve25519-dalek-derive-0.1.
gnu: Move rust-fiat-crypto-0.1.
gnu: Add rust-fiat-crypto-0.2.
gnu: Add rust-platforms-3.
gnu: Add rust-curve25519-dalek-4.
gnu: Add rust-ring-compat-0.8.
gnu: Add rust-strobe-rs-0.8.
gnu: Add rust-strobe-rs-0.5.
gnu: Add rust-merlin-3.
gnu: Add rust-x25519-dalek-2.
gnu: Add rust-ed25519-2.
gnu: Add rust-ed25519-dalek-2.
gnu: Add rust-macro-attr-0.2.
gnu: Add rust-subslice-0.2.
gnu: Add rust-ruma-signatures-0.14.
gnu: Add rust-ruma-client-api-0.17.
gnu: Add rust-ruma-client-0.12.
gnu: Add rust-ruma-state-res-0.10.
gnu: Add rust-ruma-0.9.
gnu: Add rust-matrix-sdk-test-0.7.
gnu: Add rust-matrix-sdk-common-0.7.
gnu: Add rust-tls-codec-derive-0.4.
gnu: Add rust-tls-codec-0.4.
gnu: Add rust-x509-cert-0.2.
gnu: Add rust-pkcs7-0.4.
gnu: Add rust-matrix-pickle-derive-0.1.
gnu: Add rust-matrix-pickle-0.1.
gnu: Add rust-olm-sys-1.
gnu: Add rust-olm-rs-2.
gnu: Add rust-vodozemac-0.5.
gnu: Add rust-qrcode-0.13.
gnu: Add rust-matrix-sdk-qrcode-0.7.
gnu: Add rust-web-time-1.
gnu: Add rust-ulid-1.
gnu: Add rust-bs58-0.5.
gnu: Add rust-matrix-sdk-crypto-0.7.
gnu: Add rust-matrix-sdk-store-encrpytion-0.7.
gnu: Add rust-matrix-sdk-base-0.7.
gnu: Add rust-macroific-attr-parse-1.
gnu: Add rust-macroific-core-1.
gnu: Add rust-macroific-macro-1.
gnu: Add rust-macroific-1.
gnu: Add rust-accessory-1.
gnu: Add rust-delegate-display-2.
gnu: Add rust-fancy-constructor-1.
gnu: Add rust-indexed-db-futures-0.4.
gnu: Place rust-serdeconv-0.4 in alphabetical order.
gnu: Place rust-serde-wasm-bindgen-0.3 in alphabetical order.
gnu: Add rust-serde-wasm-bindgen-0.6.
gnu: Add rust-matrix-sdk-indexeddb-0.7.
gnu: Add rust-deadpool-sync-0.1.
gnu: Add rust-fallible-iterator-0.3.
gnu: Add rust-sqlite3-parser-0.12.
gnu: Add rust-rusqlite-macros-0.1.
gnu: Add rust-rusqlite-0.30.
gnu: Add rust-deadpool-0.10.
gnu: Add rust-deadpool-sqlite-0.7.
gnu: Add rust-matrix-sdk-sqlite-0.7.
gnu: Add rust-matrix-sdk-0.7.
gnu: Add rust-oneshot-uniffi-0.1.
gnu: Add rust-async-compat-0.2.
gnu: Add rust-uniffi-core-0.25.
gnu: Add rust-uniffi-checksum-derive-0.25.
gnu: Add rust-uniffi-meta-0.25.
gnu: Add rust-uniffi-testing-0.25.
gnu: Add rust-weedle2-4.
gnu: Add rust-uniffi-udl-0.25.
gnu: Add rust-uniffi-bindgen-0.25.
gnu: Add rust-uniffi-build-0.25.
gnu: Add rust-uniffi-0.25.
gnu: Add rust-async-cell-0.2.
gnu: Add rust-async-rx-0.1.
gnu: Add rust-matrix-sdk-ui-0.7.
WIP: gnu: Add fractal.

gnu/packages/crates-crypto.scm | 634 +++-
gnu/packages/crates-io.scm | 6228 ++++++++++++++++++++++++++------
gnu/packages/crates-web.scm | 860 ++++-
gnu/packages/rust-apps.scm | 65 +
4 files changed, 6571 insertions(+), 1216 deletions(-)


base-commit: c59a90ecb720a64b613f1b1ee7fbe76dc2e2f6a7
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:01 +0100
[PATCH 001/228] gnu: Place rust-rtnetlink-0.14 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
303b34d76d58d8470c3caf8f68cc4a025fc3b003.1708288182.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-rtnetlink-0.14): Move variable.

Change-Id: I08f8a59dfae42e2cf501f6cb61f3b70cd4bb19cd
---
gnu/packages/crates-io.scm | 82 +++++++++++++++++++-------------------
1 file changed, 41 insertions(+), 41 deletions(-)

Toggle diff (102 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 42bbe55579..4221dcae49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16120,47 +16120,6 @@ (define-public rust-rt-format-0.3
character.")
(license license:asl2.0)))
-(define-public rust-rtnetlink-0.14
- (package
- (name "rust-rtnetlink")
- (version "0.14.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "rtnetlink" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-test-flags '("--release" "--"
- "--skip=link::test::create_get_delete_macvlan"
- "--skip=link::test::create_get_delete_wg"
- "--skip=traffic_control::add_filter::test::test_new_filter"
- "--skip=traffic_control::add_qdisc::test::test_new_qdisc")
- #:cargo-inputs (("rust-async-global-executor" ,rust-async-global-executor-2)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-log" ,rust-log-0.4)
- ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
- ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19)
- ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
- ("rust-netlink-proto" ,rust-netlink-proto-0.11)
- ("rust-netlink-sys" ,rust-netlink-sys-0.8)
- ("rust-nix" ,rust-nix-0.27)
- ("rust-thiserror" ,rust-thiserror-1)
- ("rust-tokio" ,rust-tokio-1))
- #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
- ("rust-env-logger" ,rust-env-logger-0.10)
- ("rust-ipnetwork" ,rust-ipnetwork-0.18)
- ("rust-macaddr" ,rust-macaddr-1)
- ("rust-tokio" ,rust-tokio-1))))
- (home-page "https://github.com/rust-netlink/rtnetlink")
- (synopsis "Manipulate linux networking resources via netlink")
- (description "This crate provides methods to manipulate networking
-resources (links, addresses, arp tables, route tables) via the netlink route
-protocol.")
- (license license:expat)))
-
(define-public rust-rusticata-macros-4
(package
(name "rust-rusticata-macros")
@@ -55991,6 +55950,47 @@ (define-public rust-rstest-test-0.9
("rust-rstest" ,rust-rstest-0.15)
("rust-temp-testdir" ,rust-temp-testdir-0.2))))))
+(define-public rust-rtnetlink-0.14
+ (package
+ (name "rust-rtnetlink")
+ (version "0.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rtnetlink" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=link::test::create_get_delete_macvlan"
+ "--skip=link::test::create_get_delete_wg"
+ "--skip=traffic_control::add_filter::test::test_new_filter"
+ "--skip=traffic_control::add_qdisc::test::test_new_qdisc")
+ #:cargo-inputs (("rust-async-global-executor" ,rust-async-global-executor-2)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-proto" ,rust-netlink-proto-0.11)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-ipnetwork" ,rust-ipnetwork-0.18)
+ ("rust-macaddr" ,rust-macaddr-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/rust-netlink/rtnetlink")
+ (synopsis "Manipulate linux networking resources via netlink")
+ (description "This crate provides methods to manipulate networking
+resources (links, addresses, arp tables, route tables) via the netlink route
+protocol.")
+ (license license:expat)))
+
(define-public rust-rug-1
(package
(name "rust-rug")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 002/228] gnu: Add rust-anymap2-0.13.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
f3f019ef4b277756cc5e4be73fe391af19d5611a.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-anymap2-0.13): Add variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4221dcae49..29ccbd9477 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1849,6 +1849,26 @@ (define-public rust-anymap-0.12
type.")
(license (list license:expat license:asl2.0))))
+(define-public rust-anymap2-0.13
+ (package
+ (name "rust-anymap2")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anymap2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "031kw3bp0zh2pn9fcayaw0w0gydgpgfhm08pg4yz5cml9jwv60fk"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/azriel91/anymap2")
+ (synopsis "Safe and convenient store for one value of each type")
+ (description
+ "This package provides a safe and convenient store for one value of
+each type.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-app-dirs2-2
(package
(name "rust-app-dirs2")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 003/228] gnu: Add rust-aquamarine-0.5.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
6a18f7a5f019527a7b6adde48b24b8dcbb3ee996.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-aquamarine-0.5): Add variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29ccbd9477..dbe16c0e22 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1985,6 +1985,34 @@ (define-public rust-approx-0.1
"153awzwywmb61xg857b80l63b1x6hifx2pha7lxf6fck9qxwraq8"))))
(arguments '())))
+(define-public rust-aquamarine-0.5
+ (package
+ (name "rust-aquamarine")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aquamarine" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0kizryj8h9zgwrb0q5q5f1c6bg56gnbg19wan5g06icj6141bk11"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-include-dir" ,rust-include-dir-0.7)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+ (home-page "https://github.com/mersinvald/aquamarine")
+ (synopsis "Mermaid.js integration for rustdoc")
+ (description "This package provides a mermaid.js integration for
+rustdoc.")
+ (license license:expat)))
+
(define-public rust-arbitrary-1
(package
(name "rust-arbitrary")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 004/228] gnu: Add rust-as-variant-1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
d5334f274f330986dd37ef2191a0fd70155bfbe6.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-as-variant-1): Add variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbe16c0e22..0bcf3ad231 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3268,6 +3268,25 @@ (define-public rust-as-derive-utils-0.8
("rust-serde-derive" ,rust-serde-derive-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-as-variant-1
+ (package
+ (name "rust-as-variant")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "as_variant" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13vryhfcslf50f8j1msnxg5689bzwz56z45dgzxqd7r40wis53zk"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/jplatte/as_variant")
+ (synopsis "Macro to convert enums with newtype variants to Option")
+ (description
+ "This package provides a simple macro to convert enums with newtype
+variants to `Option`s.")
+ (license license:mpl2.0)))
+
(define-public rust-asio-sys-0.2
(package
(name "rust-asio-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 005/228] gnu: Add rust-backoff-0.4.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
13c82e4afaa5d0f37ce77cd3bc4a58eb792f1dbc.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-backoff-0.4): Add variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0bcf3ad231..070f81a59e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5570,6 +5570,39 @@ (define-public rust-az-1
(description "This crate provides casts and checked casts.")
(license (list license:expat license:asl2.0))))
+(define-public rust-backoff-0.4
+ (package
+ (name "rust-backoff")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "backoff" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1h80d9xn5wngxdgza2m8w4x1kyhk0x6k9ydvsj50j2pcn6fdnbdn"))
+ (modules '((guix build utils)))
+ ;; XXX: Doctest hangs for no apparent reason.
+ (snippet '(substitute* "src/lib.rs"
+ (("```rust\n")
+ "```rust,no_run\n")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-instant" ,rust-instant-0.1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-reqwest" ,rust-reqwest-0.11))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl))
+ (home-page "https://github.com/ihrwein/backoff")
+ (synopsis "Retry operations with exponential backoff policy")
+ (description "Retry operations with exponential backoff policy.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-backon-0.4
(package
(name "rust-backon")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 006/228] gnu: Add rust-cfg-vis-0.3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
fe4991e5b1b9a89d749df9507654fcdd2095d9b0.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-cfg-vis-0.3): Add variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 070f81a59e..6fad31fe04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10654,6 +10654,29 @@ (define-public rust-cfg-if-0.1
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+(define-public rust-cfg-vis-0.3
+ (package
+ (name "rust-cfg-vis")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-vis" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1745qzkxar9yd3wy4gzzsakv1cjcibhgnr3m2p5f43y1byzw78n3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/TOETOE55/cfg-vis")
+ (synopsis "Macro to support `#[cfg()]` on visibility")
+ (description
+ "This package provides a macro to support `#[cfg()]` on visibility.")
+ (license license:expat)))
+
(define-public rust-chan-0.1
(package
(name "rust-chan")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 007/228] gnu: Add rust-gloo-timers-0.3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
5be96cf12b4bc3dad2db01a40f20eab0c811bf82.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-gloo-timers-0.3): Add variable.
(rust-gloo-timers-0.2): Inherit from rust-gloo-timers-0.3.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fad31fe04..a6de29f8ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27222,17 +27222,17 @@ (define-public rust-globwalk-0.8
open file descriptors.")
(license license:expat)))
-(define-public rust-gloo-timers-0.2
+(define-public rust-gloo-timers-0.3
(package
(name "rust-gloo-timers")
- (version "0.2.1")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gloo-timers" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827"))))
+ (base32 "1519157n7xppkk6pdw5w52vy1llzn5iljkqd7q1h5609jv7l7cdv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -27240,7 +27240,7 @@ (define-public rust-gloo-timers-0.2
("rust-futures-core" ,rust-futures-core-0.3)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
- ("rust-web-sys" ,rust-web-sys-0.3))
+ ("rust-web-sys" ,rust-web-sys-0.3)) ; for rust-gloo-timers-0.2
#:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
@@ -27252,6 +27252,19 @@ (define-public rust-gloo-timers-0.2
timers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gloo-timers-0.2
+ (package
+ (inherit rust-gloo-timers-0.3)
+ (name "rust-gloo-timers")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gloo-timers" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827"))))))
+
(define-public rust-gmp-mpfr-sys-1
(package
(name "rust-gmp-mpfr-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 009/228] gnu: Add rust-proptest-derive-0.4.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
65fe027f8407997005eb93d9f33a37b9215e55fe.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-proptest-derive-0.4): Add variable.
(rust-proptest-derive-0.3): Inherit from rust-proptest-derive-0.4.
---
gnu/packages/crates-io.scm | 44 +++++++++++++++++++++++++++++++-------
1 file changed, 36 insertions(+), 8 deletions(-)

Toggle diff (73 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 51ab31cdb3..dcd373e4cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50149,8 +50149,43 @@ (define-public rust-proptest-0.3
#:cargo-development-inputs
(("rust-regex" ,rust-regex-0.2))))))
+(define-public rust-proptest-derive-0.4
+ (package
+ (name "rust-proptest-derive")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proptest-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vhb7zmnbmn0qvv6x7ibs88pg0mn6d3131c9qzlq982w80vn7wcw"))
+ (modules '((guix build utils)))
+ ;; Need never_type nightly feature.
+ (snippet '(begin (delete-file "tests/uninhabited-pass.rs")
+ (delete-file "tests/enum.rs")
+ (delete-file "tests/skip.rs")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags ; Tests panic for unknown reason.
+ '("--release" "--" "--skip=compile_test")
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-compiletest-rs" ,rust-compiletest-rs-0.9)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-proptest" ,rust-proptest-1))))
+ (home-page
+ "https://proptest-rs.github.io/proptest/proptest-derive/index.html")
+ (synopsis "Custom-derive for the Arbitrary trait of proptest")
+ (description "This package provides a custom-derive for the Arbitrary
+trait of proptest.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-proptest-derive-0.3
(package
+ (inherit rust-proptest-derive-0.4)
(name "rust-proptest-derive")
(version "0.3.0")
(source
@@ -50160,7 +50195,6 @@ (define-public rust-proptest-derive-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1p4x6k1zxq9lrpk46npdnzj6894mjx5bpwkwrdk63ird72an5d4h"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Needs nightly features.
#:cargo-inputs
@@ -50170,13 +50204,7 @@ (define-public rust-proptest-derive-0.3
#:cargo-development-inputs
(("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
("rust-criterion" ,rust-criterion-0.2)
- ("rust-proptest" ,rust-proptest-1))))
- (home-page
- "https://altsysrq.github.io/proptest-book/proptest-derive/index.html")
- (synopsis "Custom-derive for the Arbitrary trait of proptest")
- (description "This package provides a Custom-derive for the Arbitrary
-trait of proptest.")
- (license (list license:expat license:asl2.0))))
+ ("rust-proptest" ,rust-proptest-1))))))
(define-public rust-proptest-derive-0.1
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 011/228] gnu: Add rust-imbl-sized-chunks-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
11c5bc87704ff816145f5b229dc729109357f59e.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-imbl-sized-chunks-0.1): Add variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c2cb078887..4384aac6da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29873,6 +29873,28 @@ (define-public rust-imara-diff-0.1
(description "This package provides a minimal terminfo libary.")
(license license:asl2.0)))
+(define-public rust-imbl-sized-chunks-0.1
+ (package
+ (name "rust-imbl-sized-chunks")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "imbl-sized-chunks" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qzdw55na2w6fd44p7y9rh05nxa98gzpaigmwg57sy7db3xhch0l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-array-ops" ,rust-array-ops-0.1)
+ ("rust-bitmaps" ,rust-bitmaps-3)
+ ("rust-refpool" ,rust-refpool-0.4))))
+ (home-page "https://github.com/jneem/imbl-sized-chunks")
+ (synopsis "Sized chunk datatypes")
+ (description "This package provides sized chunk datatypes.")
+ (license license:mpl2.0)))
+
(define-public rust-impl-codec-0.5
(package
(name "rust-impl-codec")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 012/228] gnu: Add rust-imbl-2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
a4595e6ab6ee1a7cd0ad1373f4f12ead7a6c4e77.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-imbl-2): Add variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (47 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4384aac6da..6a3eea907e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29873,6 +29873,40 @@ (define-public rust-imara-diff-0.1
(description "This package provides a minimal terminfo libary.")
(license license:asl2.0)))
+(define-public rust-imbl-2
+ (package
+ (name "rust-imbl")
+ (version "2.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "imbl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11bhchs0d1bbbmr8ari4y4d62vqxs7xg4fkhjlhgbv98h0n193cp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-bitmaps" ,rust-bitmaps-3)
+ ("rust-imbl-sized-chunks" ,rust-imbl-sized-chunks-0.1)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-refpool" ,rust-refpool-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs
+ (("rust-metrohash" ,rust-metrohash-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-proptest" ,rust-proptest-derive-0.4))))
+
+ (home-page "https://github.com/jneem/imbl")
+ (synopsis "Immutable collection datatypes")
+ (description "This crate provides immutable collection datatypes.")
+ (license license:mpl2.0)))
+
(define-public rust-imbl-sized-chunks-0.1
(package
(name "rust-imbl-sized-chunks")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 013/228] gnu: Place rust-uom-0.34 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
26bab892ee664a39b6a6cbb5f4bfa892ba1cc499.1708288182.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-uom-0.34): Move variable.

Change-Id: If39e8260bc36dab3ded291a55b634769340a1b22
---
gnu/packages/crates-io.scm | 68 +++++++++++++++++++-------------------
1 file changed, 34 insertions(+), 34 deletions(-)

Toggle diff (88 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a3eea907e..32d98757ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14770,40 +14770,6 @@ (define-public rust-cpuprofiler-0.0
(description "This package provides bindings to Google's cpu profiler.")
(license license:bsd-2)))
-(define-public rust-uom-0.34
- (package
- (name "rust-uom")
- (version "0.34.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "uom" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "190n79b5ywa9w0j13ld0q6dphz7vzsjkwrpp8pjnwrczsvfhxxg8"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4)
- ("rust-num-rational" ,rust-num-rational-0.4)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-typenum" ,rust-typenum-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-num-bigint" ,rust-num-bigint-0.4))
- #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)
- ("rust-quickcheck" ,rust-quickcheck-0.8)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-static-assertions" ,rust-static-assertions-1))))
- (home-page "https://github.com/iliekturtles/uom")
- (synopsis "Units of measurement")
- (description
- "@code{uom} (Units of measurement) is a crate that does automatic type-safe
-zero-cost dimensional analysis. You can create your own systems or use the pre-built
-International System of Units (SI) which is based on the International System of
-Quantities (ISQ) and includes numerous quantities (length, mass, time, ...) with
-conversion factors for even more numerous measurement units (meter, kilometer, foot,
-mile, ...).")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-cradle-0.2
(package
(name "rust-cradle")
@@ -75834,6 +75800,40 @@ (define-public rust-untrusted-0.6
(sha256
(base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam"))))))
+(define-public rust-uom-0.34
+ (package
+ (name "rust-uom")
+ (version "0.34.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "uom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "190n79b5ywa9w0j13ld0q6dphz7vzsjkwrpp8pjnwrczsvfhxxg8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-typenum" ,rust-typenum-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-num-bigint" ,rust-num-bigint-0.4))
+ #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-static-assertions" ,rust-static-assertions-1))))
+ (home-page "https://github.com/iliekturtles/uom")
+ (synopsis "Units of measurement")
+ (description
+ "@code{uom} (Units of measurement) is a crate that does automatic type-safe
+zero-cost dimensional analysis. You can create your own systems or use the pre-built
+International System of Units (SI) which is based on the International System of
+Quantities (ISQ) and includes numerous quantities (length, mass, time, ...) with
+conversion factors for even more numerous measurement units (meter, kilometer, foot,
+mile, ...).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ureq-2
(package
(name "rust-ureq")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 014/228] gnu: Place rust-thousands-0.2 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
727f22ac5c03117dac9ac95f0bd1c493b6b827fc.1708288182.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-thousands-0.2): Move variable.

Change-Id: I751696c30f4d4a821d9d0a5125a574d934a18116
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 32d98757ea..09113a8fc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37654,25 +37654,6 @@ (define-public rust-merlin-2
non-interactive protocols can be implemented as if they were interactive.")
(license license:expat)))
-(define-public rust-thousands-0.2
- (package
- (name "rust-thousands")
- (version "0.2.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "thousands" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0848gnkn7ah51lrx15z9zmn701ipn6gc4xbk4kfdlfahkypkpxiv"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t))
- (home-page "https://github.com/tov/thousands-rs")
- (synopsis "Adds digit separators to numerals, configurably.")
- (description "This package provides thousand separators for numerals.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-twox-hash-1
(package
(name "rust-twox-hash")
@@ -69982,6 +69963,25 @@ (define-public rust-thiserror-impl-1
@code{thiserror} crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-thousands-0.2
+ (package
+ (name "rust-thousands")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "thousands" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0848gnkn7ah51lrx15z9zmn701ipn6gc4xbk4kfdlfahkypkpxiv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/tov/thousands-rs")
+ (synopsis "Adds digit separators to numerals, configurably.")
+ (description "This package provides thousand separators for numerals.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-thread-id-4
(package
(name "rust-thread-id")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 017/228] gnu: Add rust-branches-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
3c89013f264b4953a00e18d4d19988e821b1abfc.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-branches-0.1): Add variable.

Change-Id: I5e058f07ceff79965473f27f3a22aa98cb0151a3
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e0d53ae5f..70bba96064 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7866,6 +7866,26 @@ (define-public rust-boxxy-0.12
("rust-rustls" ,rust-rustls-0.16)
("rust-sha2" ,rust-sha2-0.9))))))
+(define-public rust-branches-0.1
+ (package
+ (name "rust-branches")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "branches" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0alxmzmms4s8vv1v94y2kdq49a4p7728fgkpxx36z2m092bznn3r"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/fereidani/branches")
+ (synopsis
+ "Branch hinting prediction and control functions for stable Rust including likely, unlikely, assume and abort to help algorithm optimization")
+ (description
+ "Branch hinting prediction and control functions for stable Rust including
+likely, unlikely, assume and abort to help algorithm optimization")
+ (license license:expat)))
+
(define-public rust-bresenham-0.1
(package
(name "rust-bresenham")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 008/228] gnu: Add rust-compiletest-rs-0.9.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
784f48c91209e8227cfd8d3c1f20901716aeec5e.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-compiletest-rs-0.9): Add variable.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6de29f8ba..51ab31cdb3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12890,6 +12890,19 @@ (define-public rust-compiletest-rs-0.10
Rust compiler.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-compiletest-rs-0.9
+ (package
+ (inherit rust-compiletest-rs-0.10)
+ (name "rust-compiletest-rs")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "compiletest_rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wmk12mb8xskdv5mf3p33l2w4w76bcxjx3zlwn94zslaf6xrnj3h"))))))
+
(define-public rust-compiletest-rs-0.3
(package
(inherit rust-compiletest-rs-0.10)
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 010/228] gnu: Add rust-bitmaps-3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
b3fbc8a43f7fc65df2a27f3165b991c2ef733de5.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-bitmaps-3): Add variable.
(rust-bitmaps-2): Inherit from rust-bitmaps-3.
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dcd373e4cb..c2cb078887 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7116,10 +7116,10 @@ (define-public rust-bitflags-0.2
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))))
-(define-public rust-bitmaps-2
+(define-public rust-bitmaps-3
(package
(name "rust-bitmaps")
- (version "2.1.0")
+ (version "3.2.1")
(source
(origin
(method url-fetch)
@@ -7128,13 +7128,11 @@ (define-public rust-bitmaps-2
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
+ "1mivd3wyyham6c8y21nq3ka29am6v8hqn7lzmwf91aks2fq89l51"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-typenum" ,rust-typenum-1))
- #:cargo-development-inputs
- (("rust-proptest" ,rust-proptest-0.9)
+ `(#:cargo-development-inputs
+ (("rust-proptest" ,rust-proptest-1)
("rust-proptest-derive" ,rust-proptest-derive-0.1))))
(home-page "https://github.com/bodil/bitmaps")
(synopsis "Fixed size compact boolean array in Rust")
@@ -7142,6 +7140,27 @@ (define-public rust-bitmaps-2
declaring and working with fixed size bitmaps in Rust.")
(license license:mpl2.0)))
+(define-public rust-bitmaps-2
+ (package
+ (inherit rust-bitmaps-3)
+ (name "rust-bitmaps")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitmaps" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-typenum" ,rust-typenum-1))
+ #:cargo-development-inputs
+ (("rust-proptest" ,rust-proptest-0.9)
+ ("rust-proptest-derive" ,rust-proptest-derive-0.1))))))
+
(define-public rust-bitpacking-0.8
(package
(name "rust-bitpacking")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 015/228] gnu: Place rust-twox-hash-1 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
7ca953fccaab97da314bc5614333bc050c011917.1708288182.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-twox-hash-1): Move variable.

Change-Id: Icb0d2a5f834af969f235aaef48b2b848277801b3
---
gnu/packages/crates-io.scm | 58 +++++++++++++++++++-------------------
1 file changed, 29 insertions(+), 29 deletions(-)

Toggle diff (78 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09113a8fc1..15ca3e7645 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37654,35 +37654,6 @@ (define-public rust-merlin-2
non-interactive protocols can be implemented as if they were interactive.")
(license license:expat)))
-(define-public rust-twox-hash-1
- (package
- (name "rust-twox-hash")
- (version "1.6.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "twox-hash" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0xgn72j36a270l5ls1jk88n7bmq2dhlfkbhdh5554hbagjsydzlp"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-0.1)
- ("rust-digest" ,rust-digest-0.8)
- ("rust-digest" ,rust-digest-0.9)
- ("rust-digest" ,rust-digest-0.10)
- ("rust-rand" ,rust-rand-0.8)
- ("rust-serde" ,rust-serde-1)
- ("rust-static-assertions" ,rust-static-assertions-1))
- #:cargo-development-inputs
- (("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/shepmaster/twox-hash")
- (synopsis "Rust implementation of the XXHash and XXH3 algorithms")
- (description "This package provides a Rust implementation of the XXHash
-and XXH3 algorithms.")
- (license license:expat)))
-
(define-public rust-metrics-macros-0.2
(package
(name "rust-metrics-macros")
@@ -74532,6 +74503,35 @@ (define-public rust-twoway-0.1
(base32
"1lbf64snscr3vz71jbl6i2c8zr2ndsiqbk6316z39fj1a8mipcar"))))))
+(define-public rust-twox-hash-1
+ (package
+ (name "rust-twox-hash")
+ (version "1.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "twox-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xgn72j36a270l5ls1jk88n7bmq2dhlfkbhdh5554hbagjsydzlp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-static-assertions" ,rust-static-assertions-1))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/shepmaster/twox-hash")
+ (synopsis "Rust implementation of the XXHash and XXH3 algorithms")
+ (description "This package provides a Rust implementation of the XXHash
+and XXH3 algorithms.")
+ (license license:expat)))
+
(define-public rust-typeable-0.1
(package
(name "rust-typeable")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 016/228] gnu: Add rust-stream-assert-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
865737c32f16b5e7056fed972115344b233b80f6.1708288182.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-stream-assert-0.1): Add variable.

Change-Id: I72be17c1d6aa15fbb6b7251c4e85461f99b4c47b
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15ca3e7645..9e0d53ae5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64937,6 +64937,26 @@ (define-public rust-str-buf-1
(description "This package provides a static string buffer.")
(license license:boost1.0)))
+(define-public rust-stream-assert-0.1
+ (package
+ (name "rust-stream-assert")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "stream_assert" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15jbd1wzd1pl7mc7wkhrcnj5km4bv51gng664w23y0f9ff56gavz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3))))
+ (home-page "https://codeberg.org/jplatte/stream_assert")
+ (synopsis "Macros to simplify testing of `Stream` based APIs")
+ (description "This package provides macros to simplify testing of
+`Stream` based APIs.")
+ (license license:mpl2.0)))
+
(define-public rust-streaming-decompression-0.1
(package
(name "rust-streaming-decompression")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 018/228] gnu: Place rust-rusticata-macros-4 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
44caea2ac36f97a5703b47f641bb3b9aabd5c0cd.1708288182.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-rusticata-macros-4): Move variable.

Change-Id: If39e8260bc36dab3ded291a55b634769340a1b22
---
gnu/packages/crates-io.scm | 44 +++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 22 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 70bba96064..963483ac9b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16261,28 +16261,6 @@ (define-public rust-rt-format-0.3
character.")
(license license:asl2.0)))
-(define-public rust-rusticata-macros-4
- (package
- (name "rust-rusticata-macros")
- (version "4.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "rusticata-macros" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-nom" ,rust-nom-7))))
- (home-page "https://github.com/rusticata/rusticata-macros")
- (synopsis "Helper macros for Rusticata")
- (description "Helper macros for Rusticata.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-cssparser-0.29
(package
(name "rust-cssparser")
@@ -57556,6 +57534,28 @@ (define-public rust-rustfix-0.4
`(("rust-failure" ,rust-failure-0.1)
,@(alist-delete "rust-anyhow" cargo-inputs)))))))
+(define-public rust-rusticata-macros-4
+ (package
+ (name "rust-rusticata-macros")
+ (version "4.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusticata-macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nom" ,rust-nom-7))))
+ (home-page "https://github.com/rusticata/rusticata-macros")
+ (synopsis "Helper macros for Rusticata")
+ (description "Helper macros for Rusticata.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustix-0.38
(package
(name "rust-rustix")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 020/228] gnu: Place rust-rpassword-5 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
f792048eb669bed5fdbfa0886a73a8889ad72880.1708288182.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-rpassword-5): Move variable.

Change-Id: I492e10ddf3087b72b928f2591392a3547cdc3333
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36ba96cedb..bd4b2f7fe8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55442,6 +55442,23 @@ (define-public rust-rowan-0.15
"This package provides a library for generic lossless syntax trees.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rpassword-5
+ (package
+ (inherit rust-rpassword-6)
+ (name "rust-rpassword")
+ (version "5.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rpassword" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yry1kmgjcb4qd5wak91203493x42ak3dz9hy1c0r9kyib7kdjgz"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-rpds-1
(package
(name "rust-rpds")
@@ -56260,23 +56277,6 @@ (define-public rust-rpassword-6
("rust-serde-json" ,rust-serde-json-1)
("rust-winapi" ,rust-winapi-0.3))))))
-(define-public rust-rpassword-5
- (package
- (inherit rust-rpassword-6)
- (name "rust-rpassword")
- (version "5.0.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "rpassword" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1yry1kmgjcb4qd5wak91203493x42ak3dz9hy1c0r9kyib7kdjgz"))))
- (arguments
- `(#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))))
-
(define-public rust-run-script-0.10
(package
(name "rust-run-script")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 022/228] gnu: Place rust-rpassword-7 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
8335897103ba8df7470f8a6625a6ba1836a906ef.1708288183.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-rpassword-7): Move variable.

Change-Id: I81b5f4fc158c9b0e5c3c928ae7ffadac80dc93ff
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 23 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d9779651b..3bd7747095 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55442,6 +55442,29 @@ (define-public rust-rowan-0.15
"This package provides a library for generic lossless syntax trees.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rpassword-7
+ (package
+ (name "rust-rpassword")
+ (version "7.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rpassword" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08l3jbjwpsj6awm4lacm2bcj3cn9jhy4j6q21n68k49lmdiwyy36"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-rtoolbox" ,rust-rtoolbox-0.0.1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/conradkleinespel/rpassword")
+ (synopsis "Read passwords in Rust console applications")
+ (description "This package provides a crate for reading passwords in
+console applications.")
+ (license license:asl2.0)))
+
(define-public rust-rpassword-6
(package
(inherit rust-rpassword-7)
@@ -56254,29 +56277,6 @@ (define-public rust-rug-1
floating-point, and complex numbers based on GMP, MPFR and MPC.")
(license license:lgpl3+)))
-(define-public rust-rpassword-7
- (package
- (name "rust-rpassword")
- (version "7.2.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "rpassword" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "08l3jbjwpsj6awm4lacm2bcj3cn9jhy4j6q21n68k49lmdiwyy36"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-rtoolbox" ,rust-rtoolbox-0.0.1)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/conradkleinespel/rpassword")
- (synopsis "Read passwords in Rust console applications")
- (description "This package provides a crate for reading passwords in
-console applications.")
- (license license:asl2.0)))
-
(define-public rust-run-script-0.10
(package
(name "rust-run-script")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 023/228] gnu: Place rust-rt-format-0.3 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
8f07ab1afc6dfbd12764c182c5235732978af239.1708288183.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-rt-format-0.3): Move variable.

Change-Id: I71364774e17b776c43b696791a98c01e62655c10
---
gnu/packages/crates-io.scm | 52 +++++++++++++++++++-------------------
1 file changed, 26 insertions(+), 26 deletions(-)

Toggle diff (72 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3bd7747095..dbc3a35ab9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16235,32 +16235,6 @@ (define-public rust-rtoolbox-0.0.1
backwards compatibility guarantees.")
(license license:asl2.0)))
-(define-public rust-rt-format-0.3
- (package
- (name "rust-rt-format")
- (version "0.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "rt-format" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-regex" ,rust-regex-1))))
- (home-page "https://github.com/vstojkovic/rt-format")
- (synopsis "Runtime equivalent of the Rust format! macro")
- (description "This package provides a runtime equivalent of the Rust
-format! macro. It allows formatting strings like the format! macro, with the
-formatting string and the arguments provided at runtime. This crate supports
-all the formatting features of the format! macro, except for the fill
-character.")
- (license license:asl2.0)))
-
(define-public rust-cssparser-0.29
(package
(name "rust-cssparser")
@@ -56204,6 +56178,32 @@ (define-public rust-rstest-test-0.9
("rust-rstest" ,rust-rstest-0.15)
("rust-temp-testdir" ,rust-temp-testdir-0.2))))))
+(define-public rust-rt-format-0.3
+ (package
+ (name "rust-rt-format")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rt-format" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/vstojkovic/rt-format")
+ (synopsis "Runtime equivalent of the Rust format! macro")
+ (description "This package provides a runtime equivalent of the Rust
+format! macro. It allows formatting strings like the format! macro, with the
+formatting string and the arguments provided at runtime. This crate supports
+all the formatting features of the format! macro, except for the fill
+character.")
+ (license license:asl2.0)))
+
(define-public rust-rtnetlink-0.14
(package
(name "rust-rtnetlink")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 025/228] gnu: Place rust-roxmltree-0.14 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
06bcad65c7278ecf50d60ff292e2fa1593f48b31.1708288183.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-roxmltree-0.14): Move variable.

Change-Id: I71364774e17b776c43b696791a98c01e62655c10
---
gnu/packages/crates-io.scm | 44 +++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 22 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a1abbc2b04..71453a775e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16188,28 +16188,6 @@ (define-public rust-rodio-0.15
many formats including AAC, FLAC, MP3, MP4 and WAV.")
(license (list license:expat license:asl2.0))))
-(define-public rust-roxmltree-0.14
- (package
- (name "rust-roxmltree")
- (version "0.14.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "roxmltree" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "010mahzyarkzb7kaawgga1a9y46nsp209yh2i4g4pq98bg8afn5z"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-xmlparser" ,rust-xmlparser-0.13))))
- (home-page "https://github.com/RazrFalcon/roxmltree")
- (synopsis "Represent an XML as a read-only tree")
- (description
- "@code{roxmltree} represents an XML 1.0 document as a read-only tree.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-cssparser-0.29
(package
(name "rust-cssparser")
@@ -55391,6 +55369,28 @@ (define-public rust-rowan-0.15
"This package provides a library for generic lossless syntax trees.")
(license (list license:expat license:asl2.0))))
+(define-public rust-roxmltree-0.14
+ (package
+ (name "rust-roxmltree")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "roxmltree" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "010mahzyarkzb7kaawgga1a9y46nsp209yh2i4g4pq98bg8afn5z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-xmlparser" ,rust-xmlparser-0.13))))
+ (home-page "https://github.com/RazrFalcon/roxmltree")
+ (synopsis "Represent an XML as a read-only tree")
+ (description
+ "@code{roxmltree} represents an XML 1.0 document as a read-only tree.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rpassword-7
(package
(name "rust-rpassword")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 026/228] gnu: Place rust-rodio-0.15 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
e7799d84fb63b2be74d1c35f5cb583bbf6f3b8dc.1708288183.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-rodio-0.15): Move variable.

Change-Id: I71364774e17b776c43b696791a98c01e62655c10
---
gnu/packages/crates-io.scm | 56 +++++++++++++++++++-------------------
1 file changed, 28 insertions(+), 28 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71453a775e..348d46145e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16160,34 +16160,6 @@ (define-public rust-crunchy-0.2
number ``crunching``.")
(license license:expat)))
-(define-public rust-rodio-0.15
- (package
- (name "rust-rodio")
- (version "0.15.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "rodio" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4)
- ("rust-cpal" ,rust-cpal-0.13)
- ("rust-hound" ,rust-hound-3)
- ("rust-lewton" ,rust-lewton-0.10)
- ("rust-minimp3" ,rust-minimp3-0.5)
- ("rust-symphonia" ,rust-symphonia-0.4))
- #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9))))
- (native-inputs (list pkg-config))
- (inputs (list alsa-lib))
- (home-page "https://github.com/RustAudio/rodio")
- (synopsis "Pure Rust audio playback library")
- (description "Audio playback library written in pure Rust that supports
-many formats including AAC, FLAC, MP3, MP4 and WAV.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-cssparser-0.29
(package
(name "rust-cssparser")
@@ -55135,6 +55107,34 @@ (define-public rust-roadmap-0.5
(description "Model a project roadmap as a directed acyclic graph.")
(license license:expat-0)))
+(define-public rust-rodio-0.15
+ (package
+ (name "rust-rodio")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rodio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4)
+ ("rust-cpal" ,rust-cpal-0.13)
+ ("rust-hound" ,rust-hound-3)
+ ("rust-lewton" ,rust-lewton-0.10)
+ ("rust-minimp3" ,rust-minimp3-0.5)
+ ("rust-symphonia" ,rust-symphonia-0.4))
+ #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9))))
+ (native-inputs (list pkg-config))
+ (inputs (list alsa-lib))
+ (home-page "https://github.com/RustAudio/rodio")
+ (synopsis "Pure Rust audio playback library")
+ (description "Audio playback library written in pure Rust that supports
+many formats including AAC, FLAC, MP3, MP4 and WAV.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-roff-0.2
(package
(name "rust-roff")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 028/228] gnu: Add rust-readlock-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
546c0249023644c83946cb089c3db2bf0ff17539.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-readlock-0.1): Add variable.

Change-Id: I5e058f07ceff79965473f27f3a22aa98cb0151a3
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f77ebc4520..b2cd3a7c9d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53926,6 +53926,26 @@ (define-public rust-rdrand-0.4
@code{rdrand} and @code{rdseed} instructions")
(license license:isc)))
+(define-public rust-readlock-0.1
+ (package
+ (name "rust-readlock")
+ (version "0.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "readlock" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18l0la7zxavbw1ppfigq84f994lyw65rbpl4hlf5gakd37kj7cyp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-rclite" ,rust-rclite-0.2))))
+ (home-page "https://github.com/jplatte/readlock")
+ (synopsis "Weird alternative to Arc<RwLock<T>>")
+ (description
+ "This package provides a weird alternative to @code{Arc<RwLock<T>>}.")
+ (license license:mpl2.0)))
+
(define-public rust-recycler-0.1
(package
(name "rust-recycler")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 029/228] gnu: Add rust-readlock-tokio-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2b84f529c30b18d5b6292c6127f9250db4b4a829.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-readlock-tokio-0.1): Add variable.

Change-Id: Ic55945c3d2b7c69c6940b6a5607e2e7241f96a88
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b2cd3a7c9d..5e2af7f03a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53946,6 +53946,29 @@ (define-public rust-readlock-0.1
"This package provides a weird alternative to @code{Arc<RwLock<T>>}.")
(license license:mpl2.0)))
+(define-public rust-readlock-tokio-0.1
+ (package
+ (name "rust-readlock-tokio")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "readlock-tokio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zc356rp6x0imb4rq2jyq238lv065h4gnyr7zsh3c6aj0s4kd8zv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-rclite" ,rust-rclite-0.2)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/jplatte/readlock")
+ (synopsis "Weird alternative to Arc<RwLock<T>> using tokio's RwLock")
+ (description
+ "This package provides a weird alternative to Arc<@code{RwLock<T>>},
+using tokio's @code{RwLock}")
+ (license license:mpl2.0)))
+
(define-public rust-recycler-0.1
(package
(name "rust-recycler")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 030/228] gnu: Add rust-eyeball-0.8.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
52a711901fd202db194d8179ea53486c99abbcdc.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-eyeball-0.8): Add variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e2af7f03a..edb8059b29 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22524,6 +22524,33 @@ (define-public rust-expectrl-0.7
like Don libes expect.")
(license license:expat)))
+(define-public rust-eyeball-0.8
+ (package
+ (name "rust-eyeball")
+ (version "0.8.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "eyeball" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yw01cm6316xrq26nz3nhlvnsfahc96j692brrai04c2v69jhj22"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-readlock" ,rust-readlock-0.1)
+ ("rust-readlock-tokio" ,rust-readlock-tokio-0.1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tracing" ,rust-tracing-0.1))
+ #:cargo-development-inputs
+ (("rust-stream-assert" ,rust-stream-assert-0.1))))
+ (home-page "https://github.com/jplatte/eyeball")
+ (synopsis "Add observability to your Rust types")
+ (description "Add observability to your Rust types!")
+ (license license:mpl2.0)))
+
(define-public rust-eyre-0.6
(package
(name "rust-eyre")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 034/228] gnu: Add rust-mas-iana-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
5abdb930dc59685df05bd3df62836ec6930a06b4.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-mas-iana-0.7): Add variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 656a7d53d4..c445ce721d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36761,6 +36761,27 @@ (define-public rust-markup5ever-rcdom-0.1
(("rust-rustc-test" ,rust-rustc-test-0.3)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-mas-iana-0.7
+ (package
+ (name "rust-mas-iana")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mas-iana" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18yz6lv54crny8nmx4dpy3j2j00v8s80zsczzcg4fh1jyw6q4j0w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-schemars" ,rust-schemars-0.8)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+ (synopsis "IANA registry data for JOSE and OAuth 2.0")
+ (description "This package provides IANA registry data for JOSE and
+OAuth 2.0.")
+ (license license:asl2.0)))
+
(define-public rust-matchit-0.7
(package
(name "rust-matchit")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 033/228] gnu: Add rust-k256-0.13.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
cc3940332f85f321f2469b3cd28bf04a10c8af94.1708288183.git.herman@rimm.ee
* gnu/packages/crates-crypto.scm (rust-k256-0.13): Add variable.

Change-Id: I674837d219efcb665b3733104df7ddbaeecf56dd
---
gnu/packages/crates-crypto.scm | 43 ++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index d4205f7d70..23500388f9 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 VÖRÖSK?I András <voroskoi@gmail.com>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2520,6 +2521,48 @@ (define-public rust-hmac-sha1-0.1
Hash-based Message Authentication Code algorithm} for SHA1.")
(license license:bsd-3)))
+(define-public rust-k256-0.13
+ (package
+ (name "rust-k256")
+ (version "0.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "k256" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ysq18pjz040am5llgly90464x7qqq98yxfbcsladq96gsvgjvwm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serdect" ,rust-serdect-0.2)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-signature" ,rust-signature-2))
+ #:cargo-development-inputs (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-sha3" ,rust-sha3-0.10))))
+ (home-page
+ "https://github.com/RustCrypto/elliptic-curves/tree/master/k256")
+ (synopsis "Library supporting ECDSA, BIP340, ECDH and general-purpose
+seckp256k1 elliptic curve group operations")
+ (description
+ "This package provides a secp256k1 elliptic curve library written in
+pure Rust with support for ECDSA signing/verification/public-key recovery,
+Taproot Schnorr signatures (BIP340), Elliptic Curve Diffie-Hellman (ECDH),
+and general-purpose secp256k1 elliptic curve group operations which can be
+used to implement arbitrary protocols.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-kuznyechik-0.8
(package
(name "rust-kuznyechik")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 038/228] gnu: Add rust-parse-display-derive-0.8.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
d75061a9ddd3dee07ece528d689bb9819cf7e489.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-parse-display-derive-0.8): Add
variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5de186c092..fc2a6faf88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45671,6 +45671,35 @@ (define-public rust-parquet2-0.6
parallelism and safety in mind.")
(license license:asl2.0)))
+(define-public rust-parse-display-derive-0.8
+ (package
+ (name "rust-parse-display-derive")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parse-display-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hgkhjnk0xlaixql207p7vvg41vyq7y7gdqdijh8vxysr297hlb8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.7)
+ ("rust-structmeta" ,rust-structmeta-0.2)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/frozenlib/parse-display")
+ (synopsis
+ "Procedural macro to implement Display and FromStr using common
+settings")
+ (description
+ "This package provides a procedural macro to implement @code{Display}
+and @code{FromStr} using common settings.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-parse-zoneinfo-0.3
(package
(name "rust-parse-zoneinfo")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 037/228] gnu: Add rust-structmeta-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
f0e2c70f5eb8466865ea43fc07eade6bb65fdf43.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-structmeta-0.2): Add variable.
(rust-structmeta-0.1): Inherit rust-structmeta-0.2.
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c7fb96b31..5de186c092 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65611,8 +65611,33 @@ (define-public rust-strsim-0.5
(base32
"0z3zzvmilfldp4xw42qbkjf901dcnbk58igrzsvivydjzd24ry37"))))))
+(define-public rust-structmeta-0.2
+ (package
+ (name "rust-structmeta")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "structmeta" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bcj4c2p2j091mn9ld2hbcx77flqjx65ihb9gbb5c12gal4rxbbq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-structmeta-derive" ,rust-structmeta-derive-0.2)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs (("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/frozenlib/structmeta")
+ (synopsis "Parse Rust's attribute arguments by defining a struct.")
+ (description "This package lets you parse Rust's attribute arguments by
+defining a struct.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-structmeta-0.1
(package
+ (inherit rust-structmeta-0.2)
(name "rust-structmeta")
(version "0.1.6")
(source (origin
@@ -65622,18 +65647,12 @@ (define-public rust-structmeta-0.1
(sha256
(base32
"0alyl12b7fab8izrpliil73sxs1ivr5vm0pisallmxlb4zb44j0h"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-structmeta-derive" ,rust-structmeta-derive-0.1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/frozenlib/structmeta")
- (synopsis "Parse Rust's attribute arguments by defining a struct.")
- (description "This package lets you parse Rust's attribute arguments by
-defining a struct.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-structmeta-derive-0.2
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 041/228] gnu: rust-iri-string-0.7: Expand description.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
cc3331079121338b7608d6a62db5cff93d9959ed.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-iri-string-0.7)[description]: Expand
and wrap description.
---
gnu/packages/crates-io.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Toggle diff (19 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8aa7228da9..be9d48b57b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31226,8 +31226,10 @@ (define-public rust-iri-string-0.7
#:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/lo48576/iri-string")
(synopsis "IRI as string types")
- (description "String types for @acronym{IRIs, Internationalized Resource
-Identifiers} and @acronym{URIs, Uniform Resource Identifiers}.")
+ (description
+ "This package provides string types for @acronym{IRIs,
+Internationalized Resource Identifiers} and @acronym{URIs, Uniform
+Resource Identifiers}.")
(license (list license:expat license:asl2.0))))
(define-public rust-is-ci-1
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 042/228] gnu: Place rust-lettre-email-0.9 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
79012facf6cffd5ba65409cb6f0238bad68baa68.1708288183.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-lettre-email-0.9): Move variable.
---
gnu/packages/crates-io.scm | 56 +++++++++++++++++++-------------------
1 file changed, 28 insertions(+), 28 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be9d48b57b..382190cea0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20711,34 +20711,6 @@ (define-public rust-email-0.0.20
"This crate provides an implementation of RFC 5322 email messages.")
(license license:expat)))
-(define-public rust-lettre-email-0.9
- (package
- (name "rust-lettre-email")
- (version "0.9.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "lettre_email" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-base64" ,rust-base64-0.10)
- ("rust-email" ,rust-email-0.0.20)
- ("rust-lettre" ,rust-lettre-0.9)
- ("rust-mime" ,rust-mime-0.3)
- ("rust-time" ,rust-time-0.1)
- ("rust-uuid" ,rust-uuid-0.7))))
- (home-page "https://github.com/lettre/lettre")
- (synopsis "Mailer library for Rust")
- (description "Lettre is a mailer library for Rust. It provides multiple
-transport methods, unicode support, secure delivery with SMTP using encryption
-and authentication, easy email builders, and async support.")
- (license license:expat)))
-
(define-public rust-emojis-0.5
(package
(name "rust-emojis")
@@ -33202,6 +33174,34 @@ (define-public rust-lettre-0.9
sending emails from Rust applications.")
(license license:expat)))
+(define-public rust-lettre-email-0.9
+ (package
+ (name "rust-lettre-email")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lettre_email" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-email" ,rust-email-0.0.20)
+ ("rust-lettre" ,rust-lettre-0.9)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-uuid" ,rust-uuid-0.7))))
+ (home-page "https://github.com/lettre/lettre")
+ (synopsis "Mailer library for Rust")
+ (description "Lettre is a mailer library for Rust. It provides multiple
+transport methods, unicode support, secure delivery with SMTP using encryption
+and authentication, easy email builders, and async support.")
+ (license license:expat)))
+
(define-public rust-levenshtein-1
(package
(name "rust-levenshtein")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 044/228] gnu: Add rust-gat-std-proc-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
98bb3709b4d91d81c276db6cd90d0c4a403e0c13.1708288183.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-gat-std-proc-0.1): Add variable.

Change-Id: I501dd3fa1e55ef8cefad546bdc5c5001c44775c7
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da2a6bdbef..fd4462fa99 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26012,6 +26012,27 @@ (define-public rust-galil-seiferas-0.1
time, for nonorderable alphabets.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gat-std-proc-0.1
+ (package
+ (name "rust-gat-std-proc")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gat-std-proc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0br6d92fg4g7s81lsms6q3ayss1bl19fanqxc7v1csnic2vaw84c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/CraftSpider/gat-std")
+ (synopsis "Proc macros for gat-std")
+ (description "This package provides proc macros for @code{gat-std}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gcc-0.3
(package
(name "rust-gcc")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 046/228] gnu: Add rust-etherparse-0.9.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
b001dc5a6f6c28c22388be0a2c75ff0838c047d6.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-etherparse-0.9): Add variable.

Change-Id: Icbac5d22222aa417aa44500cf232cc61ee81c96f
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc038eaf97..88a872e494 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22184,6 +22184,23 @@ (define-public rust-etherparse-0.13
packet based protocols: @code{EthernetII}, IPv4, IPv6, UDP, TCP, etc..")
(license (list license:expat license:asl2.0))))
+(define-public rust-etherparse-0.9
+ (package
+ (inherit rust-etherparse-0.13)
+ (name "rust-etherparse")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "etherparse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01s86nj0k663mgxpj3r7y5wr50l5c3aq0pm4rpzyb7hz50i0k8ig"))))
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1))
+ #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-proptest" ,rust-proptest-0.9))))))
+
(define-public rust-evdev-0.12
(package
(name "rust-evdev")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 048/228] gnu: Add rust-eui48-1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
b1297fdda66bb47b33b7f973efd79a3506408443.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-eui48-1): Add variable.

Change-Id: I501dd3fa1e55ef8cefad546bdc5c5001c44775c7
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 509daaeacd..604bc2f752 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22201,6 +22201,34 @@ (define-public rust-etherparse-0.9
#:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
("rust-proptest" ,rust-proptest-0.9))))))
+(define-public rust-eui48-1
+ (package
+ (name "rust-eui48")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "eui48" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00cpf25kc3mxhqnahm0bw9xl19gr2pzc5g84dvkc4mwdbsn1hx48"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-regex" ,rust-regex-1)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1))))
+ (home-page "https://github.com/abaumhauer/eui48")
+ (synopsis
+ "Library to generate and parse IEEE EUI-48 and EUI-64")
+ (description
+ "This package provides a library to generate and parse IEEE EUI-48
+and EUI-64, also known as MAC-48 media access control addresses. The
+IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an
+abbreviation for Extended Unique Identifier.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-evdev-0.12
(package
(name "rust-evdev")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 049/228] gnu: Add rust-pcap-1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
c7e85e4c0c7ebcfa7c88f432d92df5dad9d72d7c.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-pcap-1): Add variable.
(rust-pcap-0.7): Inherit rust-pcap-1.

Change-Id: I00cfe081f4414616c7524af5093ebd639c8cd37f
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++------
1 file changed, 35 insertions(+), 6 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 604bc2f752..24469da2e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46310,8 +46310,42 @@ (define-public rust-pathdiff-0.2
path.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pcap-1
+ (package
+ (name "rust-pcap")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pcap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hrpgjxy53rvi9xbizr9nm70qgsb9pzfwah9bnirq791kpgjyibp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-errno" ,rust-errno-0.2)
+ ("rust-etherparse" ,rust-etherparse-0.13)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-gat-std" ,rust-gat-std-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.6)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tun-tap" ,rust-tun-tap-0.1)
+ ("rust-windows-sys" ,rust-windows-sys-0.36))
+ #:cargo-development-inputs (("rust-eui48" ,rust-eui48-1)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://github.com/rust-pcap/pcap")
+ (synopsis "Packet capture API around (w)pcap")
+ (description
+ "This package provides a packet capture API around pcap/wpcap.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pcap-0.7
(package
+ (inherit rust-pcap-1)
(name "rust-pcap")
(version "0.7.0")
(source
@@ -46322,7 +46356,6 @@ (define-public rust-pcap-0.7
(sha256
(base32 "14blflnbj87z3ajlj1hszsl6k7rwa338y4aw2yjm2j0xdpjvj4pr"))))
(native-inputs (list libpcap))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; can't find crate for `futures`
#:cargo-inputs
@@ -46332,11 +46365,7 @@ (define-public rust-pcap-0.7
("rust-mio" ,rust-mio-0.6)
("rust-tokio-core" ,rust-tokio-core-0.1))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
- (home-page "https://github.com/rust-pcap/pcap")
- (synopsis "Packet capture API around pcap/wpcap")
- (description "This package provides a packet capture API around pcap/wpcap.")
- (license (list license:expat license:asl2.0))))
+ (("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-pcap-sys-0.1
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 051/228] gnu: Add rust-pnet-base-0.34.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
6806dbf618cbf2a39ff5f9ccf388fd04ac634505.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-pnet-base-0.34): Add variable.
(rust-pnet-base-0.27): Inherit rust-pnet-base-0.34.

Change-Id: I00cfe081f4414616c7524af5093ebd639c8cd37f
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 212829d65e..4a602c5809 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48370,29 +48370,43 @@ (define-public rust-pmutil-0.5
(description "This package provides utils for proc-macro.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-pnet-base-0.27
+(define-public rust-pnet-base-0.34
(package
(name "rust-pnet-base")
- (version "0.27.2")
+ (version "0.34.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pnet_base" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf"))))
+ (base32 "0k2z3jh6vw99bwl0ckpsd142n4yiscza1bmj3b86i2xk7bxzck7y"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-serde" ,rust-serde-1))
+ `(#:cargo-inputs (("rust-no-std-net" ,rust-no-std-net-0.6)
+ ("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/libpnet/libpnet")
- (synopsis "Fundamental base types and code used by pnet")
+ (synopsis "Fundamental base types and code used by pnet.")
(description
"This crate implements fundamental base types and code used by pnet.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pnet-base-0.27
+ (package
+ ;; Does not depend on rust-no-std-net-0.6.
+ (inherit rust-pnet-base-0.34)
+ (name "rust-pnet-base")
+ (version "0.27.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pnet_base" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf"))))))
+
(define-public rust-pnet-datalink-0.27
(package
(name "rust-pnet-datalink")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 055/228] gnu: Add rust-http-body-util-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
af4b47ab1d24b30c2f8aaeb58e3675f6e11202cb.1708288184.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-http-body-util-0.1): Add variable.

Change-Id: I6883dcc1b1ec475c557a0d62606ec30172d478d4
---
gnu/packages/crates-web.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index b0b431ff88..6a68dfab0d 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2356,6 +2356,32 @@ (define-public rust-http-body-0.1
("rust-http" ,rust-http-0.1)
("rust-tokio-buf" ,rust-tokio-buf-0.1))))))
+(define-public rust-http-body-util-0.1
+ (package
+ (name "rust-http-body-util")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http-body-util" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0h78a6jj2vky0wmgmq5f1h541cmhmlij09gw63fxl59h77mpkjs1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-1)
+ ("rust-http-body" ,rust-http-body-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
+ #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/hyperium/http-body")
+ (synopsis "Combinators and adapters for HTTP request/response bodies")
+ (description
+ "This package provides combinators and adapters for HTTP request or
+response bodies.")
+ (license license:expat)))
+
(define-public rust-http-client-6
(package
(name "rust-http-client")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 059/228] gnu: Add rust-http-range-header-0.4.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
444b39c85abf9a7b7345d89cc067dc09537c0e14.1708288184.git.herman@rimm.ee
* gnu/packages/rust-apps.scm (rust-http-range-header-0.4): Add variable.
(rust-http-range-header-0.3): Inherit rust-http-range-header-0.4.
---
gnu/packages/crates-web.scm | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index dc80e10468..0e4f2c5536 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2458,17 +2458,17 @@ (define-public rust-http-client-6
(description "This package provides types and traits for HTTP clients.")
(license (list license:expat license:asl2.0))))
-(define-public rust-http-range-header-0.3
+(define-public rust-http-range-header-0.4
(package
(name "rust-http-range-header")
- (version "0.3.1")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "http-range-header" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13vm511vq3bhschkw2xi9nhxzkw53m55gn9vxg7qigfxc29spl5d"))))
+ (base32 "1zhigmvyrk50jzll6nmn7n1rxkfzh8xn0838dvdvnj52rlqyzr1w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -2477,10 +2477,24 @@ (define-public rust-http-range-header-0.3
("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/MarcusGrass/parse-range-headers")
- (synopsis "No-dep range header parser")
- (description "This crate provides a no-dep range header parser.")
+ (synopsis "Zero-dependency range header parser")
+ (description "This package provides a range header parser without any
+dependencies.")
(license license:expat)))
+(define-public rust-http-range-header-0.3
+ (package
+ (inherit rust-http-range-header-0.4)
+ (name "rust-http-range-header")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http-range-header" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13vm511vq3bhschkw2xi9nhxzkw53m55gn9vxg7qigfxc29spl5d"))))))
+
(define-public rust-http-types-2
(package
(name "rust-http-types")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 063/228] gnu: Add rust-castaway-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
71719c86f7d9e45eb064a33ed35909bf7bbff6ab.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-castaway-0.1): Add variable.

Change-Id: I5d9f31cb70195201a81ada859fae3ad4ca466581
---
gnu/packages/crates-io.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)

Toggle diff (27 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 741ba8a5a0..2b84618752 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10454,6 +10454,20 @@ (define-public rust-castaway-0.2
types that works on stable Rust.")
(license license:expat)))
+(define-public rust-castaway-0.1
+ (package
+ ;; Does not depend on rustversion and paste.
+ (inherit rust-castaway-0.2)
+ (name "rust-castaway")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "castaway" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xhspwy477qy5yg9c3jp713asxckjpx0vfrmz5l7r5zg7naqysd2"))))))
+
(define-public rust-cblas-sys-0.1
(package
(name "rust-cblas-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:02 +0100
[PATCH 053/228] gnu: Add rust-pnet-datalink-0.34.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
741474cf9b8d22a31066d2a70135e5fc620c5971.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-pnet-datalink-0.34): Add variable.
(rust-pnet-datalink-0.27): Inherit rust-pnet-datalink-0.34.

Change-Id: I929d97b3f4a0ac9b015c39e92993190c062a5192
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
1 file changed, 29 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1841027950..6a2070fc57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48407,8 +48407,36 @@ (define-public rust-pnet-base-0.27
(sha256
(base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf"))))))
+(define-public rust-pnet-datalink-0.34
+ (package
+ (name "rust-pnet-datalink")
+ (version "0.34.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pnet_datalink" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zlq1z3y6flpqh0x2yqczxvzavwpr3mlazbzjv9vnzh6y2mm8n5d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ipnetwork" ,rust-ipnetwork-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-netmap-sys" ,rust-netmap-sys-0.1)
+ ("rust-pcap" ,rust-pcap-1)
+ ("rust-pnet-base" ,rust-pnet-base-0.34)
+ ("rust-pnet-sys" ,rust-pnet-sys-0.34)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/libpnet/libpnet")
+ (synopsis "Cross-platform, datalink layer networking")
+ (description
+ "This crate implements cross-platform, datalink layer networking.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pnet-datalink-0.27
(package
+ (inherit rust-pnet-datalink-0.34)
(name "rust-pnet-datalink")
(version "0.27.2")
(source
@@ -48418,7 +48446,6 @@ (define-public rust-pnet-datalink-0.27
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1iws7c2mf88ip43ccmr5p8r6kzb6lwsg3amgc4pvy8wx9nf1q02r"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ipnetwork" ,rust-ipnetwork-0.17)
@@ -48428,12 +48455,7 @@ (define-public rust-pnet-datalink-0.27
("rust-pnet-base" ,rust-pnet-base-0.27)
("rust-pnet-sys" ,rust-pnet-sys-0.27)
("rust-serde" ,rust-serde-1)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/libpnet/libpnet")
- (synopsis "Cross-platform, datalink layer networking")
- (description
- "This crate implements cross-platform, datalink layer networking.")
- (license (list license:expat license:asl2.0))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-pnet-sys-0.34
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 067/228] gnu: Add rust-str-stack-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
b3e205ca3857788a3433e1925aa9c93ac1332546.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-str-stack-0.1): Add variable.

Change-Id: I288ab5b984139a6bd2c9f3bc53a291a70239d908
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f61fd50827..85c1558102 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65455,6 +65455,29 @@ (define-public rust-str-buf-1
(description "This package provides a static string buffer.")
(license license:boost1.0)))
+(define-public rust-str-stack-0.1
+ (package
+ (name "rust-str-stack")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "str_stack" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sxl8xd8kiaffsryqpfwcb02lnd3djfin7gf38ag5980908vd4ch"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/Stebalien/str_stack")
+ (synopsis
+ "String allocator for allocating many write-once strings")
+ (description
+ "This package provides a string allocator for allocating many write-
+once strings. This library is primarily useful for parsing where you need
+to repeatedly build many strings, use them, and then throw them away.
+Instead of allocating many independent strings, this library will put them
+all in the same buffer.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-stream-assert-0.1
(package
(name "rust-stream-assert")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 069/228] gnu: Add rust-libflate-lz77-2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
1772bb952fe373f8d74604ea2fb0ae390d56bb75.1708288184.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-libflate-lz77-2): Add variable.
(rust-libflate-lz77-1): Inherit rust-libflate-lz77-2.

Change-Id: Ic3822db635dde5796bd211d5f2d661410075eacd
---
gnu/packages/crates-io.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 888bab7240..f0cc910da1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33868,17 +33868,17 @@ (define-public rust-libflate-0.1
#:cargo-development-inputs
(("rust-clap" ,rust-clap-2))))))
-(define-public rust-libflate-lz77-1
+(define-public rust-libflate-lz77-2
(package
(name "rust-libflate-lz77")
- (version "1.2.0")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "libflate_lz77" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1gxc75fb2sk0xgrh3qxvxcx1l93yhmyxn9241r251wl5zj5klbd5"))))
+ (base32 "096map4a8xvf3819kgdxbg08nf97nggg9lvrdgn7c5a5ikxm4pxy"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -33886,12 +33886,26 @@ (define-public rust-libflate-lz77-1
("rust-hashbrown" ,rust-hashbrown-0.13)
("rust-rle-decode-fast" ,rust-rle-decode-fast-1))
#:cargo-development-inputs
+ ;; Needed by rust-libflate-lz77-1.
(("rust-libflate" ,rust-libflate-1))))
(home-page "https://github.com/sile/libflate")
(synopsis "LZ77 encoder for libflate crate")
(description "This package provides a LZ77 encoder for libflate crate.")
(license license:expat)))
+(define-public rust-libflate-lz77-1
+ (package
+ (inherit rust-libflate-lz77-2)
+ (name "rust-libflate-lz77")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libflate_lz77" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gxc75fb2sk0xgrh3qxvxcx1l93yhmyxn9241r251wl5zj5klbd5"))))))
+
(define-public rust-libfuzzer-sys-0.4
(package
(name "rust-libfuzzer-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 074/228] gnu: Add rust-pulldown-cmark-to-cmark-10.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
65edc8d271a82e6d544e560c1ad86fedd1030d84.1708288184.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-pulldown-cmark-to-cmark-10): Add
variable.
(rust-pulldown-cmark-to-cmark-7): Inherit
rust-pulldown-cmark-to-cmark-10.

Change-Id: I4c9e072c975ca6d91524fc66de8ceea708515e62
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b46be68b7c..9b98774bd1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51348,8 +51348,34 @@ (define-public rust-pulldown-cmark-0.1
(("rust-bitflags" ,rust-bitflags-0.9)
("rust-getopts" ,rust-getopts-0.2))))))
+(define-public rust-pulldown-cmark-to-cmark-10
+ (package
+ (name "rust-pulldown-cmark-to-cmark")
+ (version "10.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pulldown-cmark-to-cmark" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9))
+ #:cargo-development-inputs
+ (("rust-indoc" ,rust-indoc-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
+ (home-page "https://github.com/Byron/pulldown-cmark-to-cmark")
+ (synopsis
+ "Convert pulldown-cmark Events back into source strings")
+ (description
+ "This package provides a convert pulldown-cmark Events back to the
+string they were parsed from.")
+ (license license:asl2.0)))
+
(define-public rust-pulldown-cmark-to-cmark-7
(package
+ (inherit rust-pulldown-cmark-to-cmark-10)
(name "rust-pulldown-cmark-to-cmark")
(version "7.1.1")
(source
@@ -51369,15 +51395,7 @@ (define-public rust-pulldown-cmark-to-cmark-7
#:cargo-development-inputs
(("rust-indoc" ,rust-indoc-1)
("rust-pretty-assertions"
- ,rust-pretty-assertions-0.7))))
- (home-page
- "https://github.com/Byron/pulldown-cmark-to-cmark")
- (synopsis
- "Convert pulldown-cmark Events back to the string they were parsed from")
- (description
- "This package provides a convert pulldown-cmark Events back to the string
-they were parsed from")
- (license license:asl2.0)))
+ ,rust-pretty-assertions-0.7))))))
(define-public rust-pulse-0.5
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 078/228] gnu: Add rust-pprof-0.13.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
99ecc73c98f8bf21763d8edd57bede9d7272832b.1708288185.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-pprof-0.13): Add variable.

Change-Id: Idb0519f0b070b0082f44f549e14ff5a31196a1c3
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2aca3f3ae8..9813cc3f4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49224,6 +49224,48 @@ (define-public rust-powerfmt-macros-0.1
and should not be relied upon directly.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pprof-0.13
+ (package
+ (name "rust-pprof")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pprof" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jqi6yakwwhln5b1vr3aprgl2kdlvsmidqh24is7wk6k3g2rfp7g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-findshlibs" ,rust-findshlibs-0.10)
+ ("rust-inferno" ,rust-inferno-0.11)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-prost" ,rust-prost-0.12)
+ ("rust-prost-build" ,rust-prost-build-0.12)
+ ("rust-prost-derive" ,rust-prost-derive-0.12)
+ ("rust-protobuf" ,rust-protobuf-2)
+ ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-symbolic-demangle" ,rust-symbolic-demangle-12)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/tikv/pprof-rs")
+ (synopsis "Internal perf tools for rust programs")
+ (description "This package provides internal perf tools for Rust
+programs.")
+ (license license:asl2.0)))
+
(define-public rust-pq-sys-0.4
(package
(name "rust-pq-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 083/228] gnu: Place rust-paw-raw-1 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
a74a50b32b1b3da76b4ffca40a479698317a1b16.1708288185.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-paw-raw-1): Move variable.

Change-Id: I91859e00d3c8a63159c4b8fea6975799c36e63b8
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 56a5d4f6b7..580ecb100a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46572,6 +46572,24 @@ (define-public rust-pathdiff-0.2
path.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-paw-raw-1
+ (package
+ (name "rust-paw-raw")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paw-raw" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wk76ipp34gjh42vivmgdkb2rgr26gwhn34gk7z5l378ixk5j2vz"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-cli/paw")
+ (synopsis "Traits to implement custom Paw implementations")
+ (description "This package provides traits to implement custom Paw
+implementations.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-paw-structopt-1
(package
(name "rust-paw-structopt")
@@ -63492,24 +63510,6 @@ (define-public rust-paw-attributes-1
crate.")
(license (list license:expat license:asl2.0))))
-(define-public rust-paw-raw-1
- (package
- (name "rust-paw-raw")
- (version "1.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "paw-raw" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1wk76ipp34gjh42vivmgdkb2rgr26gwhn34gk7z5l378ixk5j2vz"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/rust-cli/paw")
- (synopsis "Traits to implement custom Paw implementations")
- (description "This package provides traits to implement custom Paw
-implementations.")
- (license (list license:expat license:asl2.0))))
-
;; TODO: Unbundle sleef.
(define-public rust-sleef-sys-0.1
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 087/228] gnu: Place rust-pathfinder-geometry-0.5 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
c5f74f4a9a7536a024354bc5a85c6c97fcb7c364.1708288185.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-pathfindder-geometry-0.5): Move
variable.

Change-Id: I8181209efd00083ed3ace4ae2920e434aef16128
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 23 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6508c8dd5..c414933a00 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46572,6 +46572,29 @@ (define-public rust-pathdiff-0.2
path.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pathfinder-geometry-0.5
+ (package
+ (name "rust-pathfinder-geometry")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pathfinder_geometry" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lssir0s1cmrpzzrk49jm31nkssh2j715gryww6700x79rxpwyqb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5))))
+ (home-page "https://github.com/servo/pathfinder")
+ (synopsis "Basic SIMD-accelerated geometry/linear algebra")
+ (description "This package provides basic SIMD-accelerated geometry/linear
+algebra.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pathfinder-simd-0.5
(package
(name "rust-pathfinder-simd")
@@ -63487,29 +63510,6 @@ (define-public rust-slab-0.4
data type.")
(license license:expat)))
-(define-public rust-pathfinder-geometry-0.5
- (package
- (name "rust-pathfinder-geometry")
- (version "0.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "pathfinder_geometry" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1lssir0s1cmrpzzrk49jm31nkssh2j715gryww6700x79rxpwyqb"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-log" ,rust-log-0.4)
- ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5))))
- (home-page "https://github.com/servo/pathfinder")
- (synopsis "Basic SIMD-accelerated geometry/linear algebra")
- (description "This package provides basic SIMD-accelerated geometry/linear
-algebra.")
- (license (list license:expat license:asl2.0))))
-
;; TODO: Unbundle sleef.
(define-public rust-sleef-sys-0.1
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 091/228] gnu: Add rust-tonic-0.9.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
d12a9b30c900ac31516fefab5adce90ff015df49.1708288185.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-tonic-0.9): Add variable.

Change-Id: I43391a9e3a9dbbd833756a18a34012704563ed98
---
gnu/packages/crates-web.scm | 49 +++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index a581012109..746d450955 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4049,6 +4049,55 @@ (define-public rust-tonic-0.10
on high performance, interoperability, and flexibility.")
(license license:expat)))
+(define-public rust-tonic-0.9
+ (package
+ (inherit rust-tonic-0.10)
+ (name "rust-tonic")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tonic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nlx35lvah5hdcp6lg1d6dlprq0zz8ijj6f727szfcv479m6d0ih"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-axum" ,rust-axum-0.6)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-h2" ,rust-h2-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-timeout" ,rust-hyper-timeout-0.4)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-prost" ,rust-prost-0.11)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.23))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tower" ,rust-tower-0.4))))))
+
(define-public rust-tonic-0.6
(package
(inherit rust-tonic-0.10)
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:03 +0100
[PATCH 096/228] gnu: Add rust-grpcio-compiler-0.12.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
55803b08484dbed7ef70478cab83104cbbd08d2c.1708288185.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-grpcio-compiler-0.12): Add variable.

Change-Id: Id485ae69a2ff3d93442f4bd51d269e9fda18f5b4
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 738038eee4..bbda094054 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27804,6 +27804,31 @@ (define-public rust-groupable-0.2
"This package aggregates groups of values from key-value iterators.")
(license license:expat)))
+(define-public rust-grpcio-compiler-0.12
+ (package
+ (name "rust-grpcio-compiler")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "grpcio-compiler" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rck9047121w1fd6lgg344frn0dv32mh5y7hc0ca15rm8w9hcgfs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5)
+ ("rust-prost" ,rust-prost-0.11)
+ ("rust-prost-build" ,rust-prost-build-0.11)
+ ("rust-prost-types" ,rust-prost-types-0.11)
+ ("rust-protobuf" ,rust-protobuf-2)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/tikv/grpc-rs")
+ (synopsis "gRPC compiler for grpcio")
+ (description
+ "This package provides a @code{gRPC} compiler for grpcio.")
+ (license license:asl2.0)))
+
(define-public rust-gumdrop-0.8
(package
(name "rust-gumdrop")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 101/228] gnu: rust-rustc-demangle-0.1: Update to 0.1.23.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
9abffd30c3b5fcb91eb48b82d4b4e2b13ccf0afd.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-rustc-demangle-0.1): Update to
0.1.23.

Change-Id: I5aaf308581d64122be297ee3a54a07bbc019fd45
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83dcf109f1..d38540df2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58147,7 +58147,7 @@ (define-public rust-rustc-ap-rustc-lexer-725
(define-public rust-rustc-demangle-0.1
(package
(name "rust-rustc-demangle")
- (version "0.1.16")
+ (version "0.1.23")
(source
(origin
(method url-fetch)
@@ -58155,7 +58155,7 @@ (define-public rust-rustc-demangle-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac"))))
+ "0xnbk2bmyzshacjm2g1kd4zzv2y2az14bw3sjccq5qkpmsfvn9nn"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 102/228] gnu: Add rust-opentelemetry-proto-0.4.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
71ac388f503e33085966ce53ea4f405833a4d784.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-opentelemetry-proto-0.4): Add
variable.
(define-module): Use (gnu packages protobuf) module.

Change-Id: I36ecba2dde7f01d592aa2d1481e63e17b92deae0
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d38540df2a..c78cde3ffa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44434,6 +44434,46 @@ (define-public rust-opentelemetry-jaeger-0.20
@code{OpenTelemetry}.")
(license license:asl2.0)))
+(define-public rust-opentelemetry-proto-0.4
+ (package
+ (name "rust-opentelemetry-proto")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "opentelemetry-proto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qblsq0hkksdw3k60bc8yi5xwlynmqwibggz3lyyl4n8bk75bqd2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-grpcio" ,rust-grpcio-0.12)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+ ("rust-prost" ,rust-prost-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tonic" ,rust-tonic-0.9))
+ #:cargo-development-inputs
+ (("rust-grpcio-compiler" ,rust-grpcio-compiler-0.12)
+ ("rust-prost-build" ,rust-prost-build-0.11)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tonic-build" ,rust-tonic-build-0.9))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-protoc-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((protobuf (assoc-ref inputs "protobuf"))
+ (protoc (string-append protobuf "/bin/protoc")))
+ (setenv "PROTOC" protoc)))))))
+ (native-inputs (list protobuf))
+ (home-page (string-append "https://github.com/open-telemetry/opentele"
+ "metry-rust/tree/main/opentelemetry-proto"))
+ (synopsis "Protobuf generated files and transformations")
+ (description "This package provides Protobuf generated files and
+transformations.")
+ (license license:asl2.0)))
+
(define-public rust-opentelemetry-sdk-0.21
(package
(name "rust-opentelemetry-sdk")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 103/228] gnu: Add rust-opentelemetry-otlp-0.14.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
118303726c811e4d5976a586b4c431f4f47c4efa.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-opentelemetry-otlp-0.14): Add
variable.

Change-Id: I29864c3cc9d1b1eb04e8989c59f251eab02f64f9
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c78cde3ffa..36b534e767 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44434,6 +44434,49 @@ (define-public rust-opentelemetry-jaeger-0.20
@code{OpenTelemetry}.")
(license license:asl2.0)))
+(define-public rust-opentelemetry-otlp-0.14
+ (package
+ (name "rust-opentelemetry-otlp")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "opentelemetry-otlp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c59bh4wa824mf89ayivsjqwipkg1y6r27r4d0y47lhfna1xlk7j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-grpcio" ,rust-grpcio-0.12)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-opentelemetry-http" ,rust-opentelemetry-http-0.10)
+ ("rust-opentelemetry-proto" ,rust-opentelemetry-proto-0.4)
+ ("rust-opentelemetry-semantic-conventions"
+ ,rust-opentelemetry-semantic-conventions-0.13)
+ ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+ ("rust-prost" ,rust-prost-0.11)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-surf" ,rust-surf-2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tonic" ,rust-tonic-0.9))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1))))
+ (home-page
+ "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp")
+ (synopsis "Exporter for the OpenTelemetry Collector")
+ (description "This package provides an exporter for the
+@code{OpenTelemetry} Collector.")
+ (license license:asl2.0)))
+
(define-public rust-opentelemetry-proto-0.4
(package
(name "rust-opentelemetry-proto")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 104/228] gnu: Add rust-opentelemetry-stdout-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
45e9dce91d68701b9243b906533f82c27aa03c89.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-opentelemetry-stdout-0.2): Add
variable.

Change-Id: I962fce6e734d19a362393f33a6adad58d5c1f409
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36b534e767..667ca26cec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44583,6 +44583,35 @@ (define-public rust-opentelemetry-semantic-conventions-0.13
@code{OpenTelemetry}.")
(license license:asl2.0)))
+(define-public rust-opentelemetry-stdout-0.2
+ (package
+ (name "rust-opentelemetry-stdout")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "opentelemetry-stdout" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gpnf02d7aidj7008w0sggxchh53bdr0ca68k84pdharrps2sfy1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+ ("rust-ordered-float" ,rust-ordered-float-4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+ (home-page
+ "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout")
+ (synopsis "OpenTelemetry exporter for stdout")
+ (description "An @code{OpenTelemetry} exporter for stdout.")
+ (license license:asl2.0)))
+
(define-public rust-opml-1
(package
(name "rust-opml")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 105/228] gnu: Add rust-tracing-opentelemetry-0.22.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
c7bf8c527ae193985faece30667680cc92aa2052.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-tracing-opentelemetry-0.22): Add
variable.

Change-Id: I7438b5a9a13ffd5e3e8f2d470e7cf613d8d5429c
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)

Toggle diff (61 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 667ca26cec..edde32486a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74805,6 +74805,54 @@ (define-public rust-tracing-log-0.1
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
("rust-tracing" ,rust-tracing-0.1))))))
+(define-public rust-tracing-opentelemetry-0.22
+ (package
+ (name "rust-tracing-opentelemetry")
+ (version "0.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-opentelemetry" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15jmwmbp6wz15bx20bfsmabx53wmlnd7wvzwz9hvkrq7aifc4yn6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-core" ,rust-tracing-core-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.2)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-web-time" ,rust-web-time-0.2))
+ #:cargo-development-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-opentelemetry-jaeger" ,rust-opentelemetry-jaeger-0.20)
+ ("rust-opentelemetry-otlp" ,rust-opentelemetry-otlp-0.14)
+ ("rust-opentelemetry-semantic-conventions"
+ ,rust-opentelemetry-semantic-conventions-0.13)
+ ("rust-opentelemetry-stdout" ,rust-opentelemetry-stdout-0.2)
+ ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+ ("rust-pprof" ,rust-pprof-0.13)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+ (home-page "https://github.com/tokio-rs/tracing-opentelemetry")
+ (synopsis "OpenTelemetry integration for tracing")
+ (description
+ "This package provides @code{OpenTelemetry} integration for tracing.")
+ (license license:expat)))
+
(define-public rust-tracing-serde-0.1
(package
(name "rust-tracing-serde")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 106/228] gnu: Add rust-mas-tower-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
9effdcd760135e97820f0a107aafdb14efbaa8a7.1708288186.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-mas-tower-0.7): Add variable.

Change-Id: I2600701581145a089a9f2fa627eaf85dd9eea934
---
gnu/packages/crates-web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 50ed2279d1..1904b3aa77 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3340,6 +3340,36 @@ (define-public rust-isahc-0.9
("rust-test-case" ,rust-test-case-1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))))
+(define-public rust-mas-tower-0.7
+ (package
+ (name "rust-mas-tower")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mas-tower" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gf55zyv2822xykc2az253a6n7nvjc129rl2nlwmax9yhjkypgpn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-http" ,rust-http-0.2)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-opentelemetry-http" ,rust-opentelemetry-http-0.10)
+ ("rust-opentelemetry-semantic-conventions"
+ ,rust-opentelemetry-semantic-conventions-0.13)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-opentelemetry" ,rust-tracing-opentelemetry-0.22))))
+ (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+ (synopsis "Tower layers used by the Matrix Authentication Service")
+ (description "This package provides the Tower layers used by the
+Matrix Authentication Service.")
+ (license license:asl2.0)))
+
(define-public rust-multipart-0.18
(package
(name "rust-multipart")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 107/228] gnu: Add rust-mas-http-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
7656a7b1c367facf4209d3f6ed05d9ec01c5be2a.1708288186.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-mas-http-0.7): Add variable.

Change-Id: I5dc01e2ac234829b56803832dd23afce0d68b7e5
---
gnu/packages/crates-web.scm | 45 +++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 1904b3aa77..1bc8f504ab 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3340,6 +3340,51 @@ (define-public rust-isahc-0.9
("rust-test-case" ,rust-test-case-1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))))
+(define-public rust-mas-http-0.7
+ (package
+ (name "rust-mas-http")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mas-http" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "063q1gkbzv1ky3kixiffdyxylz8cbgh1b582z1rmxh1b39r4hsfs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-axum" ,rust-axum-0.6)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-headers" ,rust-headers-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-rustls" ,rust-hyper-rustls-0.24)
+ ("rust-mas-tower" ,rust-mas-tower-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-http" ,rust-tower-http-0.4)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-opentelemetry" ,rust-tracing-opentelemetry-0.22)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.25))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+ (synopsis "HTTP utilities for the Matrix Authentication Service")
+ (description "This package provides HTTP utilities for the Matrix
+Authentication Service.")
+ (license license:asl2.0)))
+
(define-public rust-mas-tower-0.7
(package
(name "rust-mas-tower")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 108/228] gnu: Add rust-chacha20poly1305-0.10.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
72e4d9a1657e447225f4d8967af9b751fa161f7c.1708288186.git.herman@rimm.ee
* gnu/packages/crates-crypto.scm (rust-chacha20poly1305-0.10): Add
variable.
(rust-chacha20poly1305-0.9): Inherit from rust-chacha20poly1305-0.10.

Change-Id: I8e3d9270bb06baa051bb9eff8a7a507c5ac4a9ad
---
gnu/packages/crates-crypto.scm | 46 +++++++++++++++++++++++++---------
1 file changed, 34 insertions(+), 12 deletions(-)

Toggle diff (75 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 599fdd3a8c..0a01c18536 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1169,8 +1169,41 @@ (define-public rust-chacha20-0.8
(("rust-cipher" ,rust-cipher-0.3)
("rust-hex-literal" ,rust-hex-literal-0.2))))))
+(define-public rust-chacha20poly1305-0.10
+ (package
+ (name "rust-chacha20poly1305")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20poly1305" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dfwq9ag7x7lnd0znafpcn8h7k4nfr9gkzm0w7sc1lcj451pkk8h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5)
+ ("rust-chacha20" ,rust-chacha20-0.9)
+ ("rust-cipher" ,rust-cipher-0.4)
+ ("rust-poly1305" ,rust-poly1305-0.8)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-aead" ,rust-aead-0.5))))
+ (home-page
+ "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305")
+ (synopsis
+ "Rust implementation of ChaCha20Poly1305 Authenticated Encryption")
+ (description
+ "Pure Rust implementation of the ChaCha20Poly1305 Authenticated
+Encryption with Additional Data Cipher (RFC 8439) with optional
+architecture-specific hardware acceleration. Also contains
+implementations of the XChaCha20Poly1305 extended nonce variant of
+ChaCha20Poly1305, and the reduced-round ChaCha8Poly1305 and
+ChaCha12Poly1305 lightweight variants.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-chacha20poly1305-0.9
(package
+ (inherit rust-chacha20poly1305-0.10)
(name "rust-chacha20poly1305")
(version "0.9.1")
(source
@@ -1185,7 +1218,6 @@ (define-public rust-chacha20poly1305-0.9
'(begin
(substitute* "Cargo.toml"
(("version = \">=1, <1.5\"") "version = \"^1\""))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aead" ,rust-aead-0.4)
@@ -1194,17 +1226,7 @@ (define-public rust-chacha20poly1305-0.9
("rust-poly1305" ,rust-poly1305-0.7)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
- (("rust-aead" ,rust-aead-0.4))))
- (home-page "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305")
- (synopsis
- "Pure Rust implementation of ChaCha20Poly1305 Authenticated Encryption")
- (description
- "Pure Rust implementation of the ChaCha20Poly1305 Authenticated
-Encryption with Additional Data Cipher (RFC 8439) with optional
-architecture-specific hardware acceleration. Also contains implementations of
-the XChaCha20Poly1305 extended nonce variant of ChaCha20Poly1305, and the
-reduced-round ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.")
- (license (list license:asl2.0 license:expat))))
+ (("rust-aead" ,rust-aead-0.4))))))
(define-public rust-cipher-0.4
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:07 +0100
[PATCH 109/228] gnu: Add rust-mas-keystore-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
8b26ce415de6d7e85b32578c4e9dddc64b957048.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-mas-keystore-0.7): Add variable.

Change-Id: I36ad2576ed09edc04a6620d96b70d0271a08022f
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)

Toggle diff (57 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edde32486a..b20eff485b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37113,6 +37113,50 @@ (define-public rust-mas-iana-0.7
OAuth 2.0.")
(license license:asl2.0)))
+(define-public rust-mas-keystore-0.7
+ (package
+ (name "rust-mas-keystore")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mas-keystore" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04kr3mbmsjnim9s373iy62qrqd236zi4ff9cyqfd41aqiw9jlp57"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5)
+ ("rust-base64ct" ,rust-base64ct-1)
+ ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.10)
+ ("rust-const-oid" ,rust-const-oid-0.9)
+ ("rust-der" ,rust-der-0.7)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-k256" ,rust-k256-0.13)
+ ("rust-mas-iana" ,rust-mas-iana-0.7)
+ ("rust-mas-jose" ,rust-mas-jose-0.7)
+ ("rust-p256" ,rust-p256-0.13)
+ ("rust-p384" ,rust-p384-0.13)
+ ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7)
+ ("rust-pkcs1" ,rust-pkcs1-0.7)
+ ("rust-pkcs8" ,rust-pkcs8-0.10)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rsa" ,rust-rsa-0.9)
+ ("rust-sec1" ,rust-sec1-0.7)
+ ("rust-spki" ,rust-spki-0.7)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-insta" ,rust-insta-1)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3))))
+ (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+ (synopsis "Keystore used by the Matrix Authentication Service")
+ (description
+ "This package provides a secret-key store used by the Matrix
+Authentication Service.")
+ (license license:asl2.0)))
+
(define-public rust-matchit-0.7
(package
(name "rust-matchit")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 110/228] gnu: Place rust-const-format-proc-macros-0.2 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
6b2595b49da4c609b3dbc913563b8e97faca6247.1708288186.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-const-format-proc-macros-0.2): Move
variable.

Change-Id: I89cc68eba1c147ed29db214683d509d69edfc0d2
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 23 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b20eff485b..cb0d32d7c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12852,29 +12852,6 @@ (define-public rust-const-format-0.2
(description "This package provides compile-time string formatting.")
(license license:zlib)))
-(define-public rust-const-format-proc-macros-0.2
- (package
- (name "rust-const-format-proc-macros")
- (version "0.2.32")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "const_format_proc_macros" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1)
- ("rust-unicode-xid" ,rust-unicode-xid-0.2))
- #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1))))
- (home-page "https://github.com/rodrimati1992/const_format_crates/")
- (synopsis "Implementation detail of the @code{const_format} crate")
- (description "Implementation detail of the @code{const_format} crate.")
- (license license:zlib)))
-
;; This package requires features which are unavailable
;; on the stable releases of Rust.
(define-public rust-compiler-builtins-0.1
@@ -13735,6 +13712,29 @@ (define-public rust-const-fn-0.4
const functions with conditional compilations.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-const-format-proc-macros-0.2
+ (package
+ (name "rust-const-format-proc-macros")
+ (version "0.2.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const_format_proc_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))
+ #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1))))
+ (home-page "https://github.com/rodrimati1992/const_format_crates/")
+ (synopsis "Implementation detail of the @code{const_format} crate")
+ (description "Implementation detail of the @code{const_format} crate.")
+ (license license:zlib)))
+
(define-public rust-const-oid-0.9
(package
(name "rust-const-oid")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 111/228] gnu: Place rust-const-format-0.2 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
50d588d6a59137d705db0510eaad70f19ef62590.1708288186.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-const-format-0.2): Move variable.

Change-Id: Ic0a3ae127a7cb2bdaad459db9386a8d713942a7c
---
gnu/packages/crates-io.scm | 50 +++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 25 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb0d32d7c2..1fd107c77e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12827,31 +12827,6 @@ (define-public rust-const-fn-assert-0.1
(description "Assertions for const functions.")
(license license:expat)))
-(define-public rust-const-format-0.2
- (package
- (name "rust-const-format")
- (version "0.2.32")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "const_format" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-test-flags
- '("--release" "--features=__test")
- #:cargo-inputs
- (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2)
- ("rust-konst" ,rust-konst-0.2))
- #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)
- ("rust-fastrand" ,rust-fastrand-1))))
- (home-page "https://github.com/rodrimati1992/const_format_crates/")
- (synopsis "Compile-time string formatting")
- (description "This package provides compile-time string formatting.")
- (license license:zlib)))
-
;; This package requires features which are unavailable
;; on the stable releases of Rust.
(define-public rust-compiler-builtins-0.1
@@ -13712,6 +13687,31 @@ (define-public rust-const-fn-0.4
const functions with conditional compilations.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-const-format-0.2
+ (package
+ (name "rust-const-format")
+ (version "0.2.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const_format" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--features=__test")
+ #:cargo-inputs
+ (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2)
+ ("rust-konst" ,rust-konst-0.2))
+ #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-fastrand" ,rust-fastrand-1))))
+ (home-page "https://github.com/rodrimati1992/const_format_crates/")
+ (synopsis "Compile-time string formatting")
+ (description "This package provides compile-time string formatting.")
+ (license license:zlib)))
+
(define-public rust-const-format-proc-macros-0.2
(package
(name "rust-const-format-proc-macros")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 112/228] gnu: Place rust-const-fn-assert-0.1 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
fb088fcafe063882b11c854fdcc6f7c7cf2c578d.1708288186.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-const-fn-assert-0.1): Move variable.

Change-Id: Id65592fce294a76d3a7f3a3cea9b84da46bbb8d0
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

Toggle diff (52 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fd107c77e..614cccdfc5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12811,22 +12811,6 @@ (define-public rust-const-cstr-0.3
literals.")
(license (list license:expat license:asl2.0))))
-(define-public rust-const-fn-assert-0.1
- (package
- (name "rust-const-fn-assert")
- (version "0.1.2")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "const_fn_assert" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1451yxndri5zj95lyjzckj7m3qlpyj8ibp3pb8bbbxrl7zr19mi7"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/powlpy/const_fn_assert")
- (synopsis "Assertions for const functions")
- (description "Assertions for const functions.")
- (license license:expat)))
-
;; This package requires features which are unavailable
;; on the stable releases of Rust.
(define-public rust-compiler-builtins-0.1
@@ -13687,6 +13671,22 @@ (define-public rust-const-fn-0.4
const functions with conditional compilations.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-const-fn-assert-0.1
+ (package
+ (name "rust-const-fn-assert")
+ (version "0.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "const_fn_assert" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1451yxndri5zj95lyjzckj7m3qlpyj8ibp3pb8bbbxrl7zr19mi7"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/powlpy/const_fn_assert")
+ (synopsis "Assertions for const functions")
+ (description "Assertions for const functions.")
+ (license license:expat)))
+
(define-public rust-const-format-0.2
(package
(name "rust-const-format")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 113/228] gnu: Place rust-const-cstr-0.3 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
a8c95f8e7770166e2266f6559dcb57ebe608fb37.1708288186.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-const-cstr-0.3): Move variable.

Change-Id: I7c218cec542ec77aca97d5ae40a40a1b7b6caa47
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 614cccdfc5..4ff4eed619 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12792,25 +12792,6 @@ (define-public rust-compound-duration-1
minutes, seconds.")
(license license:bsd-3)))
-(define-public rust-const-cstr-0.3
- (package
- (name "rust-const-cstr")
- (version "0.3.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "const-cstr" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/cybergeek94/const-cstr")
- (synopsis "Create static C-compatible strings from Rust string literals")
- (description
- "This crate lets you create static C-compatible strings from Rust string
-literals.")
- (license (list license:expat license:asl2.0))))
-
;; This package requires features which are unavailable
;; on the stable releases of Rust.
(define-public rust-compiler-builtins-0.1
@@ -13652,6 +13633,25 @@ (define-public rust-console-log-0.1
the browser's console.")
(license (list license:expat license:asl2.0))))
+(define-public rust-const-cstr-0.3
+ (package
+ (name "rust-const-cstr")
+ (version "0.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "const-cstr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/cybergeek94/const-cstr")
+ (synopsis "Create static C-compatible strings from Rust string literals")
+ (description
+ "This crate lets you create static C-compatible strings from Rust string
+literals.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-const-fn-0.4
(package
(name "rust-const-fn")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 114/228] gnu: Place rust-compound-duration-1 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
285b2251bf2073b17a9b78e7d5e29102ecde72af.1708288186.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-compound-duration-1): Move variable.

Change-Id: Icd3462f34d5f8b01a2deea0504b2f6825b6e85b7
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4ff4eed619..af20149f6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12773,25 +12773,6 @@ (define-public rust-compact-str-0.7
stores strings on the stack, when possible.")
(license license:expat)))
-(define-public rust-compound-duration-1
- (package
- (name "rust-compound-duration")
- (version "1.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "compound_duration" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r"))))
- (build-system cargo-build-system)
- (home-page "https://docs.rs/compound_duration/latest/compound_duration/")
- (synopsis "Convert seconds to compound duration")
- (description
- "Convert seconds to compound duration, such as: week, days, hours,
-minutes, seconds.")
- (license license:bsd-3)))
-
;; This package requires features which are unavailable
;; on the stable releases of Rust.
(define-public rust-compiler-builtins-0.1
@@ -12983,6 +12964,25 @@ (define-public rust-completest-pty-0.5
"This package provides running completions for your program.")
(license (list license:expat license:asl2.0))))
+(define-public rust-compound-duration-1
+ (package
+ (name "rust-compound-duration")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "compound_duration" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r"))))
+ (build-system cargo-build-system)
+ (home-page "https://docs.rs/compound_duration/latest/compound_duration/")
+ (synopsis "Convert seconds to compound duration")
+ (description
+ "Convert seconds to compound duration, such as: week, days, hours,
+minutes, seconds.")
+ (license license:bsd-3)))
+
(define-public rust-comrak-0.18
(package
(name "rust-comrak")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 115/228] gnu: Add rust-warp-0.3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2431e28d0ab2177866ff511536d0ce9edbbe0092.1708288186.git.herman@rimm.ee
* gnu/packages/crates-web.scm (rust-warp-0.3): Add variable.
(rust-warp-0.2): Inherit from rust-warp-0.3.

Change-Id: I5f3683ac83fd4d607b3095285f263eb889ece61e
---
gnu/packages/crates-web.scm | 53 ++++++++++++++++++++++++++++++++-----
1 file changed, 47 insertions(+), 6 deletions(-)

Toggle diff (82 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 1bc8f504ab..afd85d4d1e 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -5750,8 +5750,54 @@ (define-public rust-typed-headers-0.1
("rust-http" ,rust-http-0.1)
("rust-mime" ,rust-mime-0.3))))))
+(define-public rust-warp-0.3
+ (package
+ (name "rust-warp")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "warp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sfimrpxkyka1mavfhg5wa4x977qs8vyxa510c627w9zw0i2xsf1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-compression" ,rust-async-compression-0.3)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("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-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-multer" ,rust-multer-2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/seanmonstar/warp")
+ (synopsis "Serve the web at warp speeds")
+ (description "Warp is a composable, web server framework.")
+ (license license:expat)))
+
(define-public rust-warp-0.2
(package
+ (inherit rust-warp-0.3)
(name "rust-warp")
(version "0.2.5")
(source
@@ -5761,7 +5807,6 @@ (define-public rust-warp-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01wl8kv5hh1dd7gcwdrmn9xfs7jjsh9yc8xa06ph8yf9akgyc6zl"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -5786,11 +5831,7 @@ (define-public rust-warp-0.2
("rust-tower-service" ,rust-tower-service-0.3)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-futures" ,rust-tracing-futures-0.2)
- ("rust-urlencoding" ,rust-urlencoding-1))))
- (home-page "https://github.com/seanmonstar/warp")
- (synopsis "Composable web server framework")
- (description "Warp is a composable, web server framework.")
- (license license:expat)))
+ ("rust-urlencoding" ,rust-urlencoding-1))))))
(define-public rust-web-view-0.7
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 119/228] gnu: Add rust-temp-env-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
dfc81a4a2a8b9d4f6b331cf7b588ee39d9ff4066.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-temp-env-0.2): Add variable.

Change-Id: I190d0442b55fa80522a9a47b8cd516c18efe3ea0
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49d7df80a0..08e1823a3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70005,6 +70005,26 @@ (define-public rust-tectonic-xetex-layout-0.2
a C API.")
(license license:expat)))
+(define-public rust-temp-env-0.2
+ (package
+ (name "rust-temp-env")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "temp-env" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mxbfwcrbzgplf5ixs4n2xsl3pqazna25h2kfjwc9y6xq8v72425"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/vmx/temp-env")
+ (synopsis "Set environment variables temporarily")
+ (description
+ "This package lets you set environment variables temporarily.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-temp-testdir-0.2
(package
(name "rust-temp-testdir")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 120/228] gnu: Add rust-config-0.13.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
246527dae510142024341b844501165e60ede95a.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-config-0.13): Add variable.
(rust-config-0.11): Inherit from rust-config-0.13.

Change-Id: I485b25be348c9fc1962917d018eb60c196efcf15
---
gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++++------
1 file changed, 44 insertions(+), 8 deletions(-)

Toggle diff (81 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08e1823a3f..e0dd97e5b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13266,8 +13266,51 @@ (define-public rust-concurrent-queue-1
(("rust-easy-parallel" ,rust-easy-parallel-3)
("rust-fastrand" ,rust-fastrand-1))))))
+(define-public rust-config-0.13
+ (package
+ (name "rust-config")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "config" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jjag1x3rl77zjykbrykzhd5fsiv8vy40y4lxkj46xicjw8qwwr3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-json5" ,rust-json5-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-pathdiff" ,rust-pathdiff-0.2)
+ ("rust-ron" ,rust-ron-0.7)
+ ("rust-rust-ini" ,rust-rust-ini-0.18)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+ #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-float-cmp" ,rust-float-cmp-0.9)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-notify" ,rust-notify-4)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-temp-env" ,rust-temp-env-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-warp" ,rust-warp-0.3))))
+ (home-page "https://github.com/mehcode/config-rs")
+ (synopsis "Layered configuration system for Rust applications")
+ (description
+ "This package provides a layered configuration system for Rust
+applications.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-config-0.11
(package
+ (inherit rust-config-0.13)
(name "rust-config")
(version "0.11.0")
(source
@@ -13277,7 +13320,6 @@ (define-public rust-config-0.11
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0sdkxv77m65frsn3bx0r3v7asxar3gy3hmghcfk6h4rbijars6qv"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -13288,13 +13330,7 @@ (define-public rust-config-0.11
("rust-serde-hjson" ,rust-serde-hjson-0.9)
("rust-serde-json" ,rust-serde-json-1)
("rust-toml" ,rust-toml-0.5)
- ("rust-yaml-rust" ,rust-yaml-rust-0.4))))
- (home-page "https://github.com/mehcode/config-rs")
- (synopsis "Layered configuration system for Rust applications")
- (description
- "This package provides a layered configuration system for Rust
-applications.")
- (license (list license:expat license:asl2.0))))
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))))))
(define-public rust-config-0.10
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 122/228] gnu: Add rust-deadpool-0.9.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
4590d3b87f5e7e588ab6f8359150bcf03a2b8f3d.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-deadpool-0.9): Add variable.
(rust-deadpool-0.7): Inherit from rust-deadpool-0.9.

Change-Id: I8aee483f5a9e8e7d0a1c11c1452809a957b40e72
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b060ddf51..b18058485c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17877,8 +17877,40 @@ (define-public rust-dbus-tree-0.9
"This crate is a framework for writing D-Bus method handlers (legacy).")
(license (list license:asl2.0 license:expat))))
+(define-public rust-deadpool-0.9
+ (package
+ (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"))))
+ (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-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))))
+ (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.7
(package
+ (inherit rust-deadpool-0.9)
(name "rust-deadpool")
(version "0.7.0")
(source
@@ -17888,7 +17920,6 @@ (define-public rust-deadpool-0.7
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -17897,13 +17928,7 @@ (define-public rust-deadpool-0.7
("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))))
- (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))))
+ ("rust-tokio" ,rust-tokio-1))))))
(define-public rust-deadpool-runtime-0.1
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 123/228] gnu: Add rust-assert-json-diff-2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
8377ef66734a7feef5ca1c007f45dd5bfe5918ac.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-assert-json-diff-2): Add variable.

Change-Id: I4cba34d21e7d52c9d4110837ce7ad04e065d6f17
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b18058485c..84aa9a9555 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3838,6 +3838,30 @@ (define-public rust-assert-impl-0.1
(description "Macro for static assert types implement a trait or not")
(license license:expat)))
+(define-public rust-assert-json-diff-2
+ (package
+ (name "rust-assert-json-diff")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert-json-diff" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04mg3w0rh3schpla51l18362hsirl23q93aisws2irrj32wg5r27"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-version-sync" ,rust-version-sync-0.8))))
+ (home-page "https://github.com/davidpdrsn/assert-json-diff")
+ (synopsis "Easily compare two JSON values and get great output")
+ (description "This package lets you easily compare two JSON values
+and get great output.")
+ (license license:expat)))
+
(define-public rust-assert-matches-1
(package
(name "rust-assert-matches")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 125/228] gnu: Add rust-mas-oidc-client-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
20f955d8ba555a557c9837b6421b09b550f8a54b.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-mas-oidc-client-0.7): Add variable.

Change-Id: Ib87bf4d854d31e42b2b38189717bd386d64f492b
---
gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84aa9a9555..b5b1552dc6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37263,6 +37263,62 @@ (define-public rust-mas-keystore-0.7
Authentication Service.")
(license license:asl2.0)))
+(define-public rust-mas-oidc-client-0.7
+ (package
+ (name "rust-mas-oidc-client")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mas-oidc-client" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wg5w937sv1ljcfvarmvm8j5mzgi6ss2f7n61rs5ql8g4jsgjf1i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("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-http-body" ,rust-http-body-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-rustls" ,rust-hyper-rustls-0.24)
+ ("rust-language-tags" ,rust-language-tags-0.3)
+ ("rust-mas-http" ,rust-mas-http-0.7)
+ ("rust-mas-iana" ,rust-mas-iana-0.7)
+ ("rust-mas-jose" ,rust-mas-jose-0.7)
+ ("rust-mas-keystore" ,rust-mas-keystore-0.7)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-oauth2-types" ,rust-oauth2-types-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-serde-with" ,rust-serde-with-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-http" ,rust-tower-http-0.4)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-mas-keystore" ,rust-mas-keystore-0.7)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-wiremock" ,rust-wiremock-0.5))))
+ (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+ (synopsis "OpenID Connect library for Matrix Authentication Service")
+ (description
+ "This package provides a @code{OpenID} Connect client library used
+by the Matrix Authentication Service.")
+ (license license:asl2.0)))
+
(define-public rust-matchit-0.7
(package
(name "rust-matchit")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 126/228] gnu: Add rust-matrix-sdk-test-macros-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
781616c58a0cd6884d17ba0d9a3e79af7e361cad.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-matrix-sdk-test-macros-0.7): Add
variable.

Change-Id: I0282eb05fcfa9dcda296e0f58178519dac3ce49a
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b5b1552dc6..f0e2316e8a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37424,6 +37424,27 @@ (define-public rust-matchers-0.0
`(#:cargo-inputs
(("rust-regex-automata" ,rust-regex-automata-0.1))))))
+(define-public rust-matrix-sdk-test-macros-0.7
+ (package
+ (name "rust-matrix-sdk-test-macros")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matrix-sdk-test-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yr48204a44irzg1l3yx1dlfskj8i71c97i6xki4n92i8pw0qnpb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+ (synopsis "Helper macros to write tests for the Matrix SDK")
+ (description "This package provides helper macros to write tests for
+the Matrix SDK.")
+ (license license:asl2.0)))
+
(define-public rust-matrixcompare-core-0.1
(package
(name "rust-matrixcompare-core")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 128/228] gnu: Add rust-konst-proc-macros-0.3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
3b6ca95f4182882613d29778c3c7242de7eb917f.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-konst-proc-macros-0.3): Add variable.
(rust-konst-proc-macros-0.2): Move and inherit from
rust-konst-proc-macros-0.3.

Change-Id: I5bdeb05b9f56268cd6ed8d25410f522eecfe8212
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++--------------
1 file changed, 31 insertions(+), 17 deletions(-)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e33247d898..eacdb9a35f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29409,23 +29409,6 @@ (define-public rust-konst-macro-rules-0.2
(description "Implementation detail of the konst crate.")
(license license:zlib)))
-(define-public rust-konst-proc-macros-0.2
- (package
- (name "rust-konst-proc-macros")
- (version "0.2.11")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "konst_proc_macros" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0dxp8mdh3q9d044ql203way4fgbc50n3j3pi2j1x2snlcaa10klq"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/rodrimati1992/konst/")
- (synopsis "Implementation detail of the @code{konst} crate")
- (description "Implementation detail of the @code{konst} crate.")
- (license license:zlib)))
-
(define-public rust-human-format-1
(package
(name "rust-human-format")
@@ -33058,6 +33041,37 @@ (define-public rust-khronos-api-3
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(define-public rust-konst-proc-macros-0.3
+ (package
+ (name "rust-konst-proc-macros")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst_proc_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hv07c8b0v8rlcwkf2n1fv46d5ldk8md344c5c6dc2ayqcfsna2f"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rodrimati1992/konst/")
+ (synopsis "Implementation detail of the @code{konst} crate")
+ (description "@code{konst-proc-macros} is an implementation detail
+of the @code{konst} crate.")
+ (license license:zlib)))
+
+(define-public rust-konst-proc-macros-0.2
+ (package
+ (inherit rust-konst-proc-macros-0.3)
+ (name "rust-konst-proc-macros")
+ (version "0.2.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst_proc_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dxp8mdh3q9d044ql203way4fgbc50n3j3pi2j1x2snlcaa10klq"))))))
+
(define-public rust-kqueue-sys-1
(package
(name "rust-kqueue-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 129/228] gnu: Place rust-konst-macro-rules-0.2 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
011a28fb7ff325c7156cc7d09ed83f3a0568a14b.1708288187.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-konst-macro-rules-0.2): Move variable.

Change-Id: Id00195abf89f6df4b29693d548b9117b95428881
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eacdb9a35f..f2910219ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29392,23 +29392,6 @@ (define-public rust-konst-0.2
"Const equivalents of std functions, compile-time comparison, and parsing.")
(license license:zlib)))
-(define-public rust-konst-macro-rules-0.2
- (package
- (name "rust-konst-macro-rules")
- (version "0.2.19")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "konst_macro_rules" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0dswja0dqcww4x3fwjnirc0azv2n6cazn8yv0kddksd8awzkz4x4"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/rodrimati1992/konst/")
- (synopsis "Implementation detail of the konst crate")
- (description "Implementation detail of the konst crate.")
- (license license:zlib)))
-
(define-public rust-human-format-1
(package
(name "rust-human-format")
@@ -33041,6 +33024,23 @@ (define-public rust-khronos-api-3
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(define-public rust-konst-macro-rules-0.2
+ (package
+ (name "rust-konst-macro-rules")
+ (version "0.2.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst_macro_rules" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dswja0dqcww4x3fwjnirc0azv2n6cazn8yv0kddksd8awzkz4x4"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rodrimati1992/konst/")
+ (synopsis "Implementation detail of the konst crate")
+ (description "Implementation detail of the konst crate.")
+ (license license:zlib)))
+
(define-public rust-konst-proc-macros-0.3
(package
(name "rust-konst-proc-macros")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 131/228] gnu: Add rust-typewit-1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
654daf2668cc5d2255680b3d494bd3d66cb649e0.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-typewit-1): Add variable.

Change-Id: I82923d67800073dde62dfebea45842e1819b5eee
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a48cce125..1583a038b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76361,6 +76361,30 @@ (define-public rust-typenum-1
(license (list license:asl2.0
license:expat))))
+(define-public rust-typewit-1
+ (package
+ (name "rust-typewit")
+ (version "1.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "typewit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "093fgb1q5n48vr4nj3hggbhfi6jzab5048scs6jz1ynalgk9myy6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-typewit-proc-macros" ,rust-typewit-proc-macros-1))
+ #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/rodrimati1992/typewit/")
+ (synopsis "Type-witness-based abstractions to emulate polymorphism")
+ (description
+ "This package provides type-witness-based abstractions, mostly for
+emulating polymorphism in @code{const} functions.")
+ (license license:zlib)))
+
(define-public rust-typewit-proc-macros-1
(package
(name "rust-typewit-proc-macros")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 132/228] gnu: Add rust-const-panic-proc-macros-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
c4f40f1d8873ccf0fc243265c0db5f9d180d6dd2.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-const-panic-proc-macros-0.2): Add
variable.

Change-Id: I2022366b7b8886289fa303d720635d0f448ae803
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1583a038b5..6683c533eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13848,6 +13848,30 @@ (define-public rust-const-oid-0.6
(base32 "12vv7csqqjj0x1l5mf51lgqiw76k5c3mb1yzfhfcqysks2j2lvwx"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-const-panic-proc-macros-0.2
+ (package
+ (name "rust-const-panic-proc-macros")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const_panic_proc_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1addx3a8vi02cdak3ygrqivv02jj73251h85x49aic78yznrhlrr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+ (home-page "https://github.com/rodrimati1992/const_panic/")
+ (synopsis "Implementation detail of the @code{const_panic} crate")
+ (description
+ "@code{const_panic_proc_macros} are an implementation detail of
+the @code{const_panic} crate.")
+ (license license:zlib)))
+
(define-public rust-const-random-0.1
(package
(name "rust-const-random")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 136/228] gnu: Place rust-koibumi-base32-0.0.2 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2b4b237715475c4f20dd7db4015bcbadc218e493.1708288187.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-koibumi-base32-0.0.2): Move variable.

Change-Id: Ia407fa8b13c9335b5ed5fc6e7da6138b7e16dcc0
---
gnu/packages/crates-io.scm | 40 +++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 20 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8f15fdfba6..4410e821bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29394,26 +29394,6 @@ (define-public rust-jwalk-0.8
"Filesystem walk performed in parallel with streamed and sorted results.")
(license license:expat)))
-(define-public rust-koibumi-base32-0.0.2
- (package
- (name "rust-koibumi-base32")
- (version "0.0.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "koibumi-base32" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1frb232m6rw50ly8ijhsbllcqfif5kcma1l6hrgm5g22c3c3il94"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-lazy-static" ,rust-lazy-static-1))))
- (home-page "https://kashiko.gitlab.io/koibumi-rust/")
- (synopsis "Base32 encoder/decoder library")
- (description "This package provides a Base32 encoder/decoder library.")
- (license license:gpl3+)))
-
(define-public rust-human-format-1
(package
(name "rust-human-format")
@@ -33046,6 +33026,26 @@ (define-public rust-khronos-api-3
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(define-public rust-koibumi-base32-0.0.2
+ (package
+ (name "rust-koibumi-base32")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "koibumi-base32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1frb232m6rw50ly8ijhsbllcqfif5kcma1l6hrgm5g22c3c3il94"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1))))
+ (home-page "https://kashiko.gitlab.io/koibumi-rust/")
+ (synopsis "Base32 encoder/decoder library")
+ (description "This package provides a Base32 encoder/decoder library.")
+ (license license:gpl3+)))
+
(define-public rust-konst-0.3
(package
(name "rust-konst")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 139/228] gnu: Add rust-ruma-identifiers-validation-0.9.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
ba529863f2242ade7e524ebeb19b0050db2b050c.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-identifiers-validation-0.9): Add
variable.

Change-Id: I3c6d7a8c0ed156c7226368d88e499e066844fb8a
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30eb556d20..2e8e5373d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57855,6 +57855,27 @@ (define-public rust-rug-1
floating-point, and complex numbers based on GMP, MPFR and MPC.")
(license license:lgpl3+)))
+(define-public rust-ruma-identifiers-validation-0.9
+ (package
+ (name "rust-ruma-identifiers-validation")
+ (version "0.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-identifiers-validation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hcviq2jzc1qcdxqh78wklb273sabv6d26wh41ygbwklj8jx32mz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-js-int" ,rust-js-int-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://www.ruma.io/")
+ (synopsis "Validation logic for ruma-common and ruma-macros")
+ (description "This package provides validation logic for ruma-common
+and ruma-macros.")
+ (license license:expat)))
+
(define-public rust-run-script-0.10
(package
(name "rust-run-script")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 141/228] gnu: Place rust-wl-clipboard-rs-0.4 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
ce235c4501526d64d82a94d89397097e6a699552.1708288187.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-wl-clipboard-rs-0.4): Move variable.

Change-Id: I16ff7bb2dba5f975aa4945be6e9e870dffbc0b45
---
gnu/packages/crates-io.scm | 66 +++++++++++++++++++-------------------
1 file changed, 33 insertions(+), 33 deletions(-)

Toggle diff (86 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53b7c3b5c3..64a0356d4e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79657,39 +79657,6 @@ (define-public rust-wl-clipboard-rs-0.7
for terminal and other window-less applications.")
(license (list license:expat license:asl2.0))))
-(define-public rust-wl-clipboard-rs-0.4
- (package
- (inherit rust-wl-clipboard-rs-0.7)
- (name "rust-wl-clipboard-rs")
- (version "0.4.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wl-clipboard-rs" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (patches (search-patches "rust-wl-clipboard-rs-newer-wl.patch"))
- (sha256
- (base32 "1252cm67pkrr6ik5ys2cdyfr2zzw6ds7v351i1cmyi94yiv01l13"))))
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-derive-new" ,rust-derive-new-0.5)
- ("rust-derive-more" ,rust-derive-more-0.99)
- ("rust-exitfailure" ,rust-exitfailure-0.5)
- ("rust-failure" ,rust-failure-0.1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-log" ,rust-log-0.4)
- ("rust-mime-guess" ,rust-mime-guess-2)
- ("rust-nix" ,rust-nix-0.18)
- ("rust-os-pipe" ,rust-os-pipe-0.9)
- ("rust-stderrlog" ,rust-stderrlog-0.4)
- ("rust-structopt" ,rust-structopt-0.3)
- ("rust-tempfile" ,rust-tempfile-3)
- ("rust-tree-magic" ,rust-tree-magic-0.2)
- ("rust-wayland-client" ,rust-wayland-client-0.28)
- ("rust-wayland-commons" ,rust-wayland-commons-0.28)
- ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))))
-
(define-public rust-web-sys-0.3
(package
(name "rust-web-sys")
@@ -80192,6 +80159,39 @@ (define-public rust-winnow-0.4
("rust-memchr" ,rust-memchr-2)
("rust-terminal-size" ,rust-terminal-size-0.2))))))
+(define-public rust-wl-clipboard-rs-0.4
+ (package
+ (inherit rust-wl-clipboard-rs-0.7)
+ (name "rust-wl-clipboard-rs")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wl-clipboard-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (patches (search-patches "rust-wl-clipboard-rs-newer-wl.patch"))
+ (sha256
+ (base32 "1252cm67pkrr6ik5ys2cdyfr2zzw6ds7v351i1cmyi94yiv01l13"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-derive-new" ,rust-derive-new-0.5)
+ ("rust-derive-more" ,rust-derive-more-0.99)
+ ("rust-exitfailure" ,rust-exitfailure-0.5)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-nix" ,rust-nix-0.18)
+ ("rust-os-pipe" ,rust-os-pipe-0.9)
+ ("rust-stderrlog" ,rust-stderrlog-0.4)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tree-magic" ,rust-tree-magic-0.2)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.28)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))))
+
(define-public rust-wycheproof-0.5
(package
(name "rust-wycheproof")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 143/228] gnu: Add rust-wildmatch-2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
32d0f1f37266f7333b5d1ca8cbbc22f8def6d395.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-wildmatch-2): Add variable.

Change-Id: I4928336d9fd07a66bd1921d3b5c64d49ee9bc7c1
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2df80ea510..8ad5462042 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80080,6 +80080,31 @@ (define-public rust-wild-2
command-line, uniformly on all platforms")
(license (list license:asl2.0 license:expat))))
+(define-public rust-wildmatch-2
+ (package
+ (name "rust-wildmatch")
+ (version "2.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wildmatch" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1szw6lfswk6ldr9d1bj3pin5bj32jckg0907yh2m0d61ydxw8pj9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-ntest" ,rust-ntest-0.7)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/becheran/wildmatch")
+ (synopsis "String matching with multi-character wildcard operator.")
+ (description
+ "This package provides simple string matching with single- and
+multi-character wildcard operator.")
+ (license license:expat)))
+
(define-public rust-winnow-0.5
(package
(name "rust-winnow")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 145/228] gnu: Add rust-ruma-common-0.12.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
8aea1eb15bc9d67cda45a8a35b76264f43f75f40.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-common-0.12): Add variable.

Change-Id: Ief38acbd3444b6b8ef3bbcfdefa22d95f16e387e
---
gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b4c43a08e9..ad672f1955 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57874,6 +57874,55 @@ (define-public rust-rug-1
floating-point, and complex numbers based on GMP, MPFR and MPC.")
(license license:lgpl3+)))
+(define-public rust-ruma-common-0.12
+ (package
+ (name "rust-ruma-common")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-common" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "119y69i4mh8f0gcr5acswaq56hf0y3g1pizarv6v8iqfqlrlrjiv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-as-variant" ,rust-as-variant-1)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-form-urlencoded" ,rust-form-urlencoded-1)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-js-int" ,rust-js-int-0.2)
+ ("rust-konst" ,rust-konst-0.3)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-ruma-identifiers-validation"
+ ,rust-ruma-identifiers-validation-0.9)
+ ("rust-ruma-macros" ,rust-ruma-macros-0.12)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-html-form" ,rust-serde-html-form-0.2)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-wildmatch" ,rust-wildmatch-2))
+ #:cargo-development-inputs
+ (("rust-assert-matches2" ,rust-assert-matches2-0.1)
+ ("rust-assign" ,rust-assign-1)
+ ("rust-maplit" ,rust-maplit-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://ruma.io/")
+ (synopsis "Common types for other ruma crates")
+ (description "This package provides common types for other ruma
+crates.")
+ (license license:expat)))
+
(define-public rust-ruma-identifiers-validation-0.9
(package
(name "rust-ruma-identifiers-validation")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 147/228] gnu: Add rust-ruma-html-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
1b486ac14d0d4d7b059b482ecd80bfa79334a611.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-html-0.1): Add variable.

Change-Id: Ic98ee6e1ef526059c5f12fc674c990c7eb6de241
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad672f1955..83a3d12d01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57923,6 +57923,30 @@ (define-public rust-ruma-common-0.12
crates.")
(license license:expat)))
+(define-public rust-ruma-html-0.1
+ (package
+ (name "rust-ruma-html")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-html" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nrsm1rp1psk97kvn2cjpn52a0g2kv42i9ab2zi5z5m6n54s2x4n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-as-variant" ,rust-as-variant-1)
+ ("rust-html5ever" ,rust-html5ever-0.26)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-wildmatch" ,rust-wildmatch-2))))
+ (home-page "https://www.ruma.io/")
+ (synopsis "Opinionated HTML parsing and manipulating")
+ (description
+ "This package provides opinionated HTML parsing and manipulating.")
+ (license license:expat)))
+
(define-public rust-ruma-identifiers-validation-0.9
(package
(name "rust-ruma-identifiers-validation")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 148/228] gnu: Add rust-ruma-events-0.27.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
e588d6ecbe4d19c43c4c298b791836774e2c56eb.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-events-0.27): Add variable.

Change-Id: I87a2b6ab0c6bcce05e6f60eabde90429a42d3fdb
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83a3d12d01..c7dededf6e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57923,6 +57923,52 @@ (define-public rust-ruma-common-0.12
crates.")
(license license:expat)))
+(define-public rust-ruma-events-0.27
+ (package
+ (name "rust-ruma-events")
+ (version "0.27.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-events" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wg3smmqxxwl03j5hkk707fdlxng7n5vl50wg85v77ss1rvm42nj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-as-variant" ,rust-as-variant-1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-js-int" ,rust-js-int-0.2)
+ ("rust-js-option" ,rust-js-option-0.1)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-ruma-common" ,rust-ruma-common-0.12)
+ ("rust-ruma-html" ,rust-ruma-html-0.1)
+ ("rust-ruma-identifiers-validation"
+ ,rust-ruma-identifiers-validation-0.9)
+ ("rust-ruma-macros" ,rust-ruma-macros-0.12)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2)
+ ("rust-wildmatch" ,rust-wildmatch-2))
+ #:cargo-development-inputs
+ (("rust-assert-matches2" ,rust-assert-matches2-0.1)
+ ("rust-assign" ,rust-assign-1)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-maplit" ,rust-maplit-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://ruma.io/")
+ (synopsis "Serializable types for events in the Matrix specification")
+ (description
+ "This package provides serializable types for the events in the
+Matrix specification.")
+ (license license:expat)))
+
(define-public rust-ruma-html-0.1
(package
(name "rust-ruma-html")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 150/228] gnu: Add rust-ruma-federation-api-0.8.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
b191758f235022f6d464159a15f386a7d79e585f.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-federation-api-0.8): Add variable.

Change-Id: I11e96182899b7220d3849aa7e9099133e7d3b450
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9884421dd2..106fba0214 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57997,6 +57997,33 @@ (define-public rust-ruma-events-0.27
Matrix specification.")
(license license:expat)))
+(define-public rust-ruma-federation-api-0.8
+ (package
+ (name "rust-ruma-federation-api")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-federation-api" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rrzvxzjdxwpxr6d5k5yi8cz7kisqwqa3wlasm97ccmw4wgir471"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-js-int" ,rust-js-int-0.2)
+ ("rust-ruma-common" ,rust-ruma-common-0.12)
+ ("rust-ruma-events" ,rust-ruma-events-0.27)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs
+ (("rust-assert-matches2" ,rust-assert-matches2-0.1)
+ ("rust-http" ,rust-http-0.2))))
+ (home-page "https://www.ruma.io/")
+ (synopsis "Types for Matrix server-server API endpoints")
+ (description "This package provides types for the endpoints in the
+Matrix server-server API.")
+ (license license:expat)))
+
(define-public rust-ruma-html-0.1
(package
(name "rust-ruma-html")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 152/228] gnu: Add rust-ruma-push-gateway-api-0.8.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
6b025df54c2ba8e85663a34ed8643ce42ff18765.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-push-gateway-api-0.8): Add variable.

Change-Id: I8f14bc984330d4cd614a45fb0794cdfc973f148a
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be76a608bd..e326377391 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58119,6 +58119,30 @@ (define-public rust-ruma-macros-0.12
"This package provides procedural macros used by the Ruma crates.")
(license license:expat)))
+(define-public rust-ruma-push-gateway-api-0.8
+ (package
+ (name "rust-ruma-push-gateway-api")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-push-gateway-api" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ss8fylz548ygqa7p91fwdp3whf7yc51c52h7gwl6naa9mf08hzk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-js-int" ,rust-js-int-0.2)
+ ("rust-ruma-common" ,rust-ruma-common-0.12)
+ ("rust-ruma-events" ,rust-ruma-events-0.27)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://www.ruma.io/")
+ (synopsis "Types for Matrix push gateway API endpoints")
+ (description "This package provides types for the endpoints in the
+Matrix push gateway API.")
+ (license license:expat)))
+
(define-public rust-run-script-0.10
(package
(name "rust-run-script")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 153/228] gnu: Add rust-yap-0.12.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
17b6fe22ef22eebe81ca3c3a8329f8e15f3022c9.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-yap-0.12): Add variable.

Change-Id: I5c9b80a43ce4860e9e21297a976987dc41c1cc08
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e326377391..a1b1e2cf8f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81141,6 +81141,31 @@ (define-public rust-yansi-term-0.1
"Library for ANSI terminal colours and styles (bold, underline).")
(license license:expat)))
+(define-public rust-yap-0.12
+ (package
+ (name "rust-yap")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "yap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07q53xz7wij2n4vnv71cpy1wsab52c78d5xx1kifi983p3knkqmz"))
+ (modules '((guix build utils)))
+ (snippet '(substitute* "Cargo.toml"
+ (("\"0.12.0\"") "\"0.13\"")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-logos" ,rust-logos-0.13))))
+ (home-page "https://github.com/jsdw/yap")
+ (synopsis "Utility methods to help with parsing strings and slices")
+ (description
+ "Yet Another Parser library. A lightweight, dependency free, parser
+combinator inspired set of utility methods to help with parsing strings
+and slices.")
+ (license license:expat)))
+
(define-public rust-yasna-0.5
(package
(name "rust-yasna")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 156/228] gnu: Move rust-fiat-crypto-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
f406be2d425580a8e53fb6e1fb26099763b3a7fb.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-fiat-crypto-0.1): Move from here...
* gnu/packages/crates-crypto.scm (rust-fiat-crypto-0.1): ...to here.

Change-Id: Ie8156d2318a66200c698c78dd2edd7ff92664bc6
---
gnu/packages/crates-crypto.scm | 18 ++++++++++++++++++
gnu/packages/crates-io.scm | 18 ------------------
2 files changed, 18 insertions(+), 18 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index a2b9aa6ae2..5c987ba690 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2243,6 +2243,24 @@ (define-public rust-elliptic-curve-0.12
("rust-sha2" ,rust-sha2-0.10)
("rust-sha3" ,rust-sha3-0.10))))))
+(define-public rust-fiat-crypto-0.1
+ (package
+ (name "rust-fiat-crypto")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fiat-crypto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/mit-plv/fiat-crypto")
+ (synopsis "Fiat-crypto generated Rust")
+ (description "This crate provides the extracted Rust code from the Coq
+@code{fiat-crypto} libraries.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ghash-0.5
(package
(name "rust-ghash")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b044e67a6..2313a8553a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23764,24 +23764,6 @@ (define-public rust-ff-derive-0.12
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
-(define-public rust-fiat-crypto-0.1
- (package
- (name "rust-fiat-crypto")
- (version "0.1.11")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "fiat-crypto" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/mit-plv/fiat-crypto")
- (synopsis "Fiat-crypto generated Rust")
- (description "This crate provides the extracted Rust code from the Coq
-@code{fiat-crypto} libraries.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-file-diff-1
(package
(name "rust-file-diff")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 117/228] gnu: Add rust-rust-ini-0.18.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2640bc94a859c9a7658721fbe32fe7f1180b8140.1708288186.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-rust-ini-0.18): Add variable.
(rust-rust-ini-0.17): Inherit from rust-rust-ini-0.18.

Change-Id: I35b078c5252709c816d8b2d54bb4db07d25b4f26
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)

Toggle diff (61 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a1845eeb52..49d7df80a0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58225,23 +58225,22 @@ (define-public rust-rust-hawktracer-sys-0.4
"This package provides a sys crate for the rust_hawktracer library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-rust-ini-0.17
+(define-public rust-rust-ini-0.18
(package
(name "rust-rust-ini")
- (version "0.17.0")
+ (version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rust-ini" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3"))))
+ (base32 "1px22l3m84v7f46pa3p4bsjykivw8ryq6af8kpkzdd16c11z5mgn"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-ordered-multimap" ,rust-ordered-multimap-0.3)
+ ("rust-ordered-multimap" ,rust-ordered-multimap-0.4)
("rust-unicase" ,rust-unicase-2))))
(home-page "https://github.com/zonyitoo/rust-ini")
(synopsis "INI configuration file parsing library in Rust")
@@ -58249,6 +58248,25 @@ (define-public rust-rust-ini-0.17
"This package is an INI configuration file parsing library in Rust.")
(license license:expat)))
+(define-public rust-rust-ini-0.17
+ (package
+ (inherit rust-rust-ini-0.18)
+ (name "rust-rust-ini")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-ini" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-ordered-multimap" ,rust-ordered-multimap-0.3)
+ ("rust-unicase" ,rust-unicase-2))))))
+
(define-public rust-rust-ini-0.13
(package
(inherit rust-rust-ini-0.17)
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 135/228] gnu: Add rust-konst-0.3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
33a6946b8654dcbde26f6438221f31110a6f21a7.1708288187.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-konst-0.3): Add variable.
(rust-konst-0.2): Move and inherit from rust-konst-0.3.

Change-Id: I74632d7cd34a03e28b6dfdc2a77f222338fea935
---
gnu/packages/crates-io.scm | 68 ++++++++++++++++++++++++--------------
1 file changed, 44 insertions(+), 24 deletions(-)

Toggle diff (88 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 706b48e8cc..8f15fdfba6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29414,30 +29414,6 @@ (define-public rust-koibumi-base32-0.0.2
(description "This package provides a Base32 encoder/decoder library.")
(license license:gpl3+)))
-(define-public rust-konst-0.2
- (package
- (name "rust-konst")
- (version "0.2.19")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "konst" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2)
- ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2)
- ("rust-trybuild" ,rust-trybuild-1))
- #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/rodrimati1992/konst/")
- (synopsis
- "Const equivalents of std functions, compile-time comparison, and parsing")
- (description
- "Const equivalents of std functions, compile-time comparison, and parsing.")
- (license license:zlib)))
-
(define-public rust-human-format-1
(package
(name "rust-human-format")
@@ -33070,6 +33046,50 @@ (define-public rust-khronos-api-3
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(define-public rust-konst-0.3
+ (package
+ (name "rust-konst")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c7xjlryaac1j6ib30lq2hyi8g2zrdl17xjwia6ly9yl9662lwcd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-const-panic" ,rust-const-panic-0.2)
+ ("rust-konst-kernel" ,rust-konst-kernel-0.3)
+ ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.3)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-typewit" ,rust-typewit-1))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/rodrimati1992/konst/")
+ (synopsis "Const std functions, compile-time comparison and parsing")
+ (description
+ "This package provides Const equivalents of std functions, compile-
+time comparison, and parsing.")
+ (license license:zlib)))
+
+(define-public rust-konst-0.2
+ (package
+ (inherit rust-konst-0.3)
+ (name "rust-konst")
+ (version "0.2.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk"))))
+ (arguments
+ `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2)
+ ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2)
+ ("rust-trybuild" ,rust-trybuild-1))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-konst-kernel-0.3
(package
(name "rust-konst-kernel")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 157/228] gnu: Add rust-fiat-crypto-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
0ddbe0981ab78e7a742ad210bbbf37e91eaeef1c.1708288188.git.herman@rimm.ee
* gnu/packages/crates-crypto.scm (rust-fiat-crypto-0.2): Add variable.
(rust-fiat-crypto-0.1): Inherit from rust-fiat-crypto-0.2.

Change-Id: I02442b6b5f95125a2e67b1012d2f9b913ef10923
---
gnu/packages/crates-crypto.scm | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 5c987ba690..2af59fb983 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2243,23 +2243,37 @@ (define-public rust-elliptic-curve-0.12
("rust-sha2" ,rust-sha2-0.10)
("rust-sha3" ,rust-sha3-0.10))))))
-(define-public rust-fiat-crypto-0.1
+(define-public rust-fiat-crypto-0.2
(package
(name "rust-fiat-crypto")
- (version "0.1.11")
+ (version "0.2.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "fiat-crypto" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))
+ (base32 "10hkkkjynhibvchznkxx81gwxqarn9i5sgz40d6xxb8xzhsz8xhn"))))
(build-system cargo-build-system)
(home-page "https://github.com/mit-plv/fiat-crypto")
(synopsis "Fiat-crypto generated Rust")
(description "This crate provides the extracted Rust code from the Coq
@code{fiat-crypto} libraries.")
- (license (list license:expat license:asl2.0))))
+ (license (list license:expat license:asl2.0 license:bsd-1))))
+
+(define-public rust-fiat-crypto-0.1
+ (package
+ (inherit rust-fiat-crypto-0.2)
+ (name "rust-fiat-crypto")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fiat-crypto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))))
(define-public rust-ghash-0.5
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 161/228] gnu: Add rust-strobe-rs-0.8.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
643ac14130743496212afeb29c9d07b048362149.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-strobe-rs-0.8): Add variable.

Change-Id: I65bd7623f16d6d676f990f6dd6eb14c1375dd7fa
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53a788fd0a..822829b95c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67101,6 +67101,38 @@ (define-public rust-strip-ansi-escapes-0.1
#:cargo-inputs
(("rust-vte" ,rust-vte-0.10))))))
+(define-public rust-strobe-rs-0.8
+ (package
+ (name "rust-strobe-rs")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strobe-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bdb9fqjpgck3fzmlsdsq5b14zhm1l66f0xp9x6gmk6c3j527fzs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-keccak" ,rust-keccak-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-big-array" ,rust-serde-big-array-0.4)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/rozbb/strobe-rs")
+ (synopsis "Rust implementation of the Strobe protocol framework")
+ (description
+ "This package provides an implementation of the Strobe protocol
+framework in pure Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-strong-xml-0.6
(package
(name "rust-strong-xml")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 162/228] gnu: Add rust-strobe-rs-0.5.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
69a6424bb2204fc4ae7bccd1c9a11e17e18bd5d4.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-strobe-rs-0.5): Add variable.

Change-Id: Ifc584e0393eb6abb81cf20fb6afeb0ca253e2ef7
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 822829b95c..31a01028fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67133,6 +67133,31 @@ (define-public rust-strobe-rs-0.8
framework in pure Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-strobe-rs-0.5
+ (package
+ (inherit rust-strobe-rs-0.8)
+ (name "rust-strobe-rs")
+ (version "0.5.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strobe-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10s7f7kr5zlza5f5r06wp0ylhyvp904hyw1kagz9r27af7hsx6qs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-tiny-keccak" ,rust-tiny-keccak-2))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/rozbb/strobe-rs")))
+
(define-public rust-strong-xml-0.6
(package
(name "rust-strong-xml")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 167/228] gnu: Add rust-macro-attr-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
9d2415cbe409c62a2c6a19af515d86ad2c720163.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-macro-attr-0.2): Add variable.

Change-Id: I4d012d4be818ac8e8576e8cce7270b65c0243e81
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c52ec0def..b1663d0872 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36855,6 +36855,29 @@ (define-public rust-macaddr-1
(description "This pakcage provides MAC address types.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-macro-attr-0.2
+ (package
+ (name "rust-macro-attr")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "macro-attr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0anc4valrldnn0gwaqlhlr4b5zh25g1lyy1x3fq65y1b1rpirr80"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
+ (home-page "https://github.com/DanielKeep/rust-custom-derive")
+ (synopsis "macro_attr! macro for custom attributes and derivations")
+ (description
+ "This package provides the `macro_attr!` macro that enables the use
+of custom, macro-based attributes and derivations. Supercedes the
+`custom_derive` crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-macrotest-1
(package
(name "rust-macrotest")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:08 +0100
[PATCH 165/228] gnu: Add rust-ed25519-2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
1ea582aa7eb3bd186c58dc1075abc8c03d19e37a.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ed25519-2): Add variable.
(rust-ed25519-1): Inherit from rust-ed25519-2.

Change-Id: I444a61ce5b2e8643d3a9949ce97a1d165a1c6c21
---
gnu/packages/crates-crypto.scm | 54 +++++++++++++++++++++++++---------
1 file changed, 40 insertions(+), 14 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 0c45722177..108553a5eb 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2102,8 +2102,47 @@ (define-public rust-ecies-ed25519-0.5
"ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ed25519-2
+ (package
+ (name "rust-ed25519")
+ (version "2.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ed25519" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lydzdf26zbn82g7xfczcac9d7mzm3qgx934ijjrd5hjpjx32m8i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-pkcs8" ,rust-pkcs8-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-signature" ,rust-signature-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-ed25519-dalek" ,rust-ed25519-dalek-2)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-ring-compat" ,rust-ring-compat-0.8))))
+ (home-page "https://github.com/RustCrypto/signatures/tree/master/ed25519")
+ (synopsis "Edwards Digital Signature Algorithm over Curve25519")
+ (description
+ "EdDSA over Curve25519 is specified in RFC 8032. This package
+contains an ed25519::Signature type which other packages can use in
+conjunction with the signature::Signer and signature::Verifier traits.
+It doesn't contain an implementation of Ed25519.
+
+These traits allow packages which produce and consume Ed25519 signatures
+to be written abstractly in such a way that different signer/verifier
+providers can be plugged in, enabling support for using different Ed25519
+implementations, including HSMs or Cloud KMS services.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-ed25519-1
(package
+ (inherit rust-ed25519-2)
(name "rust-ed25519")
(version "1.5.3")
(source (origin
@@ -2125,20 +2164,7 @@ (define-public rust-ed25519-1
(("rust-bincode" ,rust-bincode-1)
("rust-ed25519-dalek" ,rust-ed25519-dalek-1)
("rust-hex-literal" ,rust-hex-literal-0.3)
- ("rust-rand-core" ,rust-rand-core-0.5))))
- (home-page "https://github.com/RustCrypto/signatures/tree/master/ed25519")
- (synopsis "Edwards Digital Signature Algorithm (EdDSA) over Curve25519")
- (description
- "EdDSA over Curve25519 is specified in RFC 8032. This package contains
-an ed25519::Signature type which other packages can use in conjunction with
-the signature::Signer and signature::Verifier traits It doesn't contain an
-implementation of Ed25519.
-
-These traits allow packages which produce and consume Ed25519 signatures to be
-written abstractly in such a way that different signer/verifier providers can
-be plugged in, enabling support for using different Ed25519 implementations,
-including HSMs or Cloud KMS services.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-rand-core" ,rust-rand-core-0.5))))))
(define-public rust-ed25519-compact-2
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 170/228] gnu: Add rust-ruma-client-api-0.17.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2d5b82d3a87e92fb23c01005d6c26795d3c2f969.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-client-api-0.17): Add variable.

Change-Id: I9c9029de0084f2adbf2990e37dbfdcf1c1824be1
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 689b0b57cd..4b84703eef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57953,6 +57953,39 @@ (define-public rust-ruma-appservice-api-0.9
application service API.")
(license license:expat)))
+(define-public rust-ruma-client-api-0.17
+ (package
+ (name "rust-ruma-client-api")
+ (version "0.17.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-client-api" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11ik20rnm1c1a3cdbqg8dayd7xgh9sai8xa74c4af552iwjkf634"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-assign" ,rust-assign-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-js-int" ,rust-js-int-0.2)
+ ("rust-js-option" ,rust-js-option-0.1)
+ ("rust-maplit" ,rust-maplit-1)
+ ("rust-ruma-common" ,rust-ruma-common-0.12)
+ ("rust-ruma-events" ,rust-ruma-events-0.27)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-html-form" ,rust-serde-html-form-0.2)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs
+ (("rust-assert-matches2" ,rust-assert-matches2-0.1))))
+ (home-page "https://ruma.io/")
+ (synopsis "Types for Matrix client-server API endpoints.")
+ (description
+ "This package provides types for the endpoints in the Matrix
+client-server API.")
+ (license license:expat)))
+
(define-public rust-ruma-common-0.12
(package
(name "rust-ruma-common")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 175/228] gnu: Add rust-matrix-sdk-common-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
bfd71807a6f1943199d5bc3f4f50bac00862cd1e.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-matrix-sdk-common-0.7): Add variable.

Change-Id: Ifda41c068b8a6539f4ce14424a8c28e65608eaab
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa95ad17ec..9f565198fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37550,6 +37550,48 @@ (define-public rust-matchers-0.0
`(#:cargo-inputs
(("rust-regex-automata" ,rust-regex-automata-0.1))))))
+(define-public rust-matrix-sdk-common-0.7
+ (package
+ (name "rust-matrix-sdk-common")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matrix-sdk-common" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17wwy8fzgw58ph26sv3h0v5sq69ga9jjbzic8aicdxmnd9i5ldmv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gloo-timers" ,rust-gloo-timers-0.3)
+ ("rust-instant" ,rust-instant-0.1)
+ ("rust-ruma" ,rust-ruma-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+ (synopsis "Common types and imports used in @code{matrix-sdk}")
+ (description
+ "This package provides a collection of common types and imports
+used in the @code{matrix-sdk} crates.")
+ (license license:asl2.0)))
+
(define-public rust-matrix-sdk-test-0.7
(package
(name "rust-matrix-sdk-test")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 179/228] gnu: Add rust-pkcs7-0.4.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
4b64a1bec85d6849b0db4530a2daf5b8f74d0e63.1708288188.git.herman@rimm.ee
* gnu/packages/crates-crypto.scm (rust-pkcs7-0.4): Add variable.

Change-Id: I35ff754d24ac50a25fa94149bdf50291ff3a46f5
---
gnu/packages/crates-crypto.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index cfda18a0de..827d1b6561 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3475,6 +3475,34 @@ (define-public rust-pkcs5-0.3
("rust-sha2" ,rust-sha2-0.9)
("rust-spki" ,rust-spki-0.4))))))
+(define-public rust-pkcs7-0.4
+ (package
+ (name "rust-pkcs7")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pkcs7" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rvp9gm7vzcbbzz6vr6xz6ri2szgxm35j0zk5dhf01b40sz7i4fp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-der" ,rust-der-0.7)
+ ("rust-spki" ,rust-spki-0.7)
+ ("rust-x509-cert" ,rust-x509-cert-0.2))
+ #:cargo-development-inputs
+ (("rust-der" ,rust-der-0.7)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-x509-cert" ,rust-x509-cert-0.2))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs7")
+ (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #7")
+ (description
+ "This package is a pure Rust implementation of Public-Key
+Cryptography Standards (PKCS) #7: Cryptographic Message Syntax
+Specification (RFC 5652).")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-pkcs8-0.10
(package
(name "rust-pkcs8")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 183/228] gnu: Add rust-olm-rs-2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
072c7b6ab2c7205cf17869bbb38656dc15f22551.1708288189.git.herman@rimm.ee
* gnu/packages/crates-crypto.scm (rust-olm-rs-2): Add variable.

Change-Id: I83a5dac6c15aebbca58d8010bd87ebf4e6de2e02
---
gnu/packages/crates-crypto.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 8875fa230f..1c62c49448 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3045,6 +3045,31 @@ (define-public rust-nettle-sys-2
(license ;; licensed under either of these, at your option
(list license:lgpl3 license:gpl2 license:gpl3))))
+(define-public rust-olm-rs-2
+ (package
+ (name "rust-olm-rs")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "olm-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09f7mq2dahyhy7w0xbb8750skzh7wmzpnvbmnkby830iaiq2qv6x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-olm-sys" ,rust-olm-sys-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-base64" ,rust-base64-0.11)
+ ("rust-json" ,rust-json-0.12))))
+ (home-page "https://gitlab.gnome.org/jhaye/olm-rs")
+ (synopsis "A Rust wrapper for libolm.")
+ (description "This package provides a Rust wrapper for libolm.")
+ (license license:asl2.0)))
+
(define-public rust-olm-sys-1
(package
(name "rust-olm-sys")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 172/228] gnu: Add rust-ruma-state-res-0.10.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2ea1bce4ddebab132953038904b7fe62b8b2fa5a.1708288188.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ruma-state-res-0.10): Add variable.

Change-Id: Id0b1b2f855746500fe24c4cf4c543370baea05e0
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d49c9695de..855871dd74 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58324,6 +58324,39 @@ (define-public rust-ruma-signatures-0.14
specification.")
(license license:expat)))
+(define-public rust-ruma-state-res-0.10
+ (package
+ (name "rust-ruma-state-res")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruma-state-res" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hhfd4ca73bpnrfyr02k675cdc82x2yw0fah8w1s7jsm0wrb2v3q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-js-int" ,rust-js-int-0.2)
+ ("rust-ruma-common" ,rust-ruma-common-0.12)
+ ("rust-ruma-events" ,rust-ruma-events-0.27)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tracing" ,rust-tracing-0.1))
+ #:cargo-development-inputs
+ (("rust-maplit" ,rust-maplit-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-ruma-events" ,rust-ruma-events-0.27)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+ (home-page "https://www.ruma.io/")
+ (synopsis "Abstraction for Matrix state resolution")
+ (description "This package provides an abstraction for Matrix state
+resolution.")
+ (license license:expat)))
+
(define-public rust-run-script-0.10
(package
(name "rust-run-script")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 187/228] gnu: Add rust-web-time-1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2c5f4d54d4abb79fce6b8fce1acc81a582dd7bdc.1708288189.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-web-time-1): Add variable.
(rust-web-time-0.2): Inherit from rust-web-time-1.

Change-Id: I8e3d9270bb06baa051bb9eff8a7a507c5ac4a9ad
---
gnu/packages/crates-io.scm | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dcb87e0b0b..a1e357eef2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80397,20 +80397,20 @@ (define-public rust-web-sys-0.3
"Bindings for all Web APIs, a procedurally generated crate from WebIDL.")
(license (list license:expat license:asl2.0))))
-(define-public rust-web-time-0.2
+(define-public rust-web-time-1
(package
(name "rust-web-time")
- (version "0.2.4")
+ (version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "web-time" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a"))))
+ (base32 "1c7pkivwgxdkpc2j4ga9pmf9zcqgfp68kijb5ixgg6y25kbnkqif"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
+ `(#:tests? #f ; TODO: check if not all files included.
#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
@@ -80425,9 +80425,23 @@ (define-public rust-web-time-0.2
(home-page "https://github.com/daxpedda/web-time")
(synopsis "Drop-in replacement for std::time for Wasm in browsers")
(description
- "Drop-in replacement for @code{std::time} for Wasm in browsers.")
+ "This package provides a drop-in replacement for @code{std::time}
+for Wasm in browsers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-web-time-0.2
+ (package
+ (inherit rust-web-time-1)
+ (name "rust-web-time")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "web-time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a"))))))
+
(define-public rust-webbrowser-0.8
(package
(name "rust-webbrowser")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:09 +0100
[PATCH 188/228] gnu: Add rust-ulid-1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
7fc359258ebc30bf7c6521868195887a228f82e3.1708288189.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-ulid-1): Add variable.

Change-Id: I3ea56ce6ca88acdad4f6c9a8c54685042a721e2d
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a1e357eef2..52add0344c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77517,6 +77517,37 @@ (define-public rust-uint-0.9
arithmetic.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ulid-1
+ (package
+ (name "rust-ulid")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ulid" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n8jj9gpkli0pxaqnxiivvsn6jlvvcs1yzmm2f4s18jsjqbqqxrl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-postgres-types" ,rust-postgres-types-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-web-time" ,rust-web-time-1))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/dylanhart/ulid-rs")
+ (synopsis "Universally Unique Lexicographically Sortable Identifier")
+ (description
+ "This package provides a Universally Unique Lexicographically
+Sortable Identifier implementation.")
+ (license license:expat)))
+
(define-public rust-uluru-3
(package
(name "rust-uluru")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 201/228] gnu: Place rust-serdeconv-0.4 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
5a3774cea0ddea5169a9fef315057f6357e9bf2b.1708288189.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-serdeconv-0.4): Move variable.

Change-Id: I47a14ce49b8bbc2b18aaf20bda4483eff7fc135f
---
gnu/packages/crates-io.scm | 60 +++++++++++++++++++-------------------
1 file changed, 30 insertions(+), 30 deletions(-)

Toggle diff (80 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b56cd52fde..a01c0ded15 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62886,36 +62886,6 @@ (define-public rust-serde-hjson-0.9
framework.")
(license license:expat)))
-(define-public rust-serdeconv-0.4
- (package
- (name "rust-serdeconv")
- (version "0.4.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "serdeconv" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0cal6qkzps92g7csycqij4ik1df3ccxn5sxnjvfvm473phnwbvbi"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-rmp-serde" ,rust-rmp-serde-0.15)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-toml" ,rust-toml-0.5)
- ("rust-trackable" ,rust-trackable-1))
- #:cargo-development-inputs
- (("rust-serde-derive" ,rust-serde-derive-1))))
- (home-page "https://github.com/sile/serdeconv")
- (synopsis
- "Convert between TOML/JSON/MessagePack strings and serializable values")
- (description
- "This crate provides traits and functions for converting between
-TOML/JSON/MessagePack strings and serializable values.")
- (license license:expat)))
-
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
@@ -63732,6 +63702,36 @@ (define-public rust-serde-wasm-bindgen-0.3
(description "Native Serde adapter for wasm-bindgen.")
(license license:expat)))
+(define-public rust-serdeconv-0.4
+ (package
+ (name "rust-serdeconv")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serdeconv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cal6qkzps92g7csycqij4ik1df3ccxn5sxnjvfvm473phnwbvbi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rmp-serde" ,rust-rmp-serde-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-trackable" ,rust-trackable-1))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-1))))
+ (home-page "https://github.com/sile/serdeconv")
+ (synopsis
+ "Convert between TOML/JSON/MessagePack strings and serializable values")
+ (description
+ "This crate provides traits and functions for converting between
+TOML/JSON/MessagePack strings and serializable values.")
+ (license license:expat)))
+
(define-public rust-serial-test-2
(package
(name "rust-serial-test")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 202/228] gnu: Place rust-serde-wasm-bindgen-0.3 in alphabetical order.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
8d0a958368f56e0c93284ce29b8a6cdac8e3b6d7.1708288189.git.herman@rimm.ee
gnu/packages/crates-io.scm (rust-serde-wasm-bindgen-0.3): Move variable.

Change-Id: Ib5534b3b18f7e9cdee8882c67b40959f68e91969
---
gnu/packages/crates-io.scm | 58 +++++++++++++++++++-------------------
1 file changed, 29 insertions(+), 29 deletions(-)

Toggle diff (78 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a01c0ded15..732c3851ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63445,6 +63445,35 @@ (define-public rust-serde-value-0.7
for later processing.")
(license license:expat)))
+(define-public rust-serde-wasm-bindgen-0.3
+ (package
+ (name "rust-serde-wasm-bindgen")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-wasm-bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xzh1a3rhapirlca4rbvh6bycphxg5yjmdwjsqij3hl6wpl6b0v1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-fnv" ,rust-fnv-1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
+ #:cargo-development-inputs
+ (("rust-maplit" ,rust-maplit-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/cloudflare/serde-wasm-bindgen")
+ (synopsis "Native Serde adapter for wasm-bindgen")
+ (description "Native Serde adapter for wasm-bindgen.")
+ (license license:expat)))
+
(define-public rust-serde-with-3
(package
(name "rust-serde-with")
@@ -63673,35 +63702,6 @@ (define-public rust-serde-yaml-0.8
("rust-indoc" ,rust-indoc-1)
("rust-serde-derive" ,rust-serde-derive-1))))))
-(define-public rust-serde-wasm-bindgen-0.3
- (package
- (name "rust-serde-wasm-bindgen")
- (version "0.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "serde-wasm-bindgen" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1xzh1a3rhapirlca4rbvh6bycphxg5yjmdwjsqij3hl6wpl6b0v1"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-fnv" ,rust-fnv-1)
- ("rust-js-sys" ,rust-js-sys-0.3)
- ("rust-serde" ,rust-serde-1)
- ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
- #:cargo-development-inputs
- (("rust-maplit" ,rust-maplit-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-bytes" ,rust-serde-bytes-0.11)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
- (home-page "https://github.com/cloudflare/serde-wasm-bindgen")
- (synopsis "Native Serde adapter for wasm-bindgen")
- (description "Native Serde adapter for wasm-bindgen.")
- (license license:expat)))
-
(define-public rust-serdeconv-0.4
(package
(name "rust-serdeconv")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 203/228] gnu: Add rust-serde-wasm-bindgen-0.6.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
2d8694b436c04034879b2ee3cdac764bd1dfc7b9.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-serde-wasm-bindgen-0.6): Add
variable.
(rust-serde-wasm-bindgen-0.3): Inherit from rust-serde-wasm-bindgen-0.6.

Change-Id: I7bbc4fbd84fa0d15bcee8f37f7e9675f00ae8713
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 732c3851ac..dc0c2b6df7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63445,8 +63445,39 @@ (define-public rust-serde-value-0.7
for later processing.")
(license license:expat)))
+(define-public rust-serde-wasm-bindgen-0.6
+ (package
+ (name "rust-serde-wasm-bindgen")
+ (version "0.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-wasm-bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cpik86f5vsyms0jhm553p7w55f2lnyvnnv6ja6izbhk0pvi7dxr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-maplit" ,rust-maplit-1)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/RReverser/serde-wasm-bindgen")
+ (synopsis "Native Serde adapter for wasm-bindgen")
+ (description
+ "This package provides a native Serde adapter for wasm-bindgen.")
+ (license license:expat)))
+
(define-public rust-serde-wasm-bindgen-0.3
(package
+ (inherit rust-serde-wasm-bindgen-0.6)
(name "rust-serde-wasm-bindgen")
(version "0.3.1")
(source
@@ -63456,7 +63487,6 @@ (define-public rust-serde-wasm-bindgen-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xzh1a3rhapirlca4rbvh6bycphxg5yjmdwjsqij3hl6wpl6b0v1"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-fnv" ,rust-fnv-1)
@@ -63468,11 +63498,7 @@ (define-public rust-serde-wasm-bindgen-0.3
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
- (home-page "https://github.com/cloudflare/serde-wasm-bindgen")
- (synopsis "Native Serde adapter for wasm-bindgen")
- (description "Native Serde adapter for wasm-bindgen.")
- (license license:expat)))
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
(define-public rust-serde-with-3
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 204/228] gnu: Add rust-matrix-sdk-indexeddb-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
bb486888d2ee6758fcc14a95a25174559a8b6734.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-matrix-sdk-indexeddb-0.7): Add
variable.

Change-Id: Ie483d7d70bbeb78bfbc40899e1c586c9415fa2fe
---
gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc0c2b6df7..21cdb049f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37980,6 +37980,55 @@ (define-public rust-matrix-sdk-crypto-0.7
(description "This package provides a matrix encryption library.")
(license license:asl2.0)))
+(define-public rust-matrix-sdk-indexeddb-0.7
+ (package
+ (name "rust-matrix-sdk-indexeddb")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matrix-sdk-indexeddb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12x5si7148a7a3rgbfjimghz81m6gym54pa0izrjzvflql2q0f5d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-gloo-utils" ,rust-gloo-utils-0.2)
+ ("rust-indexed-db-futures" ,rust-indexed-db-futures-0.4)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+ ("rust-matrix-sdk-crypto" ,rust-matrix-sdk-crypto-0.7)
+ ("rust-matrix-sdk-store-encryption"
+ ,rust-matrix-sdk-store-encryption-0.7)
+ ("rust-ruma" ,rust-ruma-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-wasm-bindgen" ,rust-serde-wasm-bindgen-0.6)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-assert-matches2" ,rust-assert-matches2-0.1)
+ ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+ ("rust-matrix-sdk-common" ,rust-matrix-sdk-common-0.7)
+ ("rust-matrix-sdk-crypto" ,rust-matrix-sdk-crypto-0.7)
+ ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+ (synopsis "Web's IndexedDB Storage backend for matrix-sdk")
+ (description "Web's @code{IndexedDB} Storage backend for matrix-sdk")
+ (license license:asl2.0)))
+
(define-public rust-matrix-sdk-qrcode-0.7
(package
(name "rust-matrix-sdk-qrcode")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 205/228] gnu: Add rust-deadpool-sync-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
501c1f7d30dafb80e37ed4dbccb927a276200aa4.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-deadpool-sync-0.1): Add variable.

Change-Id: I6faa6f867eb0b05e7748a7db6fc9d68180121c3f
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21cdb049f0..a0fbcf7028 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18086,6 +18086,27 @@ (define-public rust-deadpool-runtime-0.1
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.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool-sync" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02habnbf9gna5yg5parpfbgz1342mzyxmd5lcz7f9jhk9i4p1nzq"))))
+ (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 utitities for sync managers")
+ (description "This package provides dead simple async pool utitities
+for sync managers.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-debug-helper-0.3
(package
(name "rust-debug-helper")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 206/228] gnu: Add rust-fallible-iterator-0.3.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
5acff5e6a67f356fa653f30eae395185e020d1e9.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-fallible-iterator-0.3): Add variable.
(rust-fallible-iterator-0.2): Inherit from rust-fallible-iterator-0.3.

Change-Id: I305faf2dcb65e2af665f778c1a429126a4e4bcf8
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0fbcf7028..a3766215a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23124,8 +23124,29 @@ (define-public rust-failure-derive-0.1
(description "Derives for the failure crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-fallible-iterator-0.3
+ (package
+ (name "rust-fallible-iterator")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fallible-iterator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ja6l56yka5vn4y4pk6hn88z0bpny7a8k1919aqjzp0j1yhy9k1a"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/sfackler/rust-fallible-iterator")
+ (synopsis "Fallible iterator traits")
+ (description "If the @code{std} or @code{alloc} features are enabled, this
+crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
+@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
+provides implementations for @code{HashMap} and @code{HashSet}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fallible-iterator-0.2
(package
+ (inherit rust-fallible-iterator-0.3)
(name "rust-fallible-iterator")
(version "0.2.0")
(source
@@ -23135,16 +23156,7 @@ (define-public rust-fallible-iterator-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/sfackler/rust-fallible-iterator")
- (synopsis "Fallible iterator traits")
- (description "If the @code{std} or @code{alloc} features are enabled, this
-crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
-@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
-provides implementations for @code{HashMap} and @code{HashSet}.")
- (license (list license:asl2.0
- license:expat))))
+ "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))))
(define-public rust-fallible-streaming-iterator-0.1
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 208/228] gnu: Add rust-rusqlite-macros-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
659423d38f3dc4f3bd32e63bae00c90295fec4ec.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-rusqlite-macros-0.1): Add variable.

Change-Id: I4d1af84aafa7e818aaf315e9731b4d1b5a0a63a1
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3252a49fd4..87a5ea1f99 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59251,6 +59251,28 @@ (define-public rust-rusqlite-0.26
("rust-url" ,rust-url-2)
("rust-uuid" ,rust-uuid-0.8))))))
+(define-public rust-rusqlite-macros-0.1
+ (package
+ (name "rust-rusqlite-macros")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusqlite-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bbgnp7pgk358js63666ix6a9p4fr4lgigaaf4av3aj45qksi4ix"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+ ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12))))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Private implementation detail of rusqlite crate")
+ (description
+ "This package provides a private implementation detail of the
+rusqlite crate.")
+ (license license:expat)))
+
(define-public rust-rust-htslib-0.38
(package
(name "rust-rust-htslib")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 207/228] gnu: Add rust-sqlite3-parser-0.12.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
0e1bd1c40c83ea49848e73f7a890b552cb98479d.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-sqlite3-parser-0.12): Add variable.

Change-Id: If2ce99a11a402db86ffbcbe9127e8644cb903944
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3766215a1..3252a49fd4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66997,6 +66997,39 @@ (define-public rust-sqlite-0.26
(("rust-libc" ,rust-libc-0.2)
("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13))))))
+(define-public rust-sqlite3-parser-0.12
+ (package
+ (name "rust-sqlite3-parser")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite3-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dx8j16ki2fsrwn1p36wnf079pvcs17549rin29x99vhkcpjbpcs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-phf-codegen" ,rust-phf-codegen-0.11)
+ ("rust-phf-shared" ,rust-phf-shared-0.11)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ;; TODO: do not add normal+build dependency twice.
+ ("rust-uncased" ,rust-uncased-0.9))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.10))))
+ (home-page "https://github.com/gwenn/lemon-rs")
+ (synopsis "Parser for SQL as understood by SQLite")
+ (description
+ "This package provides a parser for as understood by SQLite.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-sqlite3-src-0.5
(package
(name "rust-sqlite3-src")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 210/228] gnu: Add rust-deadpool-0.10.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
b5ea33f18b8686c1c90cf5d284ae742d068de899.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-deadpool-0.10): Add variable.
(rust-deadpool-0.9): Inherit from rust-deadpool-0.10.

Change-Id: I8e042045710aa8fdf87073810738dd4021824789
---
gnu/packages/crates-io.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82c35ffa3b..8535fc72de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18012,22 +18012,23 @@ (define-public rust-dbus-tree-0.9
"This crate is a framework for writing D-Bus method handlers (legacy).")
(license (list license:asl2.0 license:expat))))
-(define-public rust-deadpool-0.9
+(define-public rust-deadpool-0.10
(package
(name "rust-deadpool")
- (version "0.9.5")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "deadpool" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2"))))
+ (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)
+ ;; Needed by rust-deadpool-0.9.
("rust-retain-mut" ,rust-retain-mut-0.1)
("rust-serde" ,rust-serde-1)
("rust-tokio" ,rust-tokio-1))
@@ -18043,6 +18044,19 @@ (define-public rust-deadpool-0.9
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"))))))
+
(define-public rust-deadpool-0.7
(package
(inherit rust-deadpool-0.9)
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 209/228] gnu: Add rust-rusqlite-0.30.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
21e38c3434bd614fc1cc6f23ecbf4b988b5697e3.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-rusqlite-0.30): Add variable.
(rust-rusqlite-0.29): Inherit from rust-rusqlite-0.30.

Change-Id: Iacc5a42c8b6cd2ec21d929eb48489bddd85d192f
---
gnu/packages/crates-io.scm | 53 ++++++++++++++++++++++++++++++++------
1 file changed, 45 insertions(+), 8 deletions(-)

Toggle diff (88 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 87a5ea1f99..82c35ffa3b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59179,8 +59179,50 @@ (define-public rust-runtime-tokio-0.3
(description "This package provides a Tokio-based asynchronous runtime.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rusqlite-0.30
+ (package
+ (name "rust-rusqlite")
+ (version "0.30.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+ ("rust-fallible-streaming-iterator"
+ ,rust-fallible-streaming-iterator-0.1)
+ ("rust-hashlink" ,rust-hashlink-0.8)
+ ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27)
+ ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-1))
+ #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-unicase" ,rust-unicase-2)
+ ("rust-uuid" ,rust-uuid-1))))
+ (inputs (list sqlite))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Wrapper for SQLite")
+ (description "This crate provides a wrapper for SQLite.")
+ (license license:expat)))
+
(define-public rust-rusqlite-0.29
(package
+ (inherit rust-rusqlite-0.30)
(name "rust-rusqlite")
(version "0.29.0")
(source (origin
@@ -59190,14 +59232,14 @@ (define-public rust-rusqlite-0.29
(sha256
(base32
"1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2)
("rust-chrono" ,rust-chrono-0.4)
("rust-csv" ,rust-csv-1)
("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
- ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1)
+ ("rust-fallible-streaming-iterator"
+ ,rust-fallible-streaming-iterator-0.1)
("rust-hashlink" ,rust-hashlink-0.8)
("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.26)
("rust-serde-json" ,rust-serde-json-1)
@@ -59212,12 +59254,7 @@ (define-public rust-rusqlite-0.29
("rust-regex" ,rust-regex-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-unicase" ,rust-unicase-2)
- ("rust-uuid" ,rust-uuid-1))))
- (inputs (list sqlite))
- (home-page "https://github.com/rusqlite/rusqlite")
- (synopsis "Wrapper for SQLite")
- (description "This crate provides a wrapper for SQLite.")
- (license license:expat)))
+ ("rust-uuid" ,rust-uuid-1))))))
(define-public rust-rusqlite-0.26
(package
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 211/228] gnu: Add rust-deadpool-sqlite-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
a641304398189a601c4d7a747f9216611a006a94.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-deadpool-sqlite-0.7): Add variable.

Change-Id: I7d7d34de137e36a7adefcd88e31adf2dad28154e
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8535fc72de..5c15a641b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18100,6 +18100,32 @@ (define-public rust-deadpool-runtime-0.1
for sync managers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-deadpool-sqlite-0.7
+ (package
+ (name "rust-deadpool-sqlite")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool-sqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b621w3hl1ay39c6kp80lzcymbi0mys7ir558cjy4frgw4v0w0dq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-deadpool" ,rust-deadpool-0.10)
+ ("rust-deadpool-sync" ,rust-deadpool-sync-0.1)
+ ("rust-rusqlite" ,rust-rusqlite-0.30)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-config" ,rust-config-0.13)
+ ("rust-dotenv" ,rust-dotenv-0.15)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/bikeshedder/deadpool")
+ (synopsis "Dead simple async pool for rusqlite")
+ (description
+ "This package provides dead simple async pool for rusqlite.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-deadpool-sync-0.1
(package
(name "rust-deadpool-sync")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 212/228] gnu: Add rust-matrix-sdk-sqlite-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
d99ef75ee30545b4f56307381ff168aa1eae5c9b.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-matrix-sdk-sqlite-0.7): Add variable.

Change-Id: Ia6f6d24c6dc18d12b6f66f57e3d33b51c9d802f0
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5c15a641b2..c927b13e78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38129,6 +38129,51 @@ (define-public rust-matrix-sdk-qrcode-0.7
interactive verifications in Matrix land.")
(license license:asl2.0)))
+(define-public rust-matrix-sdk-sqlite-0.7
+ (package
+ (name "rust-matrix-sdk-sqlite")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matrix-sdk-sqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p0ivgb7p9l3v1fxhhw798mxb5k18qkvlhmj2qsxkv57byy3dg90"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-deadpool-sqlite" ,rust-deadpool-sqlite-0.7)
+ ("rust-itertools" ,rust-itertools-0.12)
+ ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+ ("rust-matrix-sdk-crypto" ,rust-matrix-sdk-crypto-0.7)
+ ("rust-matrix-sdk-store-encryption"
+ ,rust-matrix-sdk-store-encryption-0.7)
+ ("rust-rmp-serde" ,rust-rmp-serde-1)
+ ("rust-ruma" ,rust-ruma-0.9)
+ ("rust-rusqlite" ,rust-rusqlite-0.30)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-vodozemac" ,rust-vodozemac-0.5))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+ ("rust-matrix-sdk-crypto" ,rust-matrix-sdk-crypto-0.7)
+ ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+ (synopsis "Sqlite storage backend for matrix-sdk")
+ (description
+ "This package provides an sqlite storage backend for matrix-sdk.")
+ (license license:asl2.0)))
+
(define-public rust-matrix-sdk-store-encryption-0.7
(package
(name "rust-matrix-sdk-store-encryption")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 213/228] gnu: Add rust-matrix-sdk-0.7.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
f053039f067270f8d31bfe3b2c1d4e3f2990e346.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-matrix-sdk-0.7): Add variable.

Change-Id: I9df2799639916c0f2c3610c34ad7987adddd852f
---
gnu/packages/crates-io.scm | 87 ++++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)

Toggle diff (100 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c927b13e78..930e657ce3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37898,6 +37898,93 @@ (define-public rust-matrix-pickle-derive-0.1
"This package provides Derive support for @code{matrix-pickle}.")
(license license:expat)))
+(define-public rust-matrix-sdk-0.7
+ (package
+ (name "rust-matrix-sdk")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matrix-sdk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v22ssxamvkigwx35a5igw60k8z9cy59h7k864d6ccwbzkjqfrik"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-anymap2" ,rust-anymap2-0.13)
+ ("rust-aquamarine" ,rust-aquamarine-0.5)
+ ("rust-as-variant" ,rust-as-variant-1)
+ ("rust-async-channel" ,rust-async-channel-2)
+ ("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-backoff" ,rust-backoff-0.4)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-bytesize" ,rust-bytesize-1)
+ ("rust-cfg-vis" ,rust-cfg-vis-0.3)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-event-listener" ,rust-event-listener-4)
+ ("rust-eyeball" ,rust-eyeball-0.8)
+ ("rust-eyeball-im" ,rust-eyeball-im-0.4)
+ ("rust-eyeball-im-util" ,rust-eyeball-im-util-0.5)
+ ("rust-eyre" ,rust-eyre-0.6)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gloo-timers" ,rust-gloo-timers-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-image" ,rust-image-0.24)
+ ("rust-imbl" ,rust-imbl-2)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-language-tags" ,rust-language-tags-0.3)
+ ("rust-mas-oidc-client" ,rust-mas-oidc-client-0.7)
+ ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+ ("rust-matrix-sdk-common" ,rust-matrix-sdk-common-0.7)
+ ("rust-matrix-sdk-indexeddb" ,rust-matrix-sdk-indexeddb-0.7)
+ ("rust-matrix-sdk-sqlite" ,rust-matrix-sdk-sqlite-0.7)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-mime2ext" ,rust-mime2ext-0.1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-ruma" ,rust-ruma-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-html-form" ,rust-serde-html-form-0.2)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2)
+ ("rust-urlencoding" ,rust-urlencoding-2)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-assert-json-diff" ,rust-assert-json-diff-2)
+ ("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-assert-matches2" ,rust-assert-matches2-0.1)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-matrix-sdk-base" ,rust-matrix-sdk-base-0.7)
+ ("rust-matrix-sdk-test" ,rust-matrix-sdk-test-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-stream-assert" ,rust-stream-assert-0.1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-wiremock" ,rust-wiremock-0.5))))
+ (home-page "https://github.com/matrix-org/matrix-rust-sdk")
+ (synopsis "High level Matrix client-server library")
+ (description
+ "This package provides a high level Matrix client-server library.")
+ (license license:asl2.0)))
+
(define-public rust-matrix-sdk-base-0.7
(package
(name "rust-matrix-sdk-base")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 214/228] gnu: Add rust-oneshot-uniffi-0.1.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
4193f19e142e0d1223c0db3aa2067f244f34c1ba.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-oneshot-uniffi-0.1): Add variable.

Change-Id: I4396a88b687af2ef9e546f4d073cf4a1be0f8f36
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 930e657ce3..1f638fa96b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45007,6 +45007,31 @@ (define-public rust-ogg-0.8
spec in pure Rust.")
(license license:expat)))
+(define-public rust-oneshot-uniffi-0.1
+ (package
+ (name "rust-oneshot-uniffi")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "oneshot-uniffi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "175j04f7rpgy552h5m51ywq7184cqhcfs31dsxanjvwpg1f8sm3c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/faern/oneshot")
+ (synopsis
+ "Patched version of oneshot specifically for the UniFFI project.")
+ (description
+ "This package provides a patched version of oneshot specifically for
+the @code{UniFFI} project. This removes the `loom` target and dependency
+which helps with @code{UniFFI's} downstream consumers.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-onig-6
(package
(name "rust-onig")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 215/228] gnu: Add rust-async-compat-0.2.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
3668f77862fc4aa563ecf9d7b37dfceaa0485d64.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-async-compat-0.2): Add variable.

Change-Id: Iaded7273d198b3efd112b4a84c775bc8445df1fe
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1f638fa96b..083f08b0f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4115,6 +4115,36 @@ (define-public rust-async-channel-1
(("rust-easy-parallel" ,rust-easy-parallel-3)
("rust-futures-lite" ,rust-futures-lite-1))))))
+(define-public rust-async-compat-0.2
+ (package
+ (name "rust-async-compat")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-compat" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06s625ydwms36y4sn723mwq7s4bba2gmp9pq0y65s2gb3xy712pn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-blocking" ,rust-blocking-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-warp" ,rust-warp-0.3))))
+ (home-page "https://github.com/smol-rs/async-compat")
+ (synopsis "Compatibility adapter between tokio and futures")
+ (description
+ "This package provides compatibility adapter between tokio and
+futures.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-compression-0.4
(package
(name "rust-async-compression")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 217/228] gnu: Add rust-uniffi-checksum-derive-0.25.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
db9c1374429893ebdc5f39f33cf1bd6825eae933.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-uniffi-checksum-derive-0.25): Add
variable.

Change-Id: I85834ff0f83bf71bb35f8a7df7d18eb35395d15d
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bb64838a4..c94b24e02f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78978,6 +78978,28 @@ (define-public rust-unicode-xid-0.0
(base32
"1p5l9h3n3i53cp95fb65p8q3vbwib79ryd9z5z5h5kr9gl6qc7wc"))))))
+(define-public rust-uniffi-checksum-derive-0.25
+ (package
+ (name "rust-uniffi-checksum-derive")
+ (version "0.25.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uniffi_checksum_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b00ld4k1riwq445ghw95rsq3hxxc7x6cpcqzlq96bbi5w97q4sm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://mozilla.github.io/uniffi-rs")
+ (synopsis "Checksum custom derive for uniffi")
+ (description
+ "This package provides a checksum custom derive for uniffi: a multi-
+language bindings generator for Rust.")
+ (license license:mpl2.0)))
+
(define-public rust-uniffi-core-0.25
(package
(name "rust-uniffi-core")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 220/228] gnu: Add rust-weedle2-4.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
d3ad59b0455743f67abae90c317f389d0b20d3ff.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-weedle2-4): Add variable.

Change-Id: I5fa4769fd2b986c555e1d2441612e631bb87b645
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9743b5a40d..856fa6307c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81444,6 +81444,26 @@ (define-public rust-wee-alloc-0.4
(description "wee_alloc: The Wasm-Enabled, Elfin Allocator.")
(license license:mpl2.0)))
+(define-public rust-weedle2-4
+ (package
+ (name "rust-weedle2")
+ (version "4.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "weedle2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hbph2pwmwvkn6lcbrpjc24j5r2y0aaxnjyndwqa4hqzdqhcay9f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-nom" ,rust-nom-7))
+ #:cargo-development-inputs (("rust-fs-err" ,rust-fs-err-2))))
+ (home-page "https://github.com/mozilla/uniffi-rs/tree/main/weedle2")
+ (synopsis "WebIDL parser")
+ (description "This package provides a @code{WebIDL} parser.")
+ (license license:expat)))
+
(define-public rust-weezl-0.1
(package
(name "rust-weezl")
--
2.41.0
H
H
Herman Rimm wrote on 18 Feb 22:12 +0100
[PATCH 219/228] gnu: Add rust-uniffi-testing-0.25.
(address . 69257@debbugs.gnu.org)(name . Herman Rimm)(address . herman@rimm.ee)
a6dd94e465283cde8c835b68a07cc14d71aa6b35.1708288190.git.herman@rimm.ee
* gnu/packages/crates-io.scm (rust-uniffi-testing-0.25): Add variable.

Change-Id: Iac02d49084be4e185cacf527e4c23e8e0d82deb5
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09b4f3440a..9743b5a40d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79054,6 +79054,30 @@ (define-public rust-uniffi-meta-0.25
(description "This package provides metadata for uniffi.")
(license license:mpl2.0)))
+(define-public rust-uniffi-testing-0.25
+ (package
+ (name "rust-uniffi-testing")
+ (version "0.25.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uniffi_testing" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g7jv7w979n43nkmkrjk6w9f1drsjgxhalwcpvfpddpwpzg4i10i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-camino" ,rust-camino-1)
+ ("rust-cargo-metadata" ,rust-cargo-metadata-0.15)
+ ("rust-fs-err" ,rust-fs-err-2)
+ ("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://mozilla.github.io/uniffi-rs")
+ (synopsis "Testing helpers for uniffi")
+ (description
+ "This package provides testing helpers for uniffi.")
+ (license license:mpl2.0)))
+
(define-public rust-unindent-0.2
(package
(name "rust-unindent")
--
2.41.0
H