-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
53 lines (49 loc) · 1.43 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "megalodon"
version = "0.14.1"
edition = "2021"
authors = ["Akira Fukushima <[email protected]>"]
description = "Mastodon and Pleroma API client library for Rust."
license = "MIT"
repository = "https://github.com/h3poteto/megalodon-rs"
homepage = "https://github.com/h3poteto/megalodon-rs"
[package.metadata.docs.rs]
features = ["native-tls", "rustls-tls"]
[features]
default = ["rustls-tls"]
native-tls = [
"tokio-tungstenite/native-tls",
"reqwest/native-tls",
"oauth2/native-tls",
]
rustls-tls = [
"tokio-tungstenite/rustls-tls-native-roots",
"reqwest/rustls-tls",
"oauth2/rustls-tls",
]
[dependencies]
async-trait = "0.1.80"
chrono = { version = ">=0.4.38", features = ["serde"] }
futures-util = ">=0.3.30"
hex = { version = "0.4" }
oauth2 = { version = "4.4" }
rand = "0.8"
regex = ">=1.10.4"
reqwest = { version = ">=0.12.3", features = [
"json",
"multipart",
"stream",
], default-features = false }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
sha1 = { version = "0.10" }
thiserror = ">=1.0.58"
tokio = { version = ">=1.37.0", features = ["full"] }
tokio-tungstenite = { version = "0.24", features = ["url"] }
tokio-util = { version = "0.7.10", features = ["codec"] }
tracing = "0.1.40"
url = "2.5.0"
urlencoding = { version = "2.1" }
uuid = { version = "1.8", features = ["v4"] }
[dev-dependencies]
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }