#![deny(rust_2018_idioms)]
#[cfg(not(unix))]
compile_error!(
"opencode_rs only supports Unix-like platforms (Linux/macOS). Windows is not supported."
);
pub mod error;
pub mod types;
pub mod version;
#[cfg(feature = "http")]
pub mod http;
#[cfg(feature = "sse")]
pub mod sse;
#[cfg(feature = "server")]
pub mod server;
#[cfg(feature = "cli")]
pub mod cli;
pub mod client;
pub use crate::client::Client;
pub use crate::client::ClientBuilder;
pub use crate::error::OpencodeError;
pub use crate::error::Result;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");