-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
78 lines (70 loc) · 1.9 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
# Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
# SPDX-License-Identifier: Apache-2.0
[workspace]
members = [
"alloc",
"builder",
"crashtracker",
"crashtracker-ffi",
"profiling",
"profiling-ffi",
"profiling-replayer",
"ddcommon",
"ddcommon-ffi",
"ddtelemetry",
"ddtelemetry-ffi",
"dogstatsd",
"tools",
"ipc",
"ipc/macros",
"live-debugger",
"live-debugger-ffi",
"remote-config",
"sidecar",
"sidecar/macros",
"sidecar-ffi",
"tools/cc_utils",
"tools/sidecar_mockgen",
"trace-normalization",
"trace-obfuscation",
"trace-utils",
"spawn_worker",
"tests/spawn_from_lib",
"serverless",
"bin_tests",
"data-pipeline",
"data-pipeline-ffi",
"ddsketch",
"tinybytes",
"dogstatsd-client",
]
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2"
# These are used by many packages, but not all. For instance, the sidecar and
# serverless packages wanted to maintain their own version numbers. Some of
# their depenencies also remain under their own versioning.
[workspace.package]
rust-version = "1.76.0"
edition = "2021"
version = "14.1.0"
license = "Apache-2.0"
[profile.dev]
debug = 2 # full debug info
[profile.release]
codegen-units = 1
debug = "line-tables-only"
lto = true
opt-level = "s" # optimize for size
[profile.release.package.datadog-serverless-trace-mini-agent]
strip = true
# https://camshaft.github.io/bolero/library-installation.html
[profile.fuzz]
inherits = "dev"
opt-level = 3
incremental = false
codegen-units = 1
[patch.crates-io]
# proptest pulls in a dependency on libm, which changes the runtime of some math functions
# so benchmarks are not measuring the same thing as the release build. This patch removes
# the default dependency on libm. A PR will be opened to proptest to make this optional.
proptest = { git = 'https://github.com/bantonsson/proptest.git', branch = "ban/avoid-libm-in-std"}