rivox 1.0.0

Universal polyglot build coordination layer for Python, Rust, and Node monorepos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod go;
pub mod gradle;
pub mod node;
pub mod python;
pub mod rust;

use crate::graph::GraphNode;
use anyhow::Result;
use std::path::{Path, PathBuf};

pub trait EcosystemAdapter: Send + Sync {
    fn name(&self) -> &'static str;
    fn detect_tool(&self) -> Result<String>;
    fn resolve(&self, workspace_path: &Path, frozen: bool) -> Result<PathBuf>;
    fn parse_lockfile(&self, lockfile_path: &Path) -> Result<Vec<GraphNode>>;
}