-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
124 lines (112 loc) · 4.96 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[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.83", default-features = false }
axum = { version = "0.7.9", default-features = false }
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
bitflags = { version = "2.6.0", default-features = false }
bytes = { version = "1.8.0" }
chrono = { version = "0.4.38", 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.41" }
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.8", features = ["future"] }
nom = { version = "8.0.0-alpha2", 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.5.0" }
rand = { version = "0.8.5" }
reqwest = { version = "0.12.9", 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.133" }
tempfile = { version = "3" }
thiserror = { version = "2.0.3" }
tokio = { version = "1.41", default-features = false }
tokio-util = { version = "0.7.12" }
toml = { version = "0.8.19" }
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18", 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"]
# Config for 'cargo dist'
[workspace.metadata.dist]
allow-dirty = ["ci"]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.21.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "npm", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "ymgyt/homebrew-syndicationd"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
publish-jobs = ["homebrew", "npm"]
# Which actions to run on pull requests
pr-run-mode = "plan"
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# A namespace to use when publishing this package to the npm registry
npm-scope = "@syndicationd"
# Whether to install an updater program
install-updater = true
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"