Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-vcs API Reference (generated)

Crate: vox-vcs · Version: 0.6.0 · Target: Library (lib.rs)

VCS backend abstraction for Vox — VcsBackend trait, in-memory CasFallback, and (later) the jj-lib engine. The single home for all jj_lib:: calls.

vox-vcs — the VCS backend abstraction for Vox.

All jj-lib calls are confined to this crate (jj_backend.rs). The public async VCS API is [VcsBackend]; use [backend::boxed_for] to obtain a backend for a given path. For jj repos the backend is backed by [jj_actor::JjActorHandle] — a Send + Sync handle to a dedicated OS thread that owns the !Send jj engine.

  • jj (default): enables the jj-lib engine (jj_backend, jj_actor, JjBackend, JjActorHandle) and the tokio/futures dependencies they require. Build-time-sensitive consumers that do not need jj can opt out with --no-default-features; the VcsBackend trait, CasFallback, and all types remain available.
FeatureDefault / Enables
defaultjj
jjdep:jj-lib, dep:tokio, dep:futures
DependencyKind
vox-configNormal
ModuleDescription
backend—
cas_fallback—
types—
jj_backend—