# kcode-rust-libs-v2
A compact synchronous Rust library for creating, opening, completely replacing, validating, and publishing small agent-authored Rust libraries.
The 1.0.0 API is exactly `create`, `open`, `docs`, and `Lib::{write, check, publish}`. `Lib::files` contains the complete useful source once, including `Documentation.md` and excluding `Cargo.lock`. Writes are optimistic complete replacements; checks use an ephemeral dependency resolution; successful checks and publications return `()`.
See `Documentation.md` for the complete integration contract.