summaryrefslogtreecommitdiff
path: root/px/packages
diff options
context:
space:
mode:
authorFranz Geffke <m@f-a.nz>2025-03-26 19:56:22 +0000
committerFranz Geffke <m@f-a.nz>2025-03-26 19:56:22 +0000
commit222c179c068a278a7e51ae90cf5b3429ce9b23fc (patch)
tree603884f9f6b6cef7be00a741cb6060d10284357d /px/packages
parent8a59f599ff8c478c1d483e6de1885035097f265e (diff)
px: rust-moka: Added v0.12.10
Diffstat (limited to 'px/packages')
-rw-r--r--px/packages/crates-io.scm52
1 files changed, 51 insertions, 1 deletions
diff --git a/px/packages/crates-io.scm b/px/packages/crates-io.scm
index 001e884..96c5537 100644
--- a/px/packages/crates-io.scm
+++ b/px/packages/crates-io.scm
@@ -1432,4 +1432,54 @@ WASM and native applications.")
(home-page "https://github.com/metrics-rs/quanta")
(synopsis "high-speed timing library")
(description "This package provides high-speed timing library.")
- (license license:expat))) \ No newline at end of file
+ (license license:expat)))
+
+(define-public rust-moka-0.12
+ (package
+ (name "rust-moka")
+ (version "0.12.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "moka" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09h9ww66vxrkizma99n7ib2fm91crkw4msp650j2i94lr911ccm9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:features '("future")
+ #:cargo-test-flags '("--features" "future")
+ #:cargo-inputs (("rust-async-lock" ,rust-async-lock-3)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.9)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-event-listener" ,rust-event-listener-5)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-loom" ,rust-loom-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-portable-atomic" ,rust-portable-atomic-1)
+ ("rust-quanta" ,rust-quanta-0.12)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-tagptr" ,rust-tagptr-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-uuid" ,rust-uuid-1))
+ #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2)
+ ("rust-ahash" ,rust-ahash-0.8)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/moka-rs/moka")
+ (synopsis "fast and concurrent cache library inspired by Java Caffeine")
+ (description
+ "This package provides a fast and concurrent cache library inspired by Java
+Caffeine.")
+ (license (list license:expat license:asl2.0)))) \ No newline at end of file