Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (46 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (46 loc) · 1.57 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
# The Rust half of ever.sh: the API service the web site reads hosting options from.
#
# crates/core ever-sh-core hosting-target model, product ids, connect-code grammar, link rendering
# crates/api ever-sh-api axum service: /healthz, GET /v1/hosting-targets, GET /v1/hosting-targets/{id}/link
#
# Every dependency comes from crates.io under a permissive licence (deny.toml).
[workspace]
resolver = "3"
members = ["crates/core", "crates/api"]
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.98"
publish = false
license = "Apache-2.0"
repository = "https://github.com/ever-co/sh"
# `unwrap_used` / `expect_used` keep panics out of request paths; test code opts out per module.
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
unreachable_pub = "warn"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
dbg_macro = "deny"
todo = "deny"
print_stdout = "deny"
print_stderr = "deny"
[workspace.dependencies]
ever-sh-core = { path = "crates/core" }
axum = "0.8"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "time"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde-saphyr = { version = "1", default-features = false, features = ["deserialize"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# tests only
http-body-util = "0.1"
tower = { version = "0.5", features = ["util"] }
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"