//! Stable facade over the pre-1.0 `temporalio-*` Rust SDK.
//!
//! Owns config, client/worker builders, retry-policy and schedule builders,
//! error classification, and workflow-ID-encoded payload helpers. The five
//! `temporalio-*` crates are re-exported at the crate root so consumers
//! depend on `altair-temporal` alone.
//!
//! See the crate README for usage.

#![deny(missing_docs)]
#![forbid(unsafe_code)]
#![warn(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::missing_errors_doc)]

mod activity;
mod client;
mod config;
mod error;
pub mod prelude;
mod retry;
mod schedule;
mod worker;
pub mod workflow_id;

pub use activity::classify_error;
pub use client::Client;
pub use config::{Config, TlsConfig};
pub use error::{BoxError, Error, Result};
pub use retry::{RetryPolicy, RetryPolicyBuilder};
pub use schedule::{Schedule, ScheduleBuilder, delete as delete_schedule};
pub use worker::{Worker, WorkerBuilder};

// Underlying-lib re-exports
pub use ::temporalio_client;
pub use ::temporalio_common;
pub use ::temporalio_macros;
pub use ::temporalio_sdk;
pub use ::temporalio_sdk_core;
