[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
435/475: gnu: Add rust-toml-0.7.
From: |
guix-commits |
Subject: |
435/475: gnu: Add rust-toml-0.7. |
Date: |
Sun, 7 May 2023 12:48:39 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 05693172dc8984799c61731b675fd277b7afee41
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:21:49 2023 +0300
gnu: Add rust-toml-0.7.
* gnu/packages/crates-io.scm (rust-toml-0.7): New variable.
(rust-toml-0.6): Inherit from rust-toml-0.7.
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 35 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d286fa161e..8dd1c48f8e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65982,8 +65982,42 @@ stream-based WebSocket implementation.")
("rust-tokio" ,rust-tokio-0.2)
("rust-tokio-test" ,rust-tokio-test-0.2))))))
+(define-public rust-toml-0.7
+ (package
+ (name "rust-toml")
+ (version "0.7.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "toml" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08cvcr3w0kgnz8i963qhab2plnm7niy9c3bz7k4mj25vybvaq0xl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-indexmap" ,rust-indexmap-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-spanned" ,rust-serde-spanned-0.6)
+ ("rust-toml-datetime" ,rust-toml-datetime-0.6)
+ ("rust-toml-edit" ,rust-toml-edit-0.19))
+ #:cargo-development-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-snapbox" ,rust-snapbox-0.4)
+ ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))
+ (home-page "https://github.com/toml-rs/toml")
+ (synopsis "Rust encoder and decoder of TOML-formatted files and streams")
+ (description
+ "This package provides a native Rust encoder and decoder of TOML-formatted
+files and streams. Provides implementations of the standard
+Serialize/Deserialize traits for TOML data to facilitate deserializing and
+serializing Rust structures.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-toml-0.6
(package
+ (inherit rust-toml-0.7)
(name "rust-toml")
(version "0.6.0")
(source
@@ -65993,7 +66027,6 @@ stream-based WebSocket implementation.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05zjz69wjymp9yrgccg5vhvxpf855rgn23vl1yvri4nwwj8difag"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-indexmap" ,rust-indexmap-1)
@@ -66005,16 +66038,7 @@ stream-based WebSocket implementation.")
(("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-snapbox" ,rust-snapbox-0.4)
- ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))
- (home-page "https://github.com/alexcrichton/toml-rs")
- (synopsis "Rust encoder and decoder of TOML-formatted files and streams")
- (description
- "This package provides a native Rust encoder and decoder of TOML-formatted
-files and streams. Provides implementations of the standard
-Serialize/Deserialize traits for TOML data to facilitate deserializing and
-serializing Rust structures.")
- (license (list license:asl2.0
- license:expat))))
+ ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))))
(define-public rust-toml-0.5
(package
- 344/475: gnu: rust-syn-1: Update to 1.0.109., (continued)
- 344/475: gnu: rust-syn-1: Update to 1.0.109., guix-commits, 2023/05/07
- 402/475: gnu: Add rust-x11-clipboard-0.7., guix-commits, 2023/05/07
- 387/475: gnu: rust-wayland-egl-0.29: Update to 0.29.5., guix-commits, 2023/05/07
- 351/475: gnu: Add rust-windows-0.46., guix-commits, 2023/05/07
- 409/475: gnu: rust-servo-fontconfig-sys-5: Don't skip build., guix-commits, 2023/05/07
- 347/475: gnu: Add rust-test-strategy-0.2., guix-commits, 2023/05/07
- 429/475: gnu: Add rust-android-activity-0.4., guix-commits, 2023/05/07
- 428/475: gnu: Add rust-glutin-glx-sys-0.4., guix-commits, 2023/05/07
- 424/475: gnu: Add rust-winnow-0.4., guix-commits, 2023/05/07
- 442/475: gnu: Add rust-ab-glyph-0.2., guix-commits, 2023/05/07
- 435/475: gnu: Add rust-toml-0.7.,
guix-commits <=
- 445/475: gnu: rust-libloading-0.7: Update to 0.7.4., guix-commits, 2023/05/07
- 459/475: gnu: rust-security-framework-0.2: Skip build., guix-commits, 2023/05/07
- 448/475: gnu: Add rust-strict-num-0.1., guix-commits, 2023/05/07
- 469/475: gnu: rust-gmp-mpfr-sys-1: Remove bundled libraries., guix-commits, 2023/05/07
- 466/475: gnu: rust-webpki-0.18: Fix build., guix-commits, 2023/05/07
- 449/475: gnu: rust-bindgen-0.64: Add missing input., guix-commits, 2023/05/07
- 434/475: gnu: Add rust-c-vec-2., guix-commits, 2023/05/07
- 441/475: gnu: Add rust-owned-ttf-parser-0.19., guix-commits, 2023/05/07
- 439/475: gnu: rust-vcpkg-0.2: Update to 0.2.15., guix-commits, 2023/05/07
- 437/475: gnu: Add rust-ndk-sys-0.4., guix-commits, 2023/05/07