mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add rust-scoped-tls.
* gnu/packages/crates-io.scm (rust-scoped-tls): New variable.
This commit is contained in:
parent
f6a1efbca4
commit
cbfef1f903
1 changed files with 21 additions and 0 deletions
|
@ -578,6 +578,27 @@ (define-public rust-rustc-std-workspace-core
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-scoped-tls
|
||||
(package
|
||||
(name "rust-scoped-tls")
|
||||
(version "1.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "scoped-tls" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
|
||||
(build-system cargo-build-system)
|
||||
(home-page "https://github.com/alexcrichton/scoped-tls")
|
||||
(synopsis "Rust library providing the old standard library's scoped_thread_local")
|
||||
(description "This crate provides a library implementation of the standard
|
||||
library's old @code{scoped_thread_local!} macro for providing scoped access to
|
||||
@dfn{thread local storage} (TLS) so any type can be stored into TLS.")
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-unicode-xid
|
||||
(package
|
||||
(name "rust-unicode-xid")
|
||||
|
|
Loading…
Reference in a new issue