/
Cargo.toml
42 lines (37 loc) · 1.3 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
[workspace.package]
version = "0.0.6"
[workspace]
members = [
"crates/cli",
"crates/configuration",
"crates/dc-api",
"crates/dc-api-test-helpers",
"crates/dc-api-types",
"crates/integration-tests",
"crates/mongodb-agent-common",
"crates/mongodb-connector",
"crates/mongodb-support",
"crates/ndc-test-helpers",
"crates/test-helpers",
]
resolver = "2"
# The tag or rev of ndc-models must match the locked tag or rev of the
# ndc-models dependency of ndc-sdk
[workspace.dependencies]
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git" }
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }
itertools = "^0.12.1"
mongodb = { version = "2.8", features = ["tracing-unstable"] }
# Connecting to MongoDB Atlas database with time series collections fails in the
# latest released version of the MongoDB Rust driver. A fix has been merged, but
# it has not been released yet: https://github.com/mongodb/mongo-rust-driver/pull/1077
#
# We are using a branch of the driver that cherry-picks that fix onto the v2.8.2
# release.
[patch.crates-io.mongodb]
git = "https://github.com/hasura/mongo-rust-driver.git"
branch = "upstream-time-series-fix"
# Set opt levels according to recommendations in insta documentation
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3