deepseek_api/lib.rs
1mod error;
2pub mod request;
3pub mod response;
4
5pub use error::*;
6cfg_if::cfg_if! {
7 if #[cfg(feature = "is_sync")] {
8 mod sync_impl;
9 mod builder;
10
11 pub use builder::*;
12 pub use sync_impl::json_stream;
13 pub use sync_impl::client::*;
14 pub use sync_impl::completions;
15 } else {
16 mod async_impl;
17 mod builder;
18
19 pub use builder::*;
20 pub use async_impl::json_stream;
21 pub use async_impl::client::*;
22 pub use async_impl::completions;
23 }
24}