-
Notifications
You must be signed in to change notification settings - Fork 182
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (72 loc) · 2.81 KB
/
Copy pathCargo.toml
File metadata and controls
79 lines (72 loc) · 2.81 KB
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
[workspace]
members = ["components-rs", "components-rs/php_sidecar_mockgen", "profiling"]
resolver = "2"
[workspace.package]
rust-version = "1.87.0"
edition = "2021"
# Irrelevant version and license. These do NOT apply here, they just are here to make cargo build pass.
version = "0.0.1"
license = "Apache-2.0"
authors = ["Datadog Inc. <info@datadoghq.com>"]
[profile.dev]
debug = 2 # full debug info
[profile.release]
codegen-units = 1
debug = "line-tables-only"
incremental = false
lto = "fat"
[profile.tracer-release]
debug = 1 # line tables only
lto = true
codegen-units = 1
panic = "abort"
inherits = "release"
[profile.profiler-release]
panic = "abort"
inherits = "release"
# These are to satistfy the build with libdatadog as a path dependency inside
# components-rs. There may be a better way to fix this, but I'm alreday two
# tasks removed from what I'm trying to do, so pushing forward.
#
# Every dependency that a libdatadog crate inherits via `{ workspace = true }`
# must be declared here, because those crates resolve their workspace
# inheritance against this manifest when built as path dependencies. Keep this
# list in sync with libdatadog's own `[workspace.dependencies]`; libdatadog
# #2253 consolidated `anyhow`, `serde`, `tokio` and `tracing` to the workspace
# level, so they are mirrored here too.
[workspace.dependencies]
allocator-api2 = { version = "0.2.21", default-features = false }
anyhow = { version = "1.0", default-features = false }
arc-swap = "1.7.1"
bolero = { version = "0.13.4", default-features = false }
chrono = { version = "0.4.38", default-features = false }
clap = { version = "4.3.21", default-features = false }
criterion = { version = "0.5.1", default-features = true }
cxx-build = { version = "1.0", default-features = false }
elf = { version = "0.7", default-features = false }
futures = { version = "0.3", default-features = false }
hyper = { version = "1.6", features = [
"http1",
"client",
], default-features = false }
hyper-util = { version = "0.1.10", features = [
"http1",
"client",
"client-legacy",
] }
io-lifetimes = { version = "1.0", default-features = false }
libc = { version = "0.2", default-features = true }
prost-build = { version = "0.14.1", default-features = false }
protoc-bin-vendored = { version = "3.0.0", default-features = false }
rustls = { version = "0.23", default-features = false }
serde = { version = "1.0", default-features = false }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
syn = { version = "^2", default-features = false }
tempfile = { version = "3.13", default-features = false, features = [
"getrandom",
] }
tokio = { version = "1.36", default-features = false }
tracing = { version = "0.1", default-features = false }
uuid = { version = "1.7.0", default-features = false }
[workspace.lints]
# empty for compat with libdatadog