-
Notifications
You must be signed in to change notification settings - Fork 172
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (38 loc) · 1.04 KB
/
Cargo.toml
File metadata and controls
45 lines (38 loc) · 1.04 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
[workspace]
members = ["components-rs", "components-rs/php_sidecar_mockgen", "profiling"]
resolver = "2"
[workspace.package]
rust-version = "1.84.1"
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"
[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.
[workspace.dependencies]
hyper = { version = "1.6", features = [
"http1",
"client",
], default-features = false }
hyper-util = { version = "0.1.10", features = [
"http1",
"client",
"client-legacy",
] }