Skip to content
Q

Qcell

Statically-checked alternatives to RefCell and RwLock

by uazuFree

#3963in Utilities
0In stores

Description

qcell is a Rust crate that provides statically checked alternatives to RefCell and RwLock. Instead of panicking at runtime, as RefCell does…

Highlights

  • Compile-time checks instead of runtime panics
  • Owner-based locking as an alternative to RwLock
  • Rust crate with documentation
  • Dual licensed Apache-2.0 or MIT

Ratings & Reviews

No ratings yet

Be the first to rate Qcell.

People also visit

R

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency

AI Skills
Get
M

m14-mental-model

Learning Rust concepts

AI Skills
Get
B

Broccoli

A robust message queue system for Rust applications

Utilities
Launch
R

rust-engineer

Writes, reviews, and debugs idiomatic Rust code

AI Skills
Get
R

rust-skills

Comprehensive Rust coding guidelines with 265 rules across 26 categories

AI Skills
Get
U

unsafe-checker

CRITICAL: Use for unsafe Rust code review and FFI

AI Skills
Get

Qcell FAQ

What is qcell?

A Rust crate with cell types that are statically checked, offered as alternatives to RefCell and RwLock.

How is it different from RefCell?

RefCell panics at runtime when borrows conflict. The cells in qcell give compilation errors instead.

Is it free?

Yes. You can use it under either the Apache License 2.0 or the MIT license.

Where is the documentation?

In the crate documentation, which the README links to.

What are the best Qcell alternatives?

Popular alternatives to Qcell include Broccoli, C2rust and CXX QT. See all Qcell alternatives

Developer Stuff

Badges