Cargo Features

s2rs has no features set by default.

[dependencies]
s2rs = { version = "0.7.15", features = ["full", "time", "rss", "html", "web_socket", "stream", "cookie", "file"] }
full = cookie, file, html, rss, stream, web_socket
time rss?

Enables chrono

Affects forum::ForumTopicRss, forum::ForumTopicRssPost, forum::ForumTopicRss, forum::ForumTopicRssPost

rss full? = time

Enables feed-rs ^1.3.0

Affects forum::GetForumTopicRssError

html full?

Enables html_parser ^0.6.3

web_socket full?

Enables tokio-tungstenite ^0.18.0

Affects cloud::Cloud

stream full?

Affects entities::stream, entities::user_stream, entities::project_stream, entities::studio_stream, entities::search, entities::explore, entities::me_stream

Enables basic-cookies

Affects login::LoginError, cookies::CookiesFromHeaderError, session::LoginError

file full?

Enables multipart of reqwest ^0.11.16