diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0dfe93f8f4..fcfba669ee 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4181,6 +4181,39 @@ (define-public rust-object-0.12 formats.") (license (list license:expat license:asl2.0)))) +(define-public rust-odds-0.3 + (package + (name "rust-odds") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "odds" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rawpointer" ,rust-rawpointer-0.1) + ("rust-rawslice" ,rust-rawslice-0.1) + ("rust-unchecked-index" ,rust-unchecked-index-0.2)) + #:cargo-development-inputs + (("rust-itertools" ,rust-itertools-0.8) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-memchr" ,rust-memchr-2.2) + ("rust-quickcheck" ,rust-quickcheck-0.8)))) + (home-page "https://github.com/bluss/odds") + (synopsis "Extra functionality for slices, strings and other things") + (description + "Odds and ends collection miscellania. Extra functionality for +slices (@code{.find()}, @code{RevSlice}), strings and other things. +Things in odds may move to more appropriate crates if we find them.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-openssl-0.10 (package (name "rust-openssl")