/
Cargo.toml
117 lines (111 loc) · 3.13 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
[workspace.package]
version = "0.8.2"
edition = "2021"
# See https://github.com/mozilla/application-services/blob/main/Cargo.toml for the reasons why we use this structure
[workspace]
members = [
"crates/builder",
"crates/cli",
"crates/resolver",
"crates/server-actix",
"crates/server-aws-lambda",
"crates/server-common",
"crates/testing",
"crates/core-subsystem/*",
"crates/postgres-subsystem/*",
"crates/deno-subsystem/*",
"crates/wasm-subsystem/*",
"crates/subsystem-util/*",
"crates/introspection-subsystem/*",
"libs/exo-deno",
"libs/exo-sql",
"libs/exo-wasm",
"libs/exo-env"
]
# The default workspace member to run `cargo` commands on (we exclude server-aws-lambda here, since we don't need to build it during normal development)
# Pass --all to `cargo` to include it
default-members = [
"crates/builder",
"crates/cli",
"crates/resolver",
"crates/server-actix",
"crates/testing",
"crates/core-subsystem/*",
"crates/postgres-subsystem/*",
"crates/deno-subsystem/*",
"crates/wasm-subsystem/*",
"crates/subsystem-util/*",
"crates/introspection-subsystem/*",
"crates/server-common",
"libs/exo-deno",
"libs/exo-sql",
"libs/exo-wasm",
"libs/exo-env"
]
resolver = "2"
[workspace.dependencies]
colored = "2.0"
anyhow = "1.0"
async-graphql-parser = "7.0.2"
async-graphql-value = "7.0.2"
async-recursion = "1.0.0"
async-trait = "0.1.53"
bincode = "1.3.3"
bytes = "1"
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
codemap = "0.1.3"
codemap-diagnostic = "0.1.1"
ctor = "0.2.6"
deno = { git = "https://github.com/exograph/deno.git", branch = "patched_1_42_1" }
deno_ast = "0.34.1"
deno_core = "0.272.0"
deno_fs = { git = "https://github.com/exograph/deno.git", branch = "patched_1_42_1" }
deno_graph = "=0.69.10"
deno_runtime = { git = "https://github.com/exograph/deno.git", branch = "patched_1_42_1" }
deno_virtual_fs = { git = "https://github.com/exograph/deno.git", branch = "patched_1_42_1" }
deno_semver = "=0.5.4"
deno_npm = "=0.17.0"
futures = "0.3.29"
heck = "0.4.0"
include_dir = "0.7.2"
indexmap = "2.0.1"
insta = { version = "1.31.0", features = ["redactions", "yaml"] }
jsonwebtoken = "9.2.0"
lazy_static = "1.4.0"
maybe-owned = "0.3.4"
rand = "0.8"
regex = "1"
reqwest = { version = "0.11.4", default-features = false, features = [
"stream",
"rustls-tls-native-roots",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9.4"
tempfile = "3.0.0"
test-log = "0.2.15"
thiserror = "1.0.31"
tracing = "0.1"
tokio = "1"
tokio-postgres = { version = "0.7.10", default-features = false }
deadpool-postgres = { version = "0.13.2", default-features = false }
tree-sitter = "0.20.10"
tree-sitter-c2rust = "0.20.11-pre.1"
tree-sitter-cli = "0.20.8"
typed-generational-arena = { version = "0.2.5", features = ["serde"] }
url = "2.3.1"
wasmtime = "13.0.0"
wasmtime-wasi = "13.0.0"
wasi-common = "13.0.0"
wildmatch = "2.1.0"
which = "5.0.0"
wasm-bindgen-test = "0.3.42"
wasm-bindgen-test-macro = "0.3.42"
multiplatform_test = "0.0.0"
# reduce binary size, does not affect stack traces
[profile.dev]
debug = 1
[profile.release]
lto = "thin"
codegen-units = 1
strip = true