Expand description
§Frate Core Library
This crate contains the core logic and building blocks of the frate
tool – a developer-friendly package manager
for local tool installations with a cargo
-like UX.
frate
allows teams to define, sync, and install binary tools using versioned manifests (frate.toml
, frate.lock
),
without needing system-wide privileges.
This library is built for the frate
CLI, but you can also reuse it as a backend in other tools.
§Modules Overview
toml
– Parsing and serialization offrate.toml
manifest fileslock
– Lockfile structure and sync logic (frate.lock
)registry
– Handling registry sources and resolving tool versionsinstaller
– Installing, caching, and managing tool binariesshims
– Creating proxy shims to forward tool invocationsutil
– Shared utilities (paths, logging, hashing, etc.)global
– Global state and configuration (e.g., cache directory)
Re-exports§
pub use shims::*;
pub use installer::*;
pub use lock::*;
pub use registry::*;
pub use toml::*;
pub use util::*;
pub use global::cache::*;