Docs.rs
fory-core-0.15.0
fory-core 0.15.0
Permalink
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
chaokunyang
Dependencies
byteorder ^1.4
normal
chrono ^0.4
normal
num_enum ^0.5.1
normal
paste ^1.0
normal
proc-macro2 ^1.0
normal
quote ^1.0
normal
syn ^2.0
normal
thiserror ^1.0
normal
criterion ^0.5.1
dev
rand ^0.8.5
dev
Versions
31.67%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module context
fory_
core
0.15.0
Module context
Module Items
Structs
In fory_
core::
resolver
fory_core
::
resolver
Module
context
Copy item path
Source
Structs
ยง
Context
Cache
Thread-local context cache with fast path for single Fory instance. Uses (cached_id, context) for O(1) access when using same Fory instance repeatedly. Falls back to HashMap for multiple Fory instances per thread.
Read
Context
Deserialization state container used on a single thread at a time. Sharing the same instance across threads simultaneously causes undefined behavior.
Write
Context
Serialization state container used on a single thread at a time. Sharing the same instance across threads simultaneously causes undefined behavior.