Skip to main content

pro_core/
lib.rs

1//! pro-core: Core library for Pro Python package manager
2//!
3//! This crate provides the core functionality for Pro:
4//! - Dependency resolution (using pubgrub)
5//! - Package installation with caching
6//! - Native wheel/sdist building
7//! - Virtual environment management
8//! - Security auditing (CVE checking)
9//! - PEP standards compliance
10
11pub mod affected;
12pub mod audit;
13pub mod builder;
14pub mod docker;
15pub mod dotenv;
16pub mod error;
17pub mod index;
18pub mod installer;
19pub mod lockfile;
20pub mod path_dep;
21pub mod pep;
22pub mod polylith;
23pub mod registry;
24pub mod resolver;
25pub mod semver;
26pub mod venv;
27pub mod versioning;
28pub mod workspace;
29
30pub use affected::{
31    build_dependency_graph, detect_affected, detect_affected_with_transitive,
32    get_transitive_affected, AffectedConfig, AffectedResult,
33};
34pub use audit::{
35    AuditConfig, AuditReport, Auditor, FixRecommendation, FixResult, IgnoredVulnerability,
36    Severity, Vulnerability,
37};
38pub use docker::{build_image, DockerConfig, DockerfileGenerator};
39pub use dotenv::{load_dotenv, DotenvConfig};
40pub use error::{Error, Result};
41pub use installer::{default_cache_dir, InstallResult, Installer};
42pub use lockfile::Lockfile;
43pub use path_dep::{install_path_dependency, load_path_dependencies, PathDependency};
44pub use polylith::{Brick, BrickType, Polylith};
45pub use registry::{RegistryConfig, RegistryManager, ResolvedCredentials};
46pub use venv::VenvManager;
47pub use versioning::{bump_version, get_git_version, get_version, VersioningConfig};
48pub use workspace::{MemberInfo, Workspace};