Git repository hosting, collaboration, and discovery for the Fediverse.
Optional nativetls, defined versions and update deadpool.
parent: tbd commit: 6a2b9bb
1 | [package] |
2 | name = "giterated-api" |
3 | version = "0.1.0" |
4 | edition = "2021" |
5 | |
6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
7 | |
8 | [features] |
9 | default = [ "rustls" ] |
10 | |
11 | rustls = [ "reqwest/rustls-tls", "tokio-tungstenite/rustls-tls-native-roots" ] |
12 | # untested! |
13 | nativetls = [ "reqwest/native-tls", "tokio-tungstenite/native-tls" ] |
14 | |
15 | [dependencies] |
16 | #giterated-daemon = { git = "https://giterated.dev/ambee/giterated-daemon" } |
17 | giterated-models = { path = "../giterated-daemon/giterated-models" } |
18 | tokio-tungstenite = { version = "0.20" } |
19 | tokio = { version = "1.32.0", features = ["full"] } |
20 | tracing = "0.1" |
21 | futures-util = "0.3" |
22 | serde = { version = "1", features = ["derive"]} |
23 | serde_json = "1.0" |
24 | bincode = "1.3" |
25 | tracing-subscriber = "0.3" |
26 | rand = "0.8" |
27 | jsonwebtoken = { version = "8.3", features = ["use_pem"]} |
28 | chrono = { version = "0.4", features = [ "serde", "std" ] } |
29 | reqwest = { version = "0.11", default-features = false } |
30 | anyhow = "1" |
31 | deadpool = "0.10" |
32 | async-trait = "0.1" |
33 | thiserror = "1" |
34 | semver = "1" |
35 | color-eyre = "0.6.2" |