diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 753d8547a0..dcafa15966 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38230,6 +38230,31 @@ (define-public rust-tinyvec-0.3 "A 100% safe crate of vec-like types.") (license (list license:zlib license:asl2.0 license:expat)))) +(define-public rust-titlecase-1 + (package + (name "rust-titlecase") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "titlecase" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05qizspxihjhmzsd9y6kfxzrss4jl4y042wni4m2yk62rw8f8rgm")))) + (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/wezm/titlecase") + (synopsis "Tool and Rust crate for transforming text into title case") + (description + "This package provides a tool and library that capitalizes text according +to a style defined by John Gruber for post titles on his website ``Daring +Fireball''.") + (license license:expat))) + (define-public rust-tokio-1 (package (name "rust-tokio")