Skip to main content

agentbin_core/
lib.rs

1#![deny(unsafe_code)]
2
3pub mod auth;
4pub mod error;
5pub mod filetype;
6pub mod metadata;
7pub mod render;
8pub mod slug;
9pub mod storage;
10pub mod uid;
11
12pub use auth::{
13    construct_signing_payload, generate_keypair, sign_request, validate_timestamp, verify_signature,
14};
15pub use error::CoreError;
16pub use filetype::FileType;
17pub use metadata::{
18    AgentInfo, CollectionMember, CollectionRecord, Metadata, UploadRecord, UserRecord, UsersConfig,
19    VersionMeta,
20};
21pub use render::{highlight_code, render_markdown, wrap_plain_text};
22pub use slug::{extract_uid, slugify_filename, uid_with_slug};
23pub use storage::FileStorage;
24pub use uid::generate_uid;