Skip to content

Commit

Permalink
Update dependecies & Fix document
Browse files Browse the repository at this point in the history
  • Loading branch information
awolverp committed May 9, 2024
1 parent 5a3dd13 commit 87d885c
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 52 deletions.
93 changes: 50 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cachebox"
version = "2.2.3"
version = "2.2.4"
edition = "2021"

[lib]
Expand All @@ -13,9 +13,9 @@ codegen-units=1
strip = "symbols"

[dependencies]
hashbrown = { version = "0.14", default-features = false, features=["inline-more", "ahash", "raw", "rayon"]}
fastrand = "2"
parking_lot = "0.12"
hashbrown = { version = "0.14.5", default-features = false, features=["inline-more", "ahash", "rayon"]}
fastrand = "2.1.0"
parking_lot = "0.12.2"
pyo3 = {version = "0.21.2"}

[lints.clippy]
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Cachebox
![Downloads](https://static.pepy.tech/badge/cachebox) ![Downloads](https://static.pepy.tech/badge/cachebox/week)

[**v2 Changelog**](https://github.com/awolverp/cachebox/blob/main/CHANGELOG.md#200---2024-03-09) | [**Releases**](https://github.com/awolverp/cachebox/releases)
[**Changelog**](CHANGELOG.md) | [**Releases**](https://github.com/awolverp/cachebox/releases)

The fastest caching library with different implementations, written in Rust.

- 🚀 3-21x faster than other libraries (like cachetools and cacheout)
- 🚀 5-23x faster than other libraries (like cachetools and cacheout)
- 📊 Very very low memory usage (1/3 of dictionary)
- **(R)** written in Rust
- 🤝 Support Python 3.8 and above
Expand Down Expand Up @@ -52,7 +52,6 @@ class APIResource:
- 🎓 [Usage](#API)
- 🚀 [Performance table](#performance-table)
- ⁉️ [Frequently Asked Questions](#frequently-asked-questions)
- 🆕 [*CHANGELOG*](CHANGELOG.md)
- ⏱️ [*BENCHMARK*](https://github.com/awolverp/cachebox-benchmark)

## When i need caching?
Expand Down Expand Up @@ -99,7 +98,7 @@ and ...

**High-speed** - Is speed important for you? It's is here for you; see [**here**](https://github.com/awolverp/cachebox-benchmark).

**Zero-dependecy** - As we said, `cachebox` written in Rust so you have not to install any other dependecies.
**Zero-dependecy** - As we said, `cachebox` written in Rust so you don't have to install any other dependecies.

**Thread-safe** - It's completely thread-safe and uses read-writer locks to prevent problems.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "cachebox"
version = "2.2.3"
version = "2.2.4"
description = "The fastest memoizing and caching Python library written in Rust"
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit 87d885c

Please sign in to comment.