Docs.rs
phi-core-0.7.0
phi-core 0.7.0
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
LazyBouy
Dependencies
async-trait ^0.1
normal
base64 ^0.22
normal
chrono ^0.4
normal
fs2 ^0.4
normal
futures ^0.3
normal
openapiv3 ^2
normal
optional
rand ^0.10.0
normal
reqwest ^0.12
normal
reqwest-eventsource ^0.6
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
thiserror ^2
normal
tokio ^1
normal
tokio-stream ^0.1
normal
tokio-util ^0.7
normal
toml ^0.8
normal
tracing ^0.1
normal
uuid ^1
normal
tempfile ^3
dev
tokio ^1
dev
wiremock ^0.6
dev
Versions
69.98%
of the crate is documented
Go to latest version
Platform
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 compaction
phi_
core
0.7.0
Module compaction
Module Items
Structs
In phi_
core::
context
phi_core
::
context
Module
compaction
Copy item path
Source
Structs
ยง
Compacted
Section
A range of turns plus the compacted replacement messages for that range.
Compaction
Block
Non-destructive compaction overlay. Stored on
LoopRecord
alongside the original messages. When present, the context loader uses this block instead of raw messages.
TurnMap
Maps turn indices to message index ranges within a message array. Built from messages by grouping on
TurnId.turn_index
.
Turn
Range
A range of turns within a loop, identified by turn indices. Both bounds are inclusive. These correspond to
TurnId.turn_index
values.