Skip to content

Commit e2f6512

Browse files
committed
feat(hl): add SliceIntervalRwLock
1 parent 9d5e117 commit e2f6512

File tree

5 files changed

+545
-9
lines changed

5 files changed

+545
-9
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ repository = "https://github.com/yvt/interlock-rs"
1111

1212
[features]
1313
doc_cfg = []
14-
std = []
14+
std = [
15+
"stable_deref_trait/std",
16+
"thiserror",
17+
]
1518

1619
[dependencies]
1720
guard = "0.5.1" # <https://github.com/rust-lang/rfcs/pull/1303> polyfill
1821
futures = { version = "0.3.16", default-features = false }
1922
pin-utils = "0.1.0"
2023
pin-project = "1.0.8"
2124
pin-cell = "0.1.1"
25+
stable_deref_trait = { version = "1.2.0", default-features = false }
26+
thiserror = { version = "1.0.28", optional = true }
2227

2328
[dev-dependencies]
2429
quickcheck_macros = "1.0.0"

src/hl/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
//! Higher-level synchronization primitives.
2+
3+
pub mod slice;

0 commit comments

Comments
 (0)