Expand description
vx-rez-adapter bridges vx and
rez-next package environments.
The crate is intended to expose two capabilities:
- Resolving the environment of one or more rez packages.
- Launching a tool as a child process with that environment applied.
Both capabilities are implemented on top of the rez-next SDK:
RezAdapter::resolve_envdelegates repository discovery, dependency resolution, variant selection, and Rex activation torez-next-runtime.RezAdapter::launchspawns the program with that environment applied and reports its exit status.
Re-exports§
pub use env::EnvAction;pub use env::EnvDelta;pub use env::ResolvedEnv;pub use env::env_key;pub use env::path_separator;pub use error::Error;pub use error::Result;pub use launch::LaunchOutcome;pub use launch::LaunchRequest;pub use process::which;pub use resolve::resolve_env;pub use resolve::resolve_env_async;
Modules§
- env
- Environment representation produced by a rez resolve.
- error
- Error and result types for the adapter.
- launch
- Describing and reporting the launch of a tool inside a resolved environment.
- process
- Spawning a tool inside a resolved environment.
- resolve
- Dependency resolution and activation through the Rez Next runtime facade.
Structs§
- Resolve
Request - A request to resolve the environment of a set of rez packages.
- Resolve
Target - The platform and architecture used to select package variants.
- RezAdapter
- Resolves rez package environments and launches tools inside them.
Type Aliases§
- Environment
- An ordered map of environment variable name to value.