forked from apollographql/router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (46 loc) · 2.23 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
[workspace]
default-members = ["apollo-router"]
members = [
"apollo-router",
"apollo-router-benchmarks",
"apollo-router-scaffold",
"examples/add-timestamp-header/rhai",
"examples/async-auth/rust",
"examples/context/rust",
"examples/cookies-to-headers/rhai",
"examples/data-response-mutate/rhai",
"examples/embedded/rust",
"examples/error-response-mutate/rhai",
"examples/forbid-anonymous-operations/rhai",
"examples/forbid-anonymous-operations/rust",
"examples/hello-world/rust",
"examples/jwt-auth/rust",
"examples/jwt-claims/rhai",
"examples/logging/rhai",
"examples/op-name-to-header/rhai",
"examples/status-code-propagation/rust",
"examples/subgraph-request-log/rhai",
"examples/supergraph-sdl/rust",
"examples/surrogate-cache-key/rhai",
"fuzz",
# Note that xtask is not in the workspace member because it relies on dependencies that are incompatible with the router. Notably hyperx but there are others.
]
# this makes build scripts and proc macros faster to compile
[profile.dev.build-override]
# If you un-comment the next line with 1.60.0, compile fails on circle-ci linux
# debug = false
strip = "debuginfo"
incremental = false
# If building a dhat feature, you must use this profile
# e.g. heap allocation tracing: cargo build --profile release-dhat --features dhat-heap
# e.g. heap and ad-hoc allocation tracing: cargo build --profile release-dhat --features dhat-heap,dhat-ad-hoc
[profile.release-dhat]
inherits = "release"
debug = 1
# TODO: to delete
# [patch.crates-io]
# opentelemetry = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "e5ef3552efab2bdbf2f838023c37461cd799ab2c"}
# opentelemetry-http = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "e5ef3552efab2bdbf2f838023c37461cd799ab2c"}
# opentelemetry-jaeger = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "e5ef3552efab2bdbf2f838023c37461cd799ab2c"}
# opentelemetry-zipkin = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "e5ef3552efab2bdbf2f838023c37461cd799ab2c"}
# opentelemetry-datadog = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "e5ef3552efab2bdbf2f838023c37461cd799ab2c"}