Docs.rs
split-brain-harness-1.0.0
split-brain-harness 1.0.0
Docs.rs crate page
MIT
26 June 2026
Links
Repository
crates.io
Source
Owners
bigblue-r4
Dependencies
anyhow ^1.0
normal
async-trait ^0.1
normal
axum ^0.7
normal
optional
axum-server ^0.7
normal
optional
base64 ^0.22
normal
crossterm ^0.28
normal
optional
ratatui ^0.29
normal
optional
reqwest ^0.12
normal
serde ^1.0
normal
serde_json ^1.0
normal
tokio ^1.38
normal
toml ^0.8
normal
tempfile ^3
dev
Versions
38.52%
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 code_gen
split_
brain_
harness
1.0.0
Module code_
gen
Module Items
Structs
Functions
In crate split_
brain_
harness
split_brain_harness
Module
code_
gen
Copy item path
Source
Structs
§
Code
Generator
Uses an inference engine to generate Rust source for a CapabilityRequest.
Generated
Tool
The result of one code generation pass.
Functions
§
build_
prompt
Build the generation prompt from a CapabilityRequest.
extract_
code_
block
Extract the content of the first
```rust ... ```
block in
response
. Returns
None
if no such block exists or the block is empty after trimming. Accepts both
rust
and
Rust
language tags and both LF and CRLF endings.
extract_
function_
name
Find the first
pub fn
or
fn
name in the source.