Skip to content

Commit

Permalink
add post-media
Browse files Browse the repository at this point in the history
  • Loading branch information
Kouhei Aoyagi committed Apr 3, 2024
1 parent aa921e4 commit 9df7419
Show file tree
Hide file tree
Showing 12 changed files with 1,840 additions and 8 deletions.
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ serde_json = "1"
sha1 = { version = "0.10", optional = true }
thiserror = "1"
tokio = { version = "1", features = ["time"], optional = true }
tracing = "0.1"
form_urlencoded = { version = "1.2", optional = true }

[features]
Expand All @@ -33,7 +34,7 @@ retry = ["tokio"]
oauth = ["oauth2"]
oauth10a = ["base64", "hmac", "rand", "sha1", "form_urlencoded"]
models = []
upload = ["reqwest/multipart"]
upload = ["reqwest/multipart", "tokio"]

[dev-dependencies]
anyhow = "1"
Expand All @@ -44,4 +45,4 @@ tokio = { version = "1", features = ["macros"] }
all-features = true
features = ["retry", "oauth", "oauth10a", "rustls-tls", "models"]
rustdoc-args = ["--cfg", "docsrs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
13 changes: 13 additions & 0 deletions examples/oauth-web/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions examples/post-media/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.mp4
/target/

0 comments on commit 9df7419

Please sign in to comment.