deepseek_api/
lib.rs

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