#![cfg_attr(feature = "io", doc = include_str!("../README.md"))]
#![cfg_attr(
not(feature = "io"),
doc = "Game-agnostic Thunderstore engine, built without the `io` feature: the data models, dependency resolver, game definitions, plan types, pure planners, and pure queries. See the crate README for the full feature list."
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![forbid(unsafe_code)]
#[cfg(all(
feature = "io",
not(any(feature = "rustls-tls", feature = "native-tls"))
))]
compile_error!(
"thunderstore-engine requires exactly one TLS backend: enable rustls-tls (default) or native-tls"
);
#[cfg(all(feature = "rustls-tls", feature = "native-tls"))]
compile_error!(
"thunderstore-engine: enable only one TLS backend, rustls-tls OR native-tls, not both"
);
#[cfg(feature = "io")]
pub mod client;
pub mod ecosystem;
pub mod error;
pub mod extract;
pub mod install;
pub(crate) mod intern;
pub mod manifest;
pub mod models;
pub mod profile;
pub mod progress;
pub mod query;
pub mod resolve;
mod retry;
pub mod steam;
#[cfg(feature = "test-support")]
pub mod test_support;
pub(crate) mod util;
pub use error::{Error, Result};
pub use progress::{NoopProgress, ProgressHandle, ProgressReporter};
pub use retry::RetryPolicy;