Skip to main content

Module core

Module core 

Source
Expand description

Core abstractions for workspace and dependency resolution.

This module provides the fundamental traits and types for working with workspaces across different package managers. The architecture is built around:

  • Traits - Define the interface for discovery, parsing, and resolution
  • Types - Provide data structures for representing workspaces and dependencies

§Trait-Based Architecture

The trait-based design allows for clean separation of concerns and makes it easy to add support for new package managers by implementing the core traits:

Re-exports§

pub use traits::DependencyResolver;
pub use traits::LockfileParser;
pub use traits::WorkspaceDiscovery;
pub use types::DependencyRef;
pub use types::DependencySource;
pub use types::DependencySpec;
pub use types::LockfileEntry;
pub use types::PackageManager;
pub use types::Url;
pub use types::Version;
pub use types::VersionReq;
pub use types::Workspace;
pub use types::WorkspaceMember;

Modules§

traits
Core traits for workspace discovery, lockfile parsing, and dependency resolution.
types
Core types for representing workspaces, dependencies, and package managers.