C 495fd59f9d Show both sides of a transfer in the dashboard feed il y a 3 jours
..
concurrency.rs 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset il y a 4 jours
inflight.rs b401e9833d Cut 0.4.0, with a deadline on held funds and no cross-account read il y a 4 jours
integration.rs 495fd59f9d Show both sides of a transfer in the dashboard feed il y a 3 jours
projection.rs 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset il y a 4 jours
readme.rs 70b9992a2d Make kuatia the only crate an application depends on il y a 3 jours
workflow.rs 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset il y a 4 jours

readme.rs

//! The README's quick example is the `quickstart` program's source, so a README
//! that drifts from the compiler fails here rather than in a reader's editor.

const README: &str = include_str!("../../../README.md");
const QUICKSTART: &str = include_str!("../examples/quickstart.rs");

#[test]
fn readme_quick_example_matches_the_compiled_example() {
let body: Vec<&str> = QUICKSTART
.lines()
.skip_while(|line| line.starts_with("//!") || line.is_empty())
.collect();
assert!(
README.contains(&body.join("\n")),
"README.md's quick example has drifted from crates/kuatia/examples/quickstart.rs; \
paste that file's code (without its //! header) into the fence"
);
}