diff --git a/Cargo.lock b/Cargo.lock index 4c3f86315..82d38ec99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -612,7 +612,6 @@ dependencies = [ "js-sys", "num-integer", "num-traits", - "serde", "time 0.1.45", "wasm-bindgen", "winapi", @@ -842,12 +841,12 @@ checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" [[package]] name = "debugid" -version = "0.7.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6ee87af31d84ef885378aebca32be3d682b0e0dc119d5b4860a2c5bb5046730" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" dependencies = [ "serde", - "uuid 0.8.2", + "uuid", ] [[package]] @@ -1125,6 +1124,18 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +[[package]] +name = "findshlibs" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40b9e59cd0f7e0806cca4be089683ecb6434e602038df21fe6bf6711b2f07f64" +dependencies = [ + "cc", + "lazy_static", + "libc", + "winapi", +] + [[package]] name = "flume" version = "0.10.14" @@ -2108,6 +2119,17 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "os_info" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +dependencies = [ + "log", + "serde", + "winapi", +] + [[package]] name = "os_str_bytes" version = "6.3.0" @@ -2421,7 +2443,7 @@ dependencies = [ "sqlx", "sqlxmq", "tokio", - "uuid 1.6.1", + "uuid", "warp", ] @@ -2753,41 +2775,44 @@ checksum = "93f6841e709003d68bb2deee8c343572bf446003ec20a583e76f7b15cebf3711" [[package]] name = "sentry" -version = "0.23.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "546b9b6f76c26c60ffbcf0b7136e15169fe13d43949b4aadb7c1edc1c3f3a26f" +checksum = "9b596ee5f4e76638de6063ca96fd3d923675416461fc7f1b77406dc2f32d1979" dependencies = [ "httpdate", + "native-tls", "reqwest", "sentry-backtrace", "sentry-contexts", "sentry-core", + "sentry-debug-images", "sentry-panic", + "sentry-tracing", "tokio", + "ureq", ] [[package]] name = "sentry-backtrace" -version = "0.23.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cd0cba2aff36ac98708f7a6e7abbdde82dbaf180d5870c41084dc1b473648b9" +checksum = "e6510a97162c288989a6310766bcadfc83ec98ad73121674463b055c42189e85" dependencies = [ "backtrace", - "lazy_static", + "once_cell", "regex", "sentry-core", ] [[package]] name = "sentry-contexts" -version = "0.23.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bacf1c62427c6c97b896640d0c4dd204bbd3b79dd192d7cb40891aa5ee11d58" +checksum = "64e2552a4a578aade01bd44691e6805c32bac34fc918f1675739fbbf2add8460" dependencies = [ "hostname", - "lazy_static", "libc", - "regex", + "os_info", "rustc_version", "sentry-core", "uname", @@ -2795,41 +2820,65 @@ dependencies = [ [[package]] name = "sentry-core" -version = "0.23.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a957270c9a430218f8031c866493061a27e35a70250e9527f093563a33ce6b" +checksum = "ebb7a6ad833035f6b36db3e61e450643eec8a3c5f2839b8e41c74a73e57c6bae" dependencies = [ - "chrono", - "lazy_static", + "once_cell", "rand", "sentry-types", "serde", "serde_json", ] +[[package]] +name = "sentry-debug-images" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bcd02214397892a3ec25372cc68c210d858f39314535f5d640bdf41294fd441" +dependencies = [ + "findshlibs", + "once_cell", + "sentry-core", +] + [[package]] name = "sentry-panic" -version = "0.23.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692bf989f0c99f025e33d7f58e62822c3771f56d189698c66dcc863122255d95" +checksum = "0866e2ba7615fe37e0e485f2373bf9dabbb255f82637b5fe47902095790bbbc9" dependencies = [ "sentry-backtrace", "sentry-core", ] +[[package]] +name = "sentry-tracing" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53ef38653386354058f30b3c6d0bf764c59ee6270cd769ac4620a2d2fd60c8fe" +dependencies = [ + "sentry-backtrace", + "sentry-core", + "tracing-core", + "tracing-subscriber", +] + [[package]] name = "sentry-types" -version = "0.23.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4dd2266fee014a86e250e98e389191ecd23be546b5c42b6a2fb9af2972fadac" +checksum = "26342e85c6b3332273b820d5be6b93027fe991ded23a2aa6fb88a5a28c845c40" dependencies = [ - "chrono", "debugid", + "hex", + "rand", "serde", "serde_json", "thiserror", + "time 0.3.14", "url", - "uuid 0.8.2", + "uuid", ] [[package]] @@ -3075,7 +3124,7 @@ dependencies = [ "tokio-stream", "tracing", "url", - "uuid 1.6.1", + "uuid", ] [[package]] @@ -3158,7 +3207,7 @@ dependencies = [ "stringprep", "thiserror", "tracing", - "uuid 1.6.1", + "uuid", "whoami", ] @@ -3199,7 +3248,7 @@ dependencies = [ "stringprep", "thiserror", "tracing", - "uuid 1.6.1", + "uuid", "whoami", ] @@ -3225,7 +3274,7 @@ dependencies = [ "tracing", "url", "urlencoding", - "uuid 1.6.1", + "uuid", ] [[package]] @@ -3243,7 +3292,7 @@ dependencies = [ "sqlx", "sqlxmq_macros", "tokio", - "uuid 1.6.1", + "uuid", ] [[package]] @@ -3754,6 +3803,19 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" +[[package]] +name = "ureq" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8cdd25c339e200129fe4de81451814e5228c9b771d57378817d6117cc2b3f97" +dependencies = [ + "base64 0.21.0", + "log", + "native-tls", + "once_cell", + "url", +] + [[package]] name = "url" version = "2.2.2" @@ -3779,16 +3841,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "uuid" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" -dependencies = [ - "getrandom", - "serde", -] - [[package]] name = "uuid" version = "1.6.1" @@ -3796,6 +3848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" dependencies = [ "getrandom", + "serde", ] [[package]] diff --git a/backend/Cargo.toml b/backend/Cargo.toml index f9df0f9f6..832fc5261 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -13,7 +13,7 @@ dotenv = "0.15.0" env_logger = "0.10" log = "0.4" openssl = { version = "0.10.57", features = ["vendored"] } -sentry = "0.23" +sentry = "0.32" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sqlx = { version = "0.7", features = [ diff --git a/worker/Cargo.toml b/worker/Cargo.toml index e59c902ea..b80a84a2f 100644 --- a/worker/Cargo.toml +++ b/worker/Cargo.toml @@ -14,7 +14,7 @@ check-if-email-exists = { path = "../core", features = ["headless"] } futures-lite = "2.1.0" lapin = "2.3.1" reqwest = { version = "0.11.22", features = ["json"] } -sentry = "0.23" +sentry = "0.32" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1.29", features = ["macros"] }