workflow_http/lib.rs
1//! Minimal async HTTP client utilities for the workflow-rs workspace,
2//! providing simple GET helpers that work on both native and wasm32 targets.
3
4/// Error types returned by this crate.
5pub mod error;
6/// Result type alias used throughout this crate.
7pub mod result;
8
9cfg_if::cfg_if! {
10 if #[cfg(target_arch = "wasm32")] {
11 mod wasm;
12 pub use wasm::*;
13 } else {
14 mod native;
15 pub use native::*;
16 }
17}
18
19/// Re-exports the crate's commonly used types for convenient glob import.
20pub mod prelude {
21 pub use super::*;
22}