mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-serde-bytes-0.11.
* gnu/packages/crates-io.scm (rust-serde-bytes-0.11): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
e398ecc48d
commit
45c312f66d
1 changed files with 31 additions and 0 deletions
|
@ -3617,6 +3617,37 @@ with one of the implemented strategies.")
|
||||||
(properties '((hidden? . #t)))
|
(properties '((hidden? . #t)))
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
;; Circular dev dependency on bincode.
|
||||||
|
;; Probably not going away: https://github.com/rust-lang/cargo/issues/4242
|
||||||
|
(define-public rust-serde-bytes-0.11
|
||||||
|
(package
|
||||||
|
(name "rust-serde-bytes")
|
||||||
|
(version "0.11.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "serde_bytes" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1bl45kf3c71xclv7wzk5525nswm4bgsnjd3s1s15f4k2a8whfnij"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-serde" ,rust-serde-1.0))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-bincode" ,rust-bincode-1.1)
|
||||||
|
("rust-serde-derive" ,rust-serde-derive-1.0)
|
||||||
|
("rust-serde-test" ,rust-serde-test-1.0))))
|
||||||
|
(home-page "https://github.com/serde-rs/bytes")
|
||||||
|
(synopsis
|
||||||
|
"Hanlde of integer arrays and vectors for Serde")
|
||||||
|
(description
|
||||||
|
"Optimized handling of @code{&[u8]} and @code{Vec<u8>} for Serde.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-serde-derive-1.0
|
(define-public rust-serde-derive-1.0
|
||||||
(package
|
(package
|
||||||
(name "rust-serde-derive")
|
(name "rust-serde-derive")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue