use-go-module
Go module path, version, dependency, and replacement primitives for RustUse.
Experimental
use-go-module is experimental while use-go remains below 0.3.0.
Example
use ;
let path = new?;
let version = new?;
let dependency = new;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Lightweight Go module paths and versions.
- Dependency, requirement, replacement, and directive-kind metadata.
- Pseudo-version-shaped labels for metadata use.
Non-goals
- Full semantic import versioning.
- Module graph resolution.
- Contacting module proxies or registries.
- Shelling out to
go mod.
License
Licensed under either Apache-2.0 or MIT.