forked from Brendonovich/prisma-engines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (49 loc) · 1.36 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
[workspace]
resolver = "2"
members = [
"schema-engine/core",
"schema-engine/connectors/*",
"schema-engine/datamodel-renderer",
"schema-engine/sql-schema-describer",
"query-engine/connectors/*",
"schema-engine/json-rpc-api-build",
"query-engine/core",
"query-engine/dmmf",
"query-engine/prisma-models",
"query-engine/request-handlers",
"query-engine/schema",
"libs/*",
"psl/*",
]
# All path dependencies residing in the workspace directory automatically become members.
# The following shouldn't be considered members but embedded dependencies.
exclude = ["quaint"]
[workspace.dependencies]
psl = { path = "./psl/psl" }
serde_json = { version = "1", features = ["float_roundtrip", "preserve_order"] }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1.40", features = ["rt-multi-thread", "macros", "sync", "io-std", "io-util", "parking_lot", "time"] }
user-facing-errors = { path = "./libs/user-facing-errors" }
uuid = { version = "1", features = ["serde"] }
indoc = "2.0.5"
connection-string = "0.2"
[workspace.dependencies.quaint]
path = "quaint"
features = [
"bigdecimal",
"chrono",
"expose-drivers",
"fmt-sql",
"json",
"pooled",
"uuid",
]
[profile.dev.package.backtrace]
opt-level = 3
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 's' # Optimize for size.
[profile.profiling]
inherits = "release"
debug = true