@@ -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")