@@ -43563,8 +43563,36 @@ escaped text to recover the original string.")
algorithm. Includes streaming compression and decompression.")
(license license:bsd-3)))
+(define-public rust-socket2-0.4
+ (package
+ (name "rust-socket2")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "socket2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.52
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rust-lang/socket2")
+ (synopsis "Networking sockets in Rust")
+ (description
+ "This package provides utilities for handling networking sockets with a
+maximal amount of configuration possible intended.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-socket2-0.3
(package
+ (inherit rust-socket2-0.4)
(name "rust-socket2")
(version "0.3.19")
(source
@@ -43582,14 +43610,7 @@ algorithm. Includes streaming compression and decompression.")
("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
- (home-page "https://github.com/alexcrichton/socket2-rs")
- (synopsis "Networking sockets in Rust")
- (description
- "This package provides utilities for handling networking sockets with a
-maximal amount of configuration possible intended.")
- (license (list license:asl2.0
- license:expat))))
+ (("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-socks-0.3
(package