aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c607161c9..29d8da51d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1728,6 +1728,32 @@ system calls.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rustc-serialize
+ (package
+ (name "rust-rustc-serialize")
+ (version "0.3.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-serialize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
+ (synopsis "Generic serialization/deserialization support")
+ (description
+ "This package provides generic serialization/deserialization support
+corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
+compiler. Also includes support for hex, base64, and json encoding and
+decoding.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-rustc-std-workspace-core
(package
(name "rust-rustc-std-workspace-core")