-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
137 lines (129 loc) · 4.15 KB
/
Cargo.toml
File metadata and controls
137 lines (129 loc) · 4.15 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
[workspace.package]
version = "0.0.17"
edition = "2024"
license = "Apache-2.0"
authors = ["crrow"]
repository = "https://github.com/crrow/rsketch"
homepage = "https://github.com/crrow/rsketch"
readme = "README.md"
keywords = ["rust", "template", "server"]
categories = ["development-tools"]
[workspace.lints.rust]
unsafe_code = "deny"
rust_2024_compatibility = { level = "warn", priority = -1 }
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
doc_markdown = "allow"
items_after_statements = "allow"
redundant_pub_crate = "allow"
significant_drop_tightening = "allow"
future_not_send = "allow"
missing_errors_doc = "allow"
[workspace]
resolver = "3"
members = [
"api",
"crates/app",
"crates/cmd",
"crates/common/base",
"crates/common/error",
"crates/common/runtime",
"crates/common/storage/queue",
"crates/common/telemetry",
"crates/common/utils/downloader",
"crates/common/worker",
"crates/server",
"crates/paths",
]
[workspace.dependencies]
async-trait = "^0.1"
axum = "^0.8"
axum-tracing-opentelemetry = "0.33.0"
backon = "^1.3"
bon = "^3.6"
bytes = "^1.11"
chrono = "^0.4"
derive_more = { version = "2.0", features = ["full"] }
dirs = "^6"
futures = "^0.3"
http = "^1"
jiff = "^0.2"
lazy_static = "^1.4"
once_cell = "^1.20"
prometheus = "^0.14"
prost = "^0.14"
protobuf = "^3.7"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0.143"
smart-default = "0.7"
snafu = "^0.9"
strum = "^0.28"
strum_macros = "^0.28"
tokio = { version = "^1.45", features = ["full", "tracing"] }
tokio-util = "^0.7"
tonic = "^0.14"
tonic-build = "^0.14"
tonic-health = "^0.14"
tonic-prost = "0.14"
tonic-prost-build = "0.14"
tonic-reflection = "^0.14"
tonic-tracing-opentelemetry = "0.32.0"
tonic-web = "^0.14"
tower = "^0.5"
tower-http = { version = "^0.6", features = ["cors"] }
tracing = "^0.1"
tracing-subscriber = "^0.3"
validator = "0.20"
# Internal workspace crates (use =version to keep in sync with workspace version)
rsketch-api = { version = "=0.0.17", path = "api" }
rsketch-app = { version = "=0.0.17", path = "crates/app" }
rsketch-base = { version = "=0.0.17", path = "crates/common/base" }
rsketch-cmd = { version = "=0.0.17", path = "crates/cmd" }
rsketch-common-runtime = { version = "=0.0.17", path = "crates/common/runtime" }
rsketch-common-telemetry = { version = "=0.0.17", path = "crates/common/telemetry" }
rsketch-common-worker = { version = "=0.0.17", path = "crates/common/worker" }
rsketch-error = { version = "=0.0.17", path = "crates/common/error" }
rsketch-server = { version = "=0.0.17", path = "crates/server" }
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.19.1"
# CI backends to support
ci = "github"
# Where to host releases
hosting = "github"
# The installers to generate for each app
installers = ["shell", "homebrew"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-unknown-linux-gnu"]
# 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"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Publish jobs to run in CI
pr-run-mode = "plan"
# Whether to install an updater program
install-updater = false
# Use custom release notes generated by git-cliff
release-notes = "RELEASE_NOTES.md"
# Skip checking whether the specified configuration files are up to date
# (we use ubuntu-latest instead of ubuntu-20.04 which cargo-dist wants)
allow-dirty = ["ci"]
# A GitHub repo to push Homebrew formulas to
tap = "crrow/homebrew-tap"
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Use appropriate runners for each target
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-latest"
x86_64-unknown-linux-gnu = "ubuntu-latest"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"