-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
96 lines (85 loc) · 3.83 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[workspace]
members = ["crates/synd_*"]
resolver = "2"
[workspace.package]
authors = ["ymgyt"]
categories = ["command-line-utilities"]
description = "terminal feed viewer"
edition = "2021"
homepage = "https://docs.syndicationd.ymgyt.io/synd-term/"
keywords = ["feed", "rss", "atom", "tui"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/ymgyt/syndicationd"
[workspace.dependencies]
anyhow = { version = "1", default-features = false, features = ["std"] }
assert_cmd = { version = "2.0.16" }
async-graphql = { version = "7.0" }
async-trait = { version = "0.1.85", default-features = false }
axum = { version = "0.7.9", default-features = false }
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
bitflags = { version = "2.8.0", default-features = false }
bytes = { version = "1.10.0" }
chrono = { version = "0.4.39", default-features = false }
clap = { version = "4.5", default-features = false }
criterion = { version = "0.5.1", features = ["async_tokio"] }
either = { version = "1.13.0" }
fake = { version = "2.10.0", features = ["derive", "chrono"] }
fdlimit = { version = "0.3.0", default-features = false }
feed-rs = { version = "1.5", default-features = false }
futures = { version = "0.3.31" }
futures-util = { version = "0.3.31", default-features = false }
graphql_client = { version = "0.13.0", default-features = false }
headers = { version = "0.4.0" }
http = { version = "1.1" }
insta = { version = "1.42" }
itertools = { version = "0.13", default-features = false, features = ["use_std"] }
jsonwebtoken = { version = "9.3.0" }
kvsd = { version = "0.1.3", default-features = false }
mockall = { version = "0.13.1" }
moka = { version = "0.12.10", features = ["future"] }
nom = { version = "8.0.0", default-features = false, features = ["std"] }
octocrab = { version = "0.38.0", features = ["rustls-webpki-tokio"] }
once_cell = { version = "1.20.2" }
pprof = { version = "0.13", features = ["flamegraph", "criterion"] }
proptest = { version = "1.6.0" }
rand = { version = "0.8.5" }
reqwest = { version = "0.12.12", default-features = false, features = ["rustls-tls", "json"] }
schemars = { version = "0.8.21", default-features = false, features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0.136" }
tempfile = { version = "3" }
thiserror = { version = "2.0.11" }
tokio = { version = "1.43", default-features = false }
tokio-util = { version = "0.7.13" }
toml = { version = "0.8.19" }
tracing = { version = "0.1.41" }
tracing-subscriber = { version = "0.3.19", features = ["smallvec", "fmt", "ansi", "std", "env-filter", "time"], default-features = false }
url = { version = "2.5.4" }
[profile.bench]
# To enable framegraph
debug = true
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
# cargo
cargo_common_metadata = "warn"
multiple_crate_versions = "allow"
negative_feature_names = "warn"
redundant_feature_names = "warn"
wildcard_dependencies = "warn"
# pedantic
pedantic = { level = "warn", priority = -1 }
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[workspace.metadata.crane]
# Required in crane buildDepsOnly derivation
name = "synd"
[workspace.metadata.release]
allow-branch = ["main"]
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"