phalus 0.7.0

Private Headless Automated License Uncoupling System — AI-powered clean room software reimplementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod crates;
pub mod golang;
pub mod npm;
pub mod pypi;

use thiserror::Error;

#[derive(Debug, Error)]
pub enum RegistryError {
    #[error("HTTP error: {0}")]
    Http(#[from] reqwest::Error),
    #[error("package not found: {name}@{version}")]
    NotFound { name: String, version: String },
    #[error("package too large: {size_mb:.1} MB (limit: {limit_mb} MB)")]
    TooLarge { size_mb: f64, limit_mb: u64 },
    #[error("parse error: {0}")]
    Parse(String),
}