feat: async + stream

This commit is contained in:
VC
2023-10-06 16:21:11 +02:00
parent b810de5e57
commit 0451543d6d
5 changed files with 170 additions and 86 deletions

View File

@@ -1,18 +1,21 @@
[package]
name = "tootube"
authors = ["VC <veretcle+framagit@mateu.be>"]
version = "0.2.0"
version = "0.3.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "^0.11", features = ["blocking", "json"] }
reqwest = { version = "^0.11", features = ["json", "stream"] }
tokio = { version = "^1", features = ["full"] }
clap = "^4"
serde = { version = "1.0", features = ["derive"] }
toml = "^0.5"
log = "^0.4"
env_logger = "^0.10"
futures-core = "0.3.28"
bytes = "1.5.0"
[profile.release]
strip = true