forked from getsentry/symbolicator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
150 lines (142 loc) · 5 KB
/
Copy pathCargo.toml
File metadata and controls
150 lines (142 loc) · 5 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[workspace]
resolver = "3"
members = ["crates/*"]
default-members = [
"crates/symbolicator",
"crates/symbolicli",
"crates/symsorter",
"crates/wasm-split",
]
[profile.dev]
# For debug builds, we do want to optimize for both debug-ability, and fast iteration times.
# To de able to "Debug Test", we do need full debug info.
# However especially on MacOS, incremental build times are primarily dominated by linking time.
# To help with that, one can try using `lld` as linker by adding the following to `.cargo/config.toml`:
# [build]
# rustflags = ["-C", "linker-flavor=ld64.lld"]
# OR (which I believe is equivalent):
# rustflags = ["-C", "link-arg=-fuse-ld=lld"]
[profile.release]
# For release builds, we do want line-only debug information to be able to symbolicate panic stack traces.
debug = 1
codegen-units = 1
lto = "thin"
[profile.local]
# For running a local symbolicator, we want the best of both worlds: a fast executable, with quick
# iteration times.
# You can compile/run this with: `cargo run --profile local -- --config local.yml run`
inherits = "release"
debug = false
incremental = true
codegen-units = 256
[patch.crates-io]
# This patch adds an `ip_filter` able to filter out internal IP addresses in DNS resolution
reqwest = { git = "https://github.com/getsentry/reqwest", branch = "swatinem/update-restricted-connector" }
# This patch adds limited "templated lambdas" demangling support
cpp_demangle = { git = "https://github.com/getsentry/cpp_demangle", branch = "sentry-patches" }
# For local development: uncomment the following three lines (and adjust the path if necessary)
# to use a local symbolic checkout everywhere.
# This only works for the very specific crate listed here, and not for its dependency tree.
# Alternatively, the whole dependency tree can be changed at once by putting this line into
# `crates/symbolicator/Cargo.toml`:
# symbolic = { path = "../symbolic", features = ["common-serde", "debuginfo", "demangle", "minidump-serde", "symcache"] }
# See also https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html
# [patch.crates-io]
# symbolic-debuginfo = { path = "../symbolic/symbolic-debuginfo" }
[workspace.dependencies]
anyhow = "1.0.66"
apple-crash-report-parser = "0.5.1"
async-trait = "0.1.53"
aws-config = { version = "1.8.12", features = ["behavior-version-latest"] }
aws-credential-types = { version = "1.2.11", features = [
"hardcoded-credentials",
] }
aws-sdk-s3 = "1.118.0"
aws-types = "1.3.11"
axum = { version = "0.8.4" }
axum-server = "0.7.2"
bindgen = "0.72.1"
bytes = "1.6.0"
cab = "0.6.0"
cadence = "1.0.0"
chrono = { version = "0.4.19", features = ["serde"] }
clap = { version = "4.3.2", features = ["derive"] }
cmake = "0.1.46"
console = "0.16.0"
crossbeam-utils = "0.8.19"
data-url = "0.3.0"
dirs = "6.0.0"
filetime = "0.2.16"
flate2 = "1.0.23"
futures = "0.3.12"
gcp_auth = "0.12.2"
glob = "0.3.0"
hex = "0.4.2"
hostname = "0.4.0"
humantime = "2.1.0"
humantime-serde = "1.1.1"
idna = "1.0.2"
insta = { version = "1.18.0", features = ["redactions", "yaml"] }
ipnetwork = "0.21.1"
jemallocator = { version = "0.5", features = [
"unprefixed_malloc_on_supported_platforms",
] }
jsonwebtoken = "9.1.0"
minidump = "0.26.1"
minidump-processor = "0.26.1"
minidump-unwind = "0.26.1"
moka = { version = "0.12.8", features = ["future", "sync"] }
prettytable-rs = "0.10.0"
proguard = "5.9.0"
rand = "0.9.0"
rayon = "1.10.0"
regex = "1.5.5"
reqwest = "0.12.15"
rustc-hash = "2.0.0"
rustls = { version = "0.23.31", features = ["ring"] }
sentry = { version = "0.42.0", default-features = false, features = [
# default features, except `release-health` is disabled
"backtrace",
"contexts",
"debug-images",
"panic",
"transport",
# additional features
"anyhow",
"tracing",
] }
serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.120"
serde-vars = "0.2.0"
serde_yaml = "0.9.14"
sha-1 = "0.10.0"
sha2 = "0.10.6"
sketches-ddsketch = "0.3.0"
symbolic = "12.17.0"
symbolicator-crash = { path = "crates/symbolicator-crash" }
symbolicator-js = { path = "crates/symbolicator-js" }
symbolicator-native = { path = "crates/symbolicator-native" }
symbolicator-proguard = { path = "crates/symbolicator-proguard" }
symbolicator-service = { path = "crates/symbolicator-service" }
symbolicator-sources = { path = "crates/symbolicator-sources" }
symbolicator-test = { path = "crates/symbolicator-test" }
tempfile = "3.10.0"
test-assembler = "0.1.5"
thiserror = "2.0.16"
thread_local = "1.1.7"
tokio = "1.44.2"
tokio-metrics = "0.4.5"
tokio-util = "0.7.10"
toml = "0.9.5"
tower = "0.5.2"
tower-http = { version = "0.6.6", features = ["fs", "trace"] }
tower-layer = "0.3"
tower-service = "0.3"
tracing = "0.1.34"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "time"] }
url = { version = "2.2.0", features = ["serde"] }
uuid = { version = "1.0.0", features = ["v4", "serde"] }
walkdir = "2.3.1"
wasmbin = { version = "0.8.1", features = ["exception-handling"] }
zip = { version = "5.1.0", default-features = false, features = ["deflate"] }
zstd = "0.13.0"