Cargo Features

tiktok-api has no features set by default.

[dependencies]
tiktok-api = { version = "0.3.0", features = ["with_video_upload", "with_tokio", "with_tokio_fs"] }
with_video_upload = reqwest

Affects share::video_upload, v2::video_upload_init, tiktok-api::media_transfer

with_tokio with_tokio_fs? = tokio, tokio-util

Affects video_upload::video_upload_from_reader_stream, media_transfer::upload_part_from_reader_stream

with_tokio_fs = with_tokio

Enables fs of tokio

Affects video_upload::video_upload_from_file, tiktok-api::tokio_fs_util, media_transfer::upload_part_from_file, media_transfer::upload_from_file

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

reqwest with_video_upload?

Enables reqwest ^0.11

tokio with_tokio? with_tokio_fs?
tokio-util with_tokio?