Expand description
Package manager for Sage.
This crate handles:
- Parsing
[dependencies]fromgrove.toml - Managing
grove.lockfor reproducible builds - Package cache at
~/.grove/packages/<name>/<version>/ - Git-based dependency resolution
Structs§
- GitDependency
- A git-based dependency specification.
- Lock
File - The lock file format for grove.lock.
- Locked
Package - A locked package entry.
- Package
Cache - Manages the local package cache.
- Path
Dependency - A local path dependency specification.
- Resolved
Packages - Result of dependency resolution.
Enums§
- Dependency
Spec - A dependency specification from grove.toml.
- Package
Error - Errors that can occur during package operations.
Functions§
- check_
is_ library - Check if a package has a
runstatement (making it an executable, not a library). - check_
lock_ freshness - Check if dependencies are up-to-date with lock file.
- install_
from_ lock - Install dependencies from an existing lock file.
- parse_
dependencies - Parse dependencies from a TOML table.
- resolve_
dependencies - Resolve all dependencies from a project’s grove.toml.
- resolve_
path - Resolve a path dependency to an absolute path.