Skip to content

Commit 550fb32

Browse files
committed
Organized dependencies and updated Rust version to 1.90.0.
1 parent 30511d8 commit 550fb32

File tree

6 files changed

+86
-59
lines changed

6 files changed

+86
-59
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
fasltly 11.3.0
1+
fasltly 12.0.0
22
rust 1.90.0
33
nodejs 24.7.0

Cargo.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,38 @@ default-members = [
1414

1515
[profile.release]
1616
debug = 1
17+
18+
[workspace.dependencies]
19+
base64 = "0.22"
20+
brotli = "8.0"
21+
bytes = "1.5"
22+
chacha20poly1305 = "0.10"
23+
chrono = "0.4.41"
24+
config = "0.15.11"
25+
cookie = "0.18.1"
26+
derive_more = { version = "2.0", features = ["display", "error"] }
27+
error-stack = "0.6"
28+
fastly = "0.11.7"
29+
fern = "0.7.1"
30+
flate2 = "1.0"
31+
futures = "0.3"
32+
handlebars = "6.3.2"
33+
hex = "0.4.3"
34+
hmac = "0.12.1"
35+
http = "1.3.1"
36+
log = "0.4.27"
37+
log-fastly = "0.11.7"
38+
lol_html = "2.6.0"
39+
pin-project-lite = "0.2"
40+
regex = "1.1.1"
41+
serde = { version = "1.0", features = ["derive"] }
42+
serde_json = "1.0.145"
43+
sha2 = "0.10.9"
44+
temp-env = "0.3.6"
45+
tokio = { version = "1.46", features = ["sync", "macros", "io-util", "rt", "time"] }
46+
tokio-test = "0.4"
47+
toml = "0.9.0"
48+
url = "2.4.1"
49+
urlencoding = "2.1"
50+
uuid = { version = "1.0", features = ["v4"] }
51+
which = "8"

crates/common/Cargo.toml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -9,49 +9,49 @@ publish = false
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
base64 = "0.22"
13-
brotli = "8.0"
14-
chrono = "0.4"
15-
config = "0.15.11"
16-
cookie = "0.18.1"
17-
derive_more = { version = "2.0", features = ["display", "error"] }
18-
error-stack = "0.6"
19-
fastly = "0.11.5"
20-
flate2 = "1.0"
21-
futures = "0.3"
22-
handlebars = "6.3.2"
23-
hex = "0.4.3"
24-
hmac = "0.12.1"
25-
chacha20poly1305 = "0.10"
26-
http = "1.3.1"
27-
log = "0.4.27"
28-
log-fastly = "0.11.5"
29-
serde = { version = "1.0", features = ["derive"] }
30-
serde_json = "1.0.91"
31-
sha2 = "0.10.9"
32-
tokio = { version = "1.46", features = ["sync", "macros", "io-util", "rt", "time"] }
33-
bytes = "1.5"
34-
url = "2.4.1"
35-
uuid = { version = "1.0", features = ["v4"] }
36-
urlencoding = "2.1"
37-
lol_html = "2.6.0"
38-
pin-project-lite = "0.2"
12+
base64 = { workspace = true }
13+
brotli = { workspace = true }
14+
chrono = { workspace = true }
15+
config = { workspace = true }
16+
cookie = { workspace = true }
17+
derive_more = { workspace = true }
18+
error-stack = { workspace = true }
19+
fastly = { workspace = true }
20+
flate2 = { workspace = true }
21+
futures = { workspace = true }
22+
handlebars = { workspace = true }
23+
hex = { workspace = true }
24+
hmac = { workspace = true }
25+
chacha20poly1305 = { workspace = true }
26+
http = { workspace = true }
27+
log = { workspace = true }
28+
log-fastly = { workspace = true }
29+
serde = { workspace = true }
30+
serde_json = { workspace = true }
31+
sha2 = { workspace = true }
32+
tokio = { workspace = true }
33+
bytes = { workspace = true }
34+
url = { workspace = true }
35+
uuid = { workspace = true }
36+
urlencoding = { workspace = true }
37+
lol_html = { workspace = true }
38+
pin-project-lite = { workspace = true }
3939
trusted-server-js = { path = "../js" }
4040

4141
[build-dependencies]
42-
serde = { version = "1.0", features = ["derive"] }
43-
serde_json = "1.0.91"
44-
config = "0.15.11"
45-
derive_more = { version = "2.0", features = ["display", "error"] }
46-
error-stack = "0.6"
47-
http = "1.3.1"
48-
toml = "0.9.0"
49-
url = "2.4.1"
42+
serde = { workspace = true }
43+
serde_json = { workspace = true }
44+
config = { workspace = true }
45+
derive_more = { workspace = true }
46+
error-stack = { workspace = true }
47+
http = { workspace = true }
48+
toml = { workspace = true }
49+
url = { workspace = true }
5050

5151
[features]
5252
default = []
5353

5454
[dev-dependencies]
55-
regex = "1.1.1"
56-
temp-env = "0.3.6"
57-
tokio-test = "0.4"
55+
regex = { workspace = true }
56+
temp-env = { workspace = true }
57+
tokio-test = { workspace = true }

crates/fastly/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
chrono = "0.4.41"
8-
error-stack = "0.6"
9-
fastly = "0.11.6"
10-
fern = "0.7.1"
11-
futures = "0.3"
12-
log = "0.4.20"
13-
log-fastly = "0.11.6"
14-
serde = { version = "1.0", features = ["derive"] }
15-
serde_json = "1.0.140"
7+
chrono = { workspace = true }
8+
error-stack = { workspace = true }
9+
fastly = { workspace = true }
10+
fern = { workspace = true }
11+
futures = { workspace = true }
12+
log = { workspace = true }
13+
log-fastly = { workspace = true }
14+
serde = { workspace = true }
15+
serde_json = { workspace = true }
1616
trusted-server-common = { path = "../common" }
1717
trusted-server-js = { path = "../js" }

crates/js/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ repository = "https://example.invalid/trusted-server"
1515
readme = "README.md"
1616

1717
[build-dependencies]
18-
which = "8"
18+
which = { workspace = true }
1919

2020
[dependencies]
21-
hex = "0.4"
22-
sha2 = "0.10"
21+
hex = { workspace = true }
22+
sha2 = { workspace = true }

0 commit comments

Comments
 (0)