forked from DataDog/libdatadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (57 loc) · 1.38 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
# Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
# SPDX-License-Identifier: Apache-2.0
[workspace]
members = [
"alloc",
"crashtracker",
"profiling",
"profiling-ffi",
"profiling-replayer",
"ddcommon",
"ddcommon-ffi",
"ddtelemetry",
"ddtelemetry-ffi",
"tools",
"ipc",
"ipc/macros",
"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",
]
# 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.71.1"
edition = "2021"
version = "10.0.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