osdk_core/lib.rs
1//! osdk-core: the reusable library behind the `osdk` universal SDK manager.
2//!
3//! Module map:
4//! - [`platform`] — host OS/arch/libc detection + per-SDK token mapping.
5//! - [`dirs`] — data/store/installs/shims/cache directory resolution.
6//! - [`config`] — layered configuration (CLI > env > project > user).
7//! - [`store`] — content-addressed store + link-mode materialization (dedup).
8//! - [`source`] — multi-source model + fastest-mirror selection.
9//! - [`version`] — version spec parsing + resolution + active-version walk-up.
10//! - [`http`] — shared HTTP client + helpers.
11//! - [`pipeline`] — download → verify → extract → CAS ingest orchestrator.
12//! - [`backend`] — the `Backend` trait, contexts, registry, and SDK impls.
13//! - [`shim`] — shim launcher generation.
14//! - [`lock`] — cross-process file locks.
15
16pub mod activate;
17pub mod backend;
18pub mod cache;
19pub mod config;
20pub mod container;
21pub mod dirs;
22pub mod error;
23pub mod http;
24pub mod i18n;
25pub mod inventory;
26pub mod lock;
27pub mod model;
28pub mod npm;
29pub mod npm_tools;
30pub mod package_registry;
31pub mod pipeline;
32pub mod platform;
33pub mod process;
34pub mod shim;
35pub mod source;
36pub mod store;
37pub mod tool;
38pub mod trust;
39pub mod verification;
40pub mod version;
41
42pub use backend::registry::Registry;
43pub use backend::{Backend, Ctx, InstallCtx};
44pub use error::{Error, Result};