Skip to main content

dependency_check_updates_core/
lib.rs

1//! Core domain types and orchestration for dependency-check-updates.
2//!
3//! Defines shared traits that each language crate implements:
4//! - [`ManifestHandler`] — parse manifests and apply format-preserving updates
5//! - [`RegistryClient`] — resolve versions from package registries
6//! - [`Scanner`] — discover manifest files in a directory
7
8#![warn(missing_docs)]
9
10pub mod error;
11pub mod http;
12pub mod manifest;
13pub mod style;
14pub mod types;
15pub mod util;
16pub mod version;
17
18// Re-export commonly used types
19pub use error::DcuError;
20pub use http::{DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_REQUEST_TIMEOUT_SECS, build_client};
21pub use manifest::{ManifestHandler, ParsedManifest, RegistryClient, ScanResult, Scanner};
22pub use style::{FileStyle, IndentStyle, LineEnding};
23pub use types::{
24    BumpType, DependencySection, DependencySpec, ManifestKind, ManifestRef, PlannedUpdate,
25    ResolvedVersion, TargetLevel,
26};
27pub use util::{collect_task_results, strip_range_prefix};
28pub use version::{SelectableVersion, select_version};