httpc/
lib.rs

1// Copyright (C) 2021-2025 Daniel Mueller <deso@posteo.net>
2// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3
4#[cfg(not(target_arch = "wasm32"))]
5pub use hyper;
6#[cfg(not(target_arch = "wasm32"))]
7pub use hyper_tls;
8#[cfg(target_arch = "wasm32")]
9pub use web_sys;
10
11mod error;
12mod issue;
13#[cfg(not(target_arch = "wasm32"))]
14mod native;
15#[cfg(target_arch = "wasm32")]
16mod wasm;
17
18pub use error::Error;
19pub use issue::Issue;
20#[cfg(not(target_arch = "wasm32"))]
21#[allow(deprecated)]
22pub use native::Client;
23#[cfg(target_arch = "wasm32")]
24#[allow(deprecated)]
25pub use wasm::Client;