v1.0.0 was released just today. Here is the update :-) Hartmut Goebel (26): gnu: Add rust-cipher-0.2. gnu: Add rust-cmac-0.5. gnu: Add rust-ctr-0.6. gnu: Add rust-dbl-0.3. gnu: Add rust-eax-0.3. gnu: Add rust-sha1collisiondetection-0.2. gnu: Add rust-crypto-mac-0.10. gnu: Add rust-pin-utils-0.1. gnu: Add rust-pin-project-1, rust-pin-project-internal-1. gnu: Replace rust-capnp-0.10 by rust-capnp-0.13. gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13. gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13. gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13. gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4. gnu: rust-proc-macro-hack-0.5: Update to 0.5.19. gnu: rust-socket2: Update to 0.3.18. gnu: rust-futures-util-0.3: Update to 0.3.8. gnu: rust-futures-0.3: Update to 0.3.8. gnu: rust-futures-channel-0.3: Update to 0.3.8. gnu: rust-futures-core-0.3: Update to 0.3.8. gnu: rust-futures-executor-0.3: Update to 0.3.8. gnu: rust-futures-io-0.3: Update to 0.3.8. gnu: rust-futures-macro-0.3: Update to 0.3.8. gnu: rust-futures-sink-0.3: Update to 0.3.8. gnu: rust-futures-task-0.3: Update to 0.3.8. gnu: sequoia: Update to 1.0.0. gnu/packages/crates-io.scm | 414 ++++++++++++++++++++++++++++++------- gnu/packages/sequoia.scm | 26 ++- 2 files changed, 349 insertions(+), 91 deletions(-) -- 2.21.3
* gnu/packages/crates-io.scm (rust-cipher-0.2): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 385160dd90..88a2b59ae5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3871,6 +3871,32 @@ depending on a large number of #[cfg] parameters. Structured like an (description "This package provides Rust bindings for libclang.") (license license:asl2.0))) +(define-public rust-cipher-0.2 + (package + (name "rust-cipher") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "https://docs.rs/cipher/") + (synopsis "Traits for describing block ciphers and stream ciphers") + (description "This package provides traits which define the functionality +of block ciphers and stream ciphers. See RustCrypto/block-ciphers and +RustCrypto/stream-ciphers for algorithm implementations which use these +traits.") + (license (list license:expat license:asl2.0)))) + (define-public rust-clang-sys-0.29 (package (inherit rust-clang-sys-1) -- 2.21.3
* gnu/packages/crates-io.scm (rust-cmac-0.5): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 88a2b59ae5..76bcac743b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4191,6 +4191,31 @@ contains all syscalls and related types.") license:asl2.0 license:zlib)))) +(define-public rust-cmac-0.5 + (package + (name "rust-cmac") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wj2kd4lb5hb7dvxfad4hi8gklmbq8vvvcnzmmqgxr94fx7xxm3k")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-dbl" ,rust-dbl-0.3)))) + (home-page "https://docs.rs/cmac/") + (synopsis "Generic implementation of Cipher-based Message Authentication +Code") + (description "This package provides a pure Rust implementation of the +Cipher-based Message Authentication Code (CMAC).") + (license (list license:expat license:asl2.0)))) ; at your choice + (define-public rust-cmake-0.1 (package (name "rust-cmake") -- 2.21.3
* gnu/packages/crates-io.scm (rust-ctr-0.6): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 76bcac743b..67905ca766 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6080,6 +6080,31 @@ Transparency logs for use with sct crate.") "This package provides an @code{__attribute__((constructor))} for Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ctr-0.6 + (package + (name "rust-ctr") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ctr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cipher" ,rust-cipher-0.2)))) + (home-page "https://docs.rs/ctr/") + (synopsis "CTR block mode of operation") + (description "This package provides a generic implementations of CTR mode +for block ciphers. + +Mode functionality is accessed using traits from re-exported cipher crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ctrlc-3.1 (package (name "rust-ctrlc") -- 2.21.3
* gnu/packages/crates-io.scm (rust-dbl-0.3): New varible. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 67905ca766..a837120682 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6448,6 +6448,31 @@ hexadecimal, base32, and base64.") and arithmetic.") (license license:expat))) +(define-public rust-dbl-0.3 + (package + (name "rust-dbl") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dbl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pihf6zrzncbs3lsyqkzxxxqmjf8rfpwvs1sg8nmz8cv7df18d97")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "https://docs.rs/dbl") + (synopsis "Double operation in Galois Field") + (description + "This package provides double and inverse double over Galois Field - +GF(2^n). This trait is implemented for 64, 128 and 256 bit block +sizes. Big-endian order is used. WARNING: Block must be aligned!") + (license (list license:expat license:asl2.0)))) + (define-public rust-decimal-2.0 (package (name "rust-decimal") -- 2.21.3
* gnu/packages/crates-io.scm (rust-eax-0.3): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a837120682..d5b805446c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7794,6 +7794,37 @@ floating-point primitives to an @code{io::Write}.") "This package provides lightweight binding to DirectWrite.") (license license:mpl2.0))) +(define-public rust-eax-0.3 + (package + (name "rust-eax") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "eax" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vmpbqncpbj2ldm3fhfz87ija1sk4zk9vad91yd2jjsrbrx6xxz1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aead" ,rust-aead-0.3) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-cmac" ,rust-cmac-0.5) + ("rust-ctr" ,rust-ctr-0.6) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://docs.rs/eax/") + (synopsis "Pure Rust implementation of the EAX Authenticated Encryption +with Associated Data (AEAD)") + (description "This package provides a pure Rust implementation of the EAX +Authenticated Encryption with Associated Data (AEAD) Cipher with optional +architecture-specific hardware acceleration. This scheme is only based on a +block cipher. It uses counter mode (CTR) for encryption and CBC mode for +generating a OMAC/CMAC/CBCMAC (all names for the same thing).") + (license (list license:asl2.0 license:expat)))) ; at your choice + (define-public rust-ed25519-1 (package (name "rust-ed25519") -- 2.21.3
* gnu/packages/crates-io.scm (rust-sha1collisiondetection-0.2): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d5b805446c..9590330036 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27100,6 +27100,36 @@ functionality and without weak references.") "Assembly implementation of SHA-1 compression function.") (license license:expat))) +(define-public rust-sha1collisiondetection-0.2 + (package + (name "rust-sha1collisiondetection") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1collisiondetection" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-libc" ,rust-libc-0.2) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-structopt" ,rust-structopt-0.3)))) + (home-page "https://docs.rs/sha1collisiondetection") + (synopsis "SHA-1 hash function with collision detection and mitigation") + (description + "This package implementation of the SHA-1 cryptographic hash algorithm. + +This is a port of Marc Stevens' sha1collisiondetection algorithm to Rust. The +code is translated from C to Rust using c2rust.") + (license license:expat))) + (define-public rust-sha2-0.9 (package (name "rust-sha2") -- 2.21.3
* gnu/packages/crates-io.scm (rust-crypto-mac-0.10): New variable. (rust-crypto-mac-0.8) Inherit from rust-crypto-mac-0.10. --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9590330036..45b4d487d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5700,10 +5700,10 @@ manipulating terminals.") around common WinAPI calls.") (license license:expat))) -(define-public rust-crypto-mac-0.8 +(define-public rust-crypto-mac-0.10 (package (name "rust-crypto-mac") - (version "0.8.0") + (version "0.10.0") (source (origin (method url-fetch) @@ -5711,20 +5711,41 @@ around common WinAPI calls.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m")))) + (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-subtle" ,rust-subtle-2)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))) (home-page "https://github.com/RustCrypto/traits") (synopsis "Trait for Message Authentication Code (MAC) algorithms") (description "This package provides trait for @dfn{Message Authentication Code} (MAC) algorithms.") (license (list license:expat license:asl2.0)))) +(define-public rust-crypto-mac-0.8 + (package + (inherit rust-crypto-mac-0.10) + (name "rust-crypto-mac") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))))) + (define-public rust-crypto-mac-0.7 (package (inherit rust-crypto-mac-0.8) -- 2.21.3
* gnu/packages/crates-io.scm (rust-pin-utils-0.1): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 45b4d487d4..5e6a9502b3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20435,6 +20435,25 @@ macros") written with declarative macros.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pin-utils-0.1 + (package + (name "rust-pin-utils") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pin-utils" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "117ir7vslsl2z1a7qzhws4pd01cg2d3338c47swjyvqv2n60v1wb")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://docs.rs/pin-utils") + (synopsis "Utilities for pinning") + (description "This package provides utilities for pinning.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pkg-config-0.3 (package (name "rust-pkg-config") -- 2.21.3
* gnu/packages/crates-io.scm (rust-pin-project-1, rust-pin-project-internal-1): New variables. (rust-pin-project-0.4): Inherit from rust-pin-project-1. (rust-pin-project-internal-0.4): Inherit from rust-pin-project-internal-1. --- gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5e6a9502b3..486402e2b1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20368,8 +20368,33 @@ function data structures.") (license (list license:asl2.0 license:expat)))) + +(define-public rust-pin-project-1 + (package + (name "rust-pin-project") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pin-project" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19qw2nm2kk38v9j16nsm8j3fkh0g8pjq0k4cplx7i2f4q8vj5k4w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-pin-project-internal" ,rust-pin-project-internal-1)))) + (home-page "https://github.com/taiki-e/pin-project") + (synopsis "A crate for safe and ergonomic pin-projection") + (description "This package provides a crate for safe and ergonomic +pin-projection.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pin-project-0.4 (package + (inherit rust-pin-project-1) (name "rust-pin-project") (version "0.4.22") (source @@ -20383,14 +20408,36 @@ function data structures.") (arguments `(#:tests? #f ; XXX: Fix-me. #:cargo-inputs - (("rust-pin-project-internal" ,rust-pin-project-internal-0.4)))) - (home-page "https://crates.io/crates/pin-project") - (synopsis "A crate for safe and ergonomic pin-projection") - (description "A crate for safe and ergonomic pin-projection.") + (("rust-pin-project-internal" ,rust-pin-project-internal-0.4)))))) + + +(define-public rust-pin-project-internal-1 + (package + (name "rust-pin-project-internal") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pin-project-internal" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pwy3m32scf3ypjb9ai151lmaa27vyj06lc64i28l0r31fzx5s7q")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://crates.io/crates/pin-project-internal") + (synopsis "An internal crate to support pin_project") + (description "An internal crate to support pin_project") (license (list license:asl2.0 license:expat)))) (define-public rust-pin-project-internal-0.4 (package + (inherit rust-pin-project-internal-1) (name "rust-pin-project-internal") (version "0.4.22") (source @@ -20406,11 +20453,7 @@ function data structures.") #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://crates.io/crates/pin-project-internal") - (synopsis "An internal crate to support pin_project") - (description "An internal crate to support pin_project") - (license (list license:asl2.0 license:expat)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-pin-project-lite-0.1 (package -- 2.21.3
* gnu/packages/crates-io.scm (rust-capnp-0.10): Update to 0.13.6 and rename to rust-capnp-0.13. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 486402e2b1..ff7e0151ff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3383,20 +3383,21 @@ directories and @code{CACHEDIR.TAG} files.") "This package provides a callback-based event loop") (license license:expat))) -(define-public rust-capnp-0.10 +(define-public rust-capnp-0.13 (package (name "rust-capnp") - (version "0.10.3") + (version "0.13.6") (source (origin (method url-fetch) (uri (crate-uri "capnp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17hsnmlcrzksjjpwpz51y8g36xzq8042i2cwns0lsg7rixfw2rxq")))) + (base32 "1bx2pj0ysmyd1ryd5s43m3c7n5k067x1aciqiiyg4kjswlcs6xjf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-futures" ,rust-futures-0.1) ("rust-quickcheck" ,rust-quickcheck-0.2)) #:cargo-development-inputs -- 2.21.3
* gnu/packages/crates-io.scm (rust-capnp-futures-0.10): Update to 0.13.2 and rename to (rust-capnp-futures-0.13). [arguments] Add skip-build. {cargo-inputs}: Update rust-capnp to rust-capnp-0.13. --- gnu/packages/crates-io.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ff7e0151ff..dd35976a71 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3408,24 +3408,25 @@ directories and @code{CACHEDIR.TAG} files.") encoding.") (license license:expat))) -(define-public rust-capnp-futures-0.10 +(define-public rust-capnp-futures-0.13 (package (name "rust-capnp-futures") - (version "0.10.1") + (version "0.13.2") (source (origin (method url-fetch) (uri (crate-uri "capnp-futures" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qdiqkp9mh4acpa0dqhpzv2gwf949rj3m85mgwl1rih6gvgbh1zs")))) + (base32 "18q93ncbfcnjq7zhvy9idnifypmi2qcp775q7454y3r4lvvdcyyw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.10) + `(#:skip-build? #t + #:cargo-inputs + (("rust-capnp" ,rust-capnp-0.13) ("rust-futures" ,rust-futures-0.1)) #:cargo-development-inputs - (("rust-capnp" ,rust-capnp-0.10) + (("rust-capnp" ,rust-capnp-0.13) ("rust-quickcheck" ,rust-quickcheck-0.2)))) (home-page "https://github.com/capnproto/capnproto-rust") (synopsis "Async serialization for Cap'n Proto messages") -- 2.21.3
* gnu/packages/crates-io.scm (rust-capnp-rpc-0.10): Update to 0.13.1 and rename to rust-capnp-rpc-0.13. [arguments] Add skip-build. {cargo-inputs}: Update rust-capnp to rust-capnp-0.13. Update rust-capnp-futures to rust-capnp-futures-0.13. --- gnu/packages/crates-io.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dd35976a71..7fabf8109f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3434,27 +3434,28 @@ encoding.") messages.") (license license:expat))) -(define-public rust-capnp-rpc-0.10 +(define-public rust-capnp-rpc-0.13 (package (name "rust-capnp-rpc") - (version "0.10.0") + (version "0.13.1") (source (origin (method url-fetch) (uri (crate-uri "capnp-rpc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j6xg7yays1hlm1045wviyn1642yvvi2p4kba26yk07a0kafr3jn")))) + (base32 "17p0y0yk68pzsnpmaklhiqrrlrrv0ld8nhbg4qflmgibshi8b69p")))) (build-system cargo-build-system) (native-inputs `(("capnproto" ,capnproto))) (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.10) - ("rust-capnp-futures" ,rust-capnp-futures-0.10) + `(#:skip-build? #t + #:cargo-inputs + (("rust-capnp" ,rust-capnp-0.13) + ("rust-capnp-futures" ,rust-capnp-futures-0.13) ("rust-futures" ,rust-futures-0.1)) #:cargo-development-inputs - (("rust-capnpc" ,rust-capnpc-0.10)))) + (("rust-capnpc" ,rust-capnpc-0.13)))) (home-page "https://github.com/capnproto/capnproto-rust") (synopsis "Cap'n Proto remote procedure call protocol implementation") (description "This package provides an implementation of the Cap'n Proto -- 2.21.3
* gnu/packages/crates-io.scm (rust-capnpc-0.10): Update to 0.13.1 and rename to rust-capnpc-0.13. [arguments] Add skip-build. {cargo-inputs}: Update rust-capnp to rust-capnp-0.13. --- gnu/packages/crates-io.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7fabf8109f..104e69fc27 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3462,20 +3462,21 @@ messages.") remote procedure call protocol") (license license:expat))) -(define-public rust-capnpc-0.10 +(define-public rust-capnpc-0.13 (package (name "rust-capnpc") - (version "0.10.2") + (version "0.13.1") (source (origin (method url-fetch) (uri (crate-uri "capnpc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zxbmdkr0xfzkfq9p8zn7pp9jjq275qhr8fh9a0cc0ab37yfvbyj")))) + (base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.10)))) + `(#:skip-build? #t + #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13)))) (home-page "https://github.com/capnproto/capnproto-rust") (synopsis "Cap'n Proto code generation") (description "Cap'n Proto code generation") -- 2.21.3
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): Update to 0.4.0 and rename to (rust-win-crypto-ng-0.4). [arguments]{cargo-inouts}: Add rust-cipher. --- gnu/packages/crates-io.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 104e69fc27..151b18ac2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35032,22 +35032,23 @@ color in a Windows console.") (license (list license:unlicense license:expat)))) -(define-public rust-win-crypto-ng-0.2 +(define-public rust-win-crypto-ng-0.4 (package (name "rust-win-crypto-ng") - (version "0.2.1") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "win-crypto-ng" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ab0iwl4bmqvysypyn6xgax7rlh3w524jji2y1zfwfpdr7wwyv23")))) + (base32 "0v26ssjip8fdilj1j6csnvcny98gb90ra1qlnm2xwjlgivlr5kr4")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) + (("rust-cipher" ,rust-cipher-0.2) + ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-rand-core" ,rust-rand-core-0.5) ("rust-winapi" ,rust-winapi-0.3) ("rust-zeroize" ,rust-zeroize-1)))) -- 2.21.3
* gnu/packages/crates-io.scm (rust-proc-macro-hack-0.5): Update to 0.5.19. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 151b18ac2e..7a384bb9df 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21268,7 +21268,7 @@ in your code.") (define-public rust-proc-macro-hack-0.5 (package (name "rust-proc-macro-hack") - (version "0.5.16") + (version "0.5.19") (source (origin (method url-fetch) @@ -21276,11 +21276,11 @@ in your code.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1r657v7d9vh1ivrvq65rvg9gjb29dpa0l3zg2fgrn5j8znz5c13y")))) + (base32 "1rg0kzsj7lj00qj602d3h77spwfz48vixn1wbjp7a4yrq65w9w6v")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs + `(#:skip-build? #t + #:cargo-development-inputs (("rust-quote" ,rust-quote-1) ("rust-rustversion" ,rust-rustversion-1) ("rust-syn" ,rust-syn-1) -- 2.21.3
* gnu/packages/crates-io.scm (rust-socket2): Update to 0.3.18. [arguments] Add skip-build. {cargo-inputs}: Update rust-cfg-if to rust-cfg-if-1, remove rust-redox-syscall. --- gnu/packages/crates-io.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a384bb9df..c6072639fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27885,22 +27885,21 @@ stack.") (define-public rust-socket2-0.3 (package (name "rust-socket2") - (version "0.3.11") + (version "0.3.18") (source (origin (method url-fetch) (uri (crate-uri "socket2" version)) (file-name (string-append name "-" version ".crate")) (sha256 - (base32 - "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8")))) + (base32 "0mqh39dkspcz3x11jhck9k2yrbx2krawn7xr3zva8n3lazyykq4p")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; tests require network access + `(#:skip-build? #t + #:tests? #f ; tests require network access #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) + (("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) - ("rust-redox-syscall" ,rust-redox-syscall-0.1) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))) -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-util-0.3): Update to 0.3.8, [arguments] Add skip-build. {cargo-inputs} Add rust-pin-project. --- gnu/packages/crates-io.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c6072639fd..f501757dc3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10405,7 +10405,7 @@ components built off futures-rs.") (define-public rust-futures-util-0.3 (package (name "rust-futures-util") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10414,7 +10414,7 @@ components built off futures-rs.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0xlyqdn6lnpkw27lwxczihx91h64gbdd31n8c8y5v63nzds65mn0")))) + "1lnbhpyrypn9giw6122af0pffxfijfz3zm7phrwzp75rlzscy16k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10426,6 +10426,7 @@ components built off futures-rs.") ("rust-futures-sink" ,rust-futures-sink-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-memchr" ,rust-memchr-2) + ("rust-pin-project" ,rust-pin-project-1) ("rust-pin-utils" ,rust-pin-utils-0.1) ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) ("rust-proc-macro-nested" ,rust-proc-macro-nested-0.1) -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f501757dc3..e6c52a26fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9937,7 +9937,7 @@ pseudorandom number generator") (define-public rust-futures-0.3 (package (name "rust-futures") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -9945,11 +9945,11 @@ pseudorandom number generator") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "11srrbc0hp7pgz142qjfx2z07kfhc98rbfwqyrgm4mxvxib61wdn")))) + (base32 "1l434mh7p5na5c3c7lih575hszqc515r9idk62fm5rhz1820qfwv")))) (build-system cargo-build-system) (arguments `(#:tests? #f + #:skip-build #t #:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-channel-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e6c52a26fd..c9a930a773 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9993,7 +9993,7 @@ featuring zero allocations, composability, and iterator-like interfaces.") (define-public rust-futures-channel-0.3 (package (name "rust-futures-channel") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10001,11 +10001,11 @@ featuring zero allocations, composability, and iterator-like interfaces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "11lvk749n61654ad40xn751gmxzwb697nwh36s5gs0ni2z59ibpw")))) + (base32 "0r7y228kkhwx9jj3ny5ppmw2gvw0capm6ig8dzppgqd4g9l0jwab")))) (build-system cargo-build-system) (arguments `(#:tests? #f + #:skip-build? #t #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-sink" ,rust-futures-sink-0.3)))) -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-core-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c9a930a773..cbefd5992c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10043,7 +10043,7 @@ featuring zero allocations, composability, and iterator-like interfaces.") (define-public rust-futures-core-0.3 (package (name "rust-futures-core") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10051,10 +10051,11 @@ featuring zero allocations, composability, and iterator-like interfaces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0rh8q6pg08dizk5hwksvjgvkw26s3sr3b199nggv3ypyg914qmkr")))) + (base32 "0j0pixxv8dmqas1h5cgy92z4r9lpmnlis8ls22v17yrgnwqy2z44")))) (build-system cargo-build-system) - (arguments '(#:tests? #f)) + (arguments + '(#:tests? #f + #:skip-build? #t)) (home-page "https://rust-lang-nursery.github.io/futures-rs") (synopsis "Core traits and types in for the `futures` library") (description "This package provides the core traits and types in for the -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-executor-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cbefd5992c..b8fca9e415 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10111,7 +10111,7 @@ the computation on the threads themselves.") (define-public rust-futures-executor-0.3 (package (name "rust-futures-executor") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10119,11 +10119,11 @@ the computation on the threads themselves.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0cf24wbgxqh4kdjbb557vk1axzmbpmwb8s05ga1nls1zaqv4f9qy")))) + (base32 "0r8ayj6g08d1i0hj2v6g5zr3hzlkxpqlkpf1awq0105qd0mjpajc")))) (build-system cargo-build-system) (arguments `(#:tests? #f + #:skip-build? #t #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-task" ,rust-futures-task-0.3) -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-io-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b8fca9e415..2b0046ada4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10169,7 +10169,7 @@ library.") (define-public rust-futures-io-0.3 (package (name "rust-futures-io") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10178,8 +10178,9 @@ library.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1zxm41fmkrb0r39ajk3rr9invcd5bdwlafazn8m9aw4y49ymfxp6")))) + "1frh7d0n96lczy22al3bkgwpq0p1agbgax5kqh9vv8da33738631")))) (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) (home-page "https://rust-lang-nursery.github.io/futures-rs") (synopsis "`AsyncRead` and `AsyncWrite` traits for the futures-rs library") -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-macro-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2b0046ada4..9b5b9a1767 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10212,7 +10212,7 @@ for the futures-rs library.") (define-public rust-futures-macro-0.3 (package (name "rust-futures-macro") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10220,11 +10220,11 @@ for the futures-rs library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0r3px32wgqfbmfyb1lrj9wplvjris5magdyhfr7xnyjk2mncbrsj")))) + (base32 "0mjmb46zapb59iilsbljpj7l0hq6w19df0f03p3br5qz5xlqlh3p")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-sink-0.3): Update to 0.3.8. [arguments] Add skip-build. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9b5b9a1767..3b1449606f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10296,7 +10296,7 @@ composability, and iterator-like interfaces.") (define-public rust-futures-sink-0.3 (package (name "rust-futures-sink") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10304,9 +10304,9 @@ composability, and iterator-like interfaces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "05iwskzxq3yqvxv9l1kqnd7kkmp0dwc39fnvwrcjsg76z8zf66qp")))) + (base32 "0gfb1z97q861ki6lqsvpgfn3hnm9w3vkrf82dc00xrff95d1jy7q")))) (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) (home-page "https://rust-lang-nursery.github.io/futures-rs") (synopsis "Asynchronous `Sink` trait for the futures-rs library") (description "This package provides the asynchronous @code{Sink} trait for -- 2.21.3
* gnu/packages/crates-io.scm (rust-futures-task-0.3): Update to 0.3.8. [arguments] Add skip-build, cargo-inputs. --- gnu/packages/crates-io.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3b1449606f..3925025eb0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10340,7 +10340,7 @@ futures-rs library.") (define-public rust-futures-task-0.3 (package (name "rust-futures-task") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) @@ -10348,10 +10348,12 @@ futures-rs library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1yg5d7b3z58mhqbrax5a0qdsfvzfclwyqvw5k3i41x4wnbb55bhb")))) + (base32 "03ad39v8scy353src2f9dkkvcs24n736iavi8xn45cj8pyslwmbw")))) (build-system cargo-build-system) - (arguments '(#:tests? #f)) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-once-cell" ,rust-once-cell-1)))) (home-page "https://rust-lang-nursery.github.io/futures-rs") (synopsis "Tools for working with tasks") (description "Tools for working with tasks.") -- 2.21.3
* gnu/packages/sequoia.scm (sequoia): Update to 1.0.0. [arguments]{cargo-inputs}: Add rust-eax, rust-futures-util, rust-sha1collisiondetection, rust-socket2. Update rust-capnp, rust-capnp-rpc, rust-capnpc, rust-futures, rust-http,rust-hyper rust-hyper-tls, rust-tokio, rust-win-crypto-ng. --- gnu/packages/sequoia.scm | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 6550a71a1a..a16b59227e 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -40,7 +40,7 @@ (define-public sequoia (package (name "sequoia") - (version "0.20.0") + (version "1.0.0") (source (origin (method git-fetch) @@ -48,7 +48,7 @@ (url "https://gitlab.com/sequoia-pgp/sequoia.git") (commit (string-append "v" version)))) (sha256 - (base32 "1c76sz4y0n4jhf1gq4b87v5c07i09mmd3i6sqki09bd96m3ldgkf")) + (base32 "0y80bl786m29ww3272qsl1ql0xc3pwd6iiqlkv3nmhnjsmygbn0d")) (file-name (git-file-name name version)))) (build-system cargo-build-system) (outputs '("out" "python")) @@ -75,9 +75,9 @@ ("rust-base64" ,rust-base64-0.13) ;;("rust-buffered-reader" included ("rust-bzip2" ,rust-bzip2-0.4) - ("rust-capnp" ,rust-capnp-0.10) - ("rust-capnp-rpc" ,rust-capnp-rpc-0.10) - ("rust-capnpc" ,rust-capnpc-0.10) + ("rust-capnp" ,rust-capnp-0.13) + ("rust-capnp-rpc" ,rust-capnp-rpc-0.13) + ("rust-capnpc" ,rust-capnpc-0.13) ("rust-chrono" ,rust-chrono-0.4) ;; for sqv, sop ("rust-clap" ,rust-clap-2) ;; for sqv ("rust-colored" ,rust-colored-1.9.1) @@ -86,14 +86,16 @@ ("rust-dirs" ,rust-dirs-2.0) ("rust-dyn-clone" ,rust-dyn-clone-1) ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) + ("rust-eax" ,rust-eax-0.3) ;;("rust-failure" included ("rust-filetime" ,rust-filetime-0.2) ("rust-flate2" ,rust-flate2-1) ("rust-fs2" ,rust-fs2-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-hyper" ,rust-hyper-0.12) - ("rust-hyper-tls" ,rust-hyper-tls-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-hyper-tls" ,rust-hyper-tls-0.4) ("rust-idna" ,rust-idna-0.2) ("rust-itertools" ,rust-itertools-0.9) ;; for sq ("rust-lalrpop" ,rust-lalrpop-0.19) @@ -112,14 +114,16 @@ ("rust-rand" ,rust-rand-0.7) ("rust-regex" ,rust-regex-1) ("rust-rusqlite" ,rust-rusqlite-0.24) + ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2) + ("rust-socket2", rust-socket2-0.3) ("rust-structopt" ,rust-structopt-0.3) ;; for sop ("rust-tempfile" ,rust-tempfile-3) ;; for sq ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-core" ,rust-tokio-core-0.1) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1) ("rust-url" ,rust-url-2) - ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.2) + ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.4) ("rust-winapi" ,rust-winapi-0.3) ("rust-zbase32" ,rust-zbase32-0.1)) #:cargo-development-inputs -- 2.21.3
Hello,
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> v1.0.0 was released just today. Here is the update :-)
Thank you.
I think the big warning in rust-dbl-0.3's description could be removed.
Also, I notice you often skip builds, even though this is not required.
E.g., I could build rust-pin-utils-0.1 without any problem just removing
the #:skip-build keyword. I think the trend is use #:skip-build only
when absolutely necessary.
Finally, I wonder if replacements, e.g., rust-capnp-futures-0.10 by
rust-capnp-futures-0.13, require to remove the old variable. It could be
used out of the code base.
WDYT?
Regards,
--
Nicolas Goaziou
Hi Nicolas, > > I think the big warning in rust-dbl-0.3's description could be removed. Fine for me. will do. > Also, I notice you often skip builds, even though this is not required. > E.g., I could build rust-pin-utils-0.1 without any problem just removing > the #:skip-build keyword. I think the trend is use #:skip-build only > when absolutely necessary. Building crate "libraries" is of no use. Rust still has no notion of "libraries", neither shared not static. it does not even provide any means to use "object"-files from another package. All crates will be build again and again for each package using it. And you will notice that the output of most crates will be almost empty (only exception: if the crate build a program). This is why the crates importer sets skip-build for all packages it imports as dependencies. (It also does not add the crate-build-dependencies for these packages.) > Finally, I wonder if replacements, e.g., rust-capnp-futures-0.10 by > rust-capnp-futures-0.13, require to remove the old variable. It could be > used out of the code base. We are lacking a common practice on this yet. IMO it does not make much sense to provide packages for old crates. crates are using semantic versioning, so in the long run we might end up maintaining hundreds of old packages. Concrete for this bunch of packages: These have been added by myself when packaging sequoia last April. So maybe thos turns the balance :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |
[-- Attachment #1: Type: text/plain, Size: 2340 bytes --] On Thu, Dec 17, 2020 at 05:05:58PM +0100, Hartmut Goebel wrote: > Hi Nicolas, > > > > I think the big warning in rust-dbl-0.3's description could be removed. > > Fine for me. will do. > > > > Also, I notice you often skip builds, even though this is not required. > > E.g., I could build rust-pin-utils-0.1 without any problem just removing > > the #:skip-build keyword. I think the trend is use #:skip-build only > > when absolutely necessary. > > Building crate "libraries" is of no use. Rust still has no notion of > "libraries", neither shared not static. it does not even provide any means > to use "object"-files from another package. All crates will be build again > and again for each package using it. And you will notice that the output of > most crates will be almost empty (only exception: if the crate build a > program). > > This is why the crates importer sets skip-build for all packages it imports > as dependencies. (It also does not add the crate-build-dependencies for > these packages.) I'm in favor of building the packages anyway, it serves as a check that the inputs are actually correct. > > Finally, I wonder if replacements, e.g., rust-capnp-futures-0.10 by > > rust-capnp-futures-0.13, require to remove the old variable. It could be > > used out of the code base. > > We are lacking a common practice on this yet. IMO it does not make much > sense to provide packages for old crates. crates are using semantic > versioning, so in the long run we might end up maintaining hundreds of old > packages. > > Concrete for this bunch of packages: These have been added by myself when > packaging sequoia last April. So maybe thos turns the balance :-) > As long as you're sure there's nothing else in tree that's depending on it, I suppose it's ok to remove them. I view it similarly when I clean up package names to drop not significant digits from the versioning in the name, ie rust-slog-2.5 -> rust-slog-2. If the rust ecosystem slows down some I'd be happy to keep more versions but it's already one of the largest package modules we have. -- Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --]
The discussion about how to package crates did not got an actual momentum. Also this will become a topic on Guix day, which is in 4 weeks time. I don't want to have this path hanging around that long. Thus I propose: For this patch: - For updated packages and packages where a new semver-version was added, #:skip-build will be kept. - For newly added packages the value set by the crate importer will be used (which is #:skip-build #t) WDYT? If you agree, I'm going to update the patches and commit. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |
[-- Attachment #1: Type: text/plain, Size: 648 bytes --] On Wed, Jan 06, 2021 at 07:05:28PM +0100, Hartmut Goebel wrote: > The discussion about how to package crates did not got an actual > momentum. Also this will become a topic on Guix day, which is in 4 weeks > time. > > I don't want to have this path hanging around that long. Thus I propose: > > For this patch: > > - For updated packages and packages where a new semver-version was > added, #:skip-build will be kept. > > - For newly added packages the value set by the crate importer will be > used (which is #:skip-build #t) > > WDYT? If you agree, I'm going to update the patches and commit. Your plan sounds good to me. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --]
Pushed as a240686cc34454a3221c31f3c546985c2c90bf2c