#![warn(missing_docs)]
#![forbid(unsafe_code)]
mod articles;
mod client;
mod companies;
mod config;
mod error;
mod field;
mod frames;
mod http;
mod models;
mod params;
mod sources;
mod stream;
mod time;
mod version;
mod vocab;
pub mod webhooks;
mod ws;
pub use articles::{Articles, SearchAllResult};
pub use client::Client;
pub use companies::Companies;
pub use config::{Config, ConfigBuilder, RetryOnBurst};
pub use error::{
ApiError, ApiErrorKind, DecodeError, Error, FieldIssue, NetworkError, PreemptedError, Result,
TimeoutError, ValidationError, WebhookVerificationError, WebhookVerificationReason,
};
pub use field::Field;
pub use models::{
Article, ArticlePage, ArticleSource, CacheInfo, Company, CompanyList, CompanyRecord, EventTag,
Listing, Media, Pagination, Sentiment, SkippedEntry, Source, SourceList, StreamEvent,
StreamEventKind,
};
pub use params::{
CompanySearchParams, DateInput, GetArticleOptions, RawStreamParams, SearchAllOptions,
SearchParams, StreamParams,
};
pub use sources::Sources;
pub use stream::{AdmittedInfo, FinlightStream, QuotaWaitInfo, ReconnectInfo, StreamOptions};
pub use version::{PAYLOAD_VERSION, VERSION};
pub use vocab::{
CompanyRole, ConnectionErrorCode, EventDirection, EventType, Importance, IncludeBlock, OrderBy,
PreemptReason, ProblemCode, RateLimitType, ReconnectReason, SentimentLabel, SortOrder,
SourceType, StreamEventName, WebhookEventName,
};
pub use webhooks::{WebhookEvent, WebhookPayload, WrongPayloadVersion};
pub use ws::{WsConnectFuture, WsConnector, WsIo};
#[cfg(doctest)]
#[doc = include_str!("../README.md")]
struct ReadmeDoctests;