milky_rust_sdk/lib.rs
1// Copyright 2025 hanasaki <hanasakayui2022@gmail.com>. See the COPYRIGHT
2// file at the top-level directory of this distribution and at
3// http://rust-lang.org/COPYRIGHT.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
11pub mod api;
12pub mod client;
13pub mod error;
14pub mod logger;
15pub mod types;
16pub mod utils;
17
18pub use client::MilkyClient;
19pub use error::{MilkyError, Result};
20pub use types::communication::{Communication, WebHookConfig, WebSocketConfig};
21
22pub mod prelude {
23 pub use milky_types::common::*;
24 pub use milky_types::{Event, EventKind, MessageEvent};
25 pub use milky_types::friend::*;
26 pub use milky_types::group::*;
27 pub use milky_types::message::in_coming::*;
28 pub use milky_types::message::out_going::*;
29}