mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-10-09 01:52:22 +00:00
The one-photo MediaItemPayload literal was written out at six sites across the urls and send test modules; ctx::test_support::photo_item holds it once. permanent_error now delegates to api_error (it stays a fn pointer because that is what MockSender::scripted takes), misskey's x_media_site_id wrapper is gone in favour of the function it renamed, and PixivAPI is no longer re-exported -- nothing outside pixiv/api.rs names it.
10 lines
220 B
Rust
10 lines
220 B
Rust
mod api;
|
|
mod interface;
|
|
mod model;
|
|
|
|
pub use api::{PixivError, disable, fetch, validate};
|
|
pub use interface::{
|
|
Illustration, PATTERN, PixivSite, cache_key, enabled, fetch_from_url, is_retryable,
|
|
media_headers,
|
|
};
|