Skip to main content

Crate cargo_fresh

Crate cargo_fresh 

Source
Expand description

cargo-fresh 的 lib 入口。

主要目的是让 tests/ 下的集成测试能直接调内部模块(如 cargo_fresh::package::sparse_index::fetch_latest),而不必通过 启动子进程的方式去触达。bin 与 lib 共用同一份模块树。

Modules§

cli
display
downloader
自实现的二进制下载器——替代 cargo binstall 子进程。
errors
cargo-fresh 的可执行错误类型与提示映射。
locale
models
package
updater