-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
69 lines (61 loc) · 2.77 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
authors = ["ymgyt"]
categories = ["command-line-utilities"]
description = "terminal feed viewer"
edition = "2021"
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" }
async-trait = { version = "0.1.77" }
axum = { version = "0.7.4" }
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
chrono = { version = "0.4.31" }
clap = { version = "4.5" }
feed-rs = { version = "1.4" }
futures-util = { version = "0.3.30" }
graphql_client = { version = "0.13.0", default-features = false }
headers = { version = "0.4.0" }
http = { version = "0.2" } # request use 0.2
kvsd = { version = "0.1.2", default-features = false }
thiserror = { version = "1.0.56" }
# kvsd = { path = "../kvsd" }
moka = { version = "0.12.4", features = ["future"] }
opentelemetry = { version = "0.21.0" }
opentelemetry-http = { version = "0.10.0" }
opentelemetry-semantic-conventions = { version = "0.13.0" }
opentelemetry_sdk = { version = "0.21.2" }
rand = { version = "0.8.5" }
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls", "json"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0.111" }
tokio = { version = "1.35" }
tracing = { version = "0.1.40" }
tracing-opentelemetry = { version = "0.22.0" }
tracing-subscriber = { version = "0.3.18", features = ["smallvec", "fmt", "ansi", "std", "env-filter", "time"], default-features = false }
url = { version = "2.5.0" }
[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 = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[workspace.metadata.release]
allow-branch = ["main"]
pre-release-commit-message = "chore: release"
pre-release-replacements = [{ file = "CHANGELOG.md", search = "unreleased", replace = "{{crate_name}}-v{{version}}" }]
tag-message = "chore: release {{crate_name}} version {{version}}"