Package manager
The full design and behavior are in import-v3.md. Summary:
- External dependencies are declared in
lt.toml([dependencies]), not on import lines. Imports use<key>/<path>. - v1 sources: git (
https/ssh) and local paths. No registry. - Versions: semver ranges, exact tags, or 40-hex commits. Transitive resolution with one version per source.
lt.lockis the resolution graph: source, commit, root, sha256 per file, and requirement edges. Build/check are read-only; onlylt add/lt updatewrite the lock.- Cache:
$XDG_CACHE_HOME/ltor~/.cache/lt;LT_CACHE_DIRoverrides it.lt vendorcopies locked sources tovendor/for offline builds. - Commands:
lt add,lt remove,lt update <key>|--all,lt vendor.