Skip to content

Commit 57fda35

Browse files
committed
bump ruc to v10
1 parent a417053 commit 57fda35

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.claude/docs/review-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ If the change touches the write path, flush, compaction, or MANIFEST:
9191
### 4.4 Code Style Rules
9292
These are enforced project conventions — violations are findings (severity LOW):
9393
- **No lint suppression**: `#[allow(...)]` is forbidden. Warnings must be fixed, not silenced.
94-
- **No inline paths**: Use `use` imports at file top. No `std::foo::Bar::new()` in function bodies (exception: single-site disambiguation of name collisions).
94+
- **No inline paths**: Use `use` imports at file top. No `std::foo::Bar::new()` in function bodies. **Exception**: a single-use reference in a file is allowed to stay inline. For multi-use, prefer `use std::mem;` + `mem::take(..)` style (import parent module, not leaf item).
9595
- **Grouped imports**: Common prefixes must be merged — `use std::sync::{Arc, Mutex};` not two separate `use` lines.
9696
- **Doc-code alignment**: Public API changes must have matching doc comment / README / CLAUDE.md updates. Stale docs are a finding.
9797

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Supporting documentation in `.claude/docs/`:
5151

5252
- All clippy warnings are errors (CI enforced)
5353
- **No `#[allow(...)]`** — fix warnings at the source, never suppress them
54-
- **No inline paths** — use `use` imports at file top; no `std::foo::Bar::new()` in function bodies
54+
- **No inline paths** — use `use` imports at file top; no `std::foo::Bar::new()` in function bodies. **Exception**: a single-use reference in a file is allowed to stay inline. For multi-use, prefer `use std::mem;` + `mem::take(..)` style (import parent module, not leaf item)
5555
- **Grouped imports** — merge common prefixes: `use std::sync::{Arc, Mutex};`
5656
- **Doc-code alignment** — public API changes must update corresponding docs
5757
- `parking_lot` for Mutex/RwLock (non-reentrant, no poisoning)

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mmdb"
3-
version = "3.1.0"
3+
version = "3.1.1"
44
edition = "2024"
55
description = "The storage engine behind vsdb — a pure-Rust LSM-Tree key-value store"
66
license = "MIT"
@@ -20,7 +20,7 @@ lz4_flex = "0.13"
2020
zstd = "0.13"
2121
moka = { version = "0.12", features = ["sync"] }
2222
parking_lot = "0.12"
23-
ruc = "9.3.1"
23+
ruc = "10.0.0"
2424
thiserror = "2"
2525
tracing = "0.1"
2626
arc-swap = "1.8.2"

0 commit comments

Comments
 (0)