forked from prisma/prisma-engines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (76 loc) · 2.14 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
[workspace]
resolver = "2"
members = [
"schema-engine/cli",
"schema-engine/core",
"schema-engine/connectors/*",
"schema-engine/datamodel-renderer",
"schema-engine/json-rpc-api-build",
"schema-engine/sql-migration-tests",
"schema-engine/sql-introspection-tests",
"schema-engine/mongodb-schema-describer",
"schema-engine/sql-schema-describer",
"query-engine/connectors/*",
"query-engine/connector-test-kit-rs/qe-setup",
"query-engine/connector-test-kit-rs/query-engine-tests",
"query-engine/connector-test-kit-rs/query-test-macros",
"query-engine/connector-test-kit-rs/query-tests-setup",
"query-engine/core",
"query-engine/core-tests",
"query-engine/black-box-tests",
"query-engine/dmmf",
"query-engine/metrics",
"query-engine/prisma-models",
"query-engine/query-engine",
"query-engine/query-engine-node-api",
"query-engine/request-handlers",
"query-engine/schema",
"libs/*",
"prisma-fmt",
"prisma-fmt-wasm",
"psl/*",
]
# All path dependencies residing in the workspace directory automatically become members.
# The following shouldn't be considered members but embedded dependencies.
exclude = [
"quaint",
"quaint/test-macros",
"quaint/test-setup"
]
[workspace.dependencies]
psl = { path = "./psl/psl" }
serde_json = { version = "1", features = ["float_roundtrip", "preserve_order"] }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1.25", 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.1"
connection-string = "0.2"
[workspace.dependencies.quaint]
path = "quaint"
features = [
"bigdecimal",
"chrono",
"expose-drivers",
"fmt-sql",
"json",
"mssql",
"mysql",
"pooled",
"postgresql",
"sqlite",
"uuid",
]
[profile.dev.package.backtrace]
opt-level = 3
[profile.release.package.query-engine-node-api]
strip = "symbols"
[profile.release.package.query-engine]
strip = "symbols"
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 's' # Optimize for size.
[profile.profiling]
inherits = "release"
debug = true