see_sdk/lib.rs
1/*!
2 * Copyright (c) 2025-2026 S.EE Development Team
3 *
4 * This source code is licensed under the MIT License,
5 * which is located in the LICENSE file in the source tree's root directory.
6 *
7 * File: lib.rs
8 * Author: S.EE Development Team <dev@s.ee>
9 * File Created: 2025-10-23 11:07:28
10 *
11 * Modified By: S.EE Development Team <dev@s.ee>
12 * Last Modified: 2026-01-19 23:44:40
13 */
14
15//! A Rust SDK for content sharing services (URL, Text, File).
16//!
17//! This crate provides a simple and elegant interface for content sharing
18//! using the s.ee service.
19//!
20//! # Example
21//!
22//! ```no_run
23//! use see_sdk::client::Client;
24//! use see_sdk::config::Config;
25//! use see_sdk::url::builder::UrlShortenerRequestBuilder;
26//! use see_sdk::url::ShortenService;
27//!
28//! let config = Config::default().with_api_key("your-api-key");
29//! let client = Client::new(config).unwrap();
30//!
31//! let request = UrlShortenerRequestBuilder::new("https://example.com")
32//! .unwrap()
33//! .build();
34//!
35//! let response = client.shorten(request).unwrap();
36//! println!("Shortened URL: {}", response.data.short_url);
37//! ```
38
39pub mod client;
40
41pub mod error;
42
43pub mod url;
44
45pub mod config;
46
47pub mod tag;
48
49pub mod domain;
50
51pub mod file;
52
53pub mod text;
54
55#[cfg(test)]
56mod test_helpers;