mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Bumps the sentry group in /rust with 2 updates: [sentry](https://github.com/getsentry/sentry-rust) and [sentry-tracing](https://github.com/getsentry/sentry-rust). Updates `sentry` from 0.42.0 to 0.43.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-rust/releases">sentry's releases</a>.</em></p> <blockquote> <h2>0.43.0</h2> <h3>Breaking changes</h3> <ul> <li>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The <code>tracing</code> integration now uses the tracing span name as the Sentry span name by default.</li> <li>Before this change, the span name would be set based on the <code>tracing</code> span target (<code><module>::<function></code> when using the <code>tracing::instrument</code> macro).</li> <li>The <code>tracing</code> integration now uses <code><span target>::<span name></code> as the default Sentry span op (i.e. <code><module>::<function></code> when using <code>tracing::instrument</code>).</li> <li>Before this change, the span op would be set based on the <code>tracing</code> span name.</li> <li>Read below to learn how to customize the span name and op.</li> <li>When upgrading, please ensure to adapt any queries, metrics or dashboards to use the new span names/ops.</li> </ul> </li> <li>ref(tracing): use standard code attributes (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/899">#899</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>Logs now carry the attributes <code>code.module.name</code>, <code>code.file.path</code> and <code>code.line.number</code> standardized in OTEL to surface the respective information, in contrast with the previously sent <code>tracing.module_path</code>, <code>tracing.file</code> and <code>tracing.line</code>.</li> </ul> </li> <li>fix(actix): capture only server errors (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/877">#877</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The Actix integration now properly honors the <code>capture_server_errors</code> option (enabled by default), capturing errors returned by middleware only if they are server errors (HTTP status code 5xx).</li> <li>Previously, if a middleware were to process the request after the Sentry middleware and return an error, our middleware would always capture it and send it to Sentry, regardless if it was a client, server or some other kind of error.</li> <li>With this change, we capture errors returned by middleware only if those errors can be classified as server errors.</li> <li>There is no change in behavior when it comes to errors returned by services, in which case the Sentry middleware only captures server errors exclusively.</li> </ul> </li> <li>fix: send trace origin correctly (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/906">#906</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li><code>TraceContext</code> now has an additional field <code>origin</code>, used to report which integration created a transaction.</li> </ul> </li> </ul> <h3>Behavioral changes</h3> <ul> <li>feat(tracing): send both breadcrumbs and logs by default (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/878">#878</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>If the <code>logs</code> feature flag is enabled, and <code>enable_logs: true</code> is set on your client options, the default Sentry <code>tracing</code> layer now sends logs for all events at or above INFO.</li> </ul> </li> </ul> <h3>Features</h3> <ul> <li> <p>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> <ul> <li>Additional special fields have been added that allow overriding certain data on the Sentry span: <ul> <li><code>sentry.op</code>: override the Sentry span op.</li> <li><code>sentry.name</code>: override the Sentry span name.</li> <li><code>sentry.trace</code>: given a string matching a valid <code>sentry-trace</code> header (sent automatically by client SDKs), continues the distributed trace instead of starting a new one. If the value is not a valid <code>sentry-trace</code> header or a trace is already started, this value is ignored.</li> </ul> </li> <li><code>sentry.op</code> and <code>sentry.name</code> can also be applied retroactively by declaring fields with value <code>tracing::field::Empty</code> and then recorded using <code>tracing::Span::record</code>.</li> <li>Example usage: <pre lang="rust"><code>#[tracing::instrument(skip_all, fields( sentry.op = "http.server", sentry.name = "GET /payments", sentry.trace = headers.get("sentry-trace").unwrap_or(&"".to_owned()), ))] async fn handle_request(headers: std::collections::HashMap<String, String>) { // ... } </code></pre> </li> <li>Additional attributes are sent along with each span by default: <ul> <li><code>sentry.tracing.target</code>: corresponds to the <code>tracing</code> span's <code>metadata.target()</code></li> <li><code>code.module.name</code>, <code>code.file.path</code>, <code>code.line.number</code></li> </ul> </li> </ul> </li> <li> <p>feat(core): add Response context (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/874">#874</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> <ul> <li>The <code>Response</code> context can now be attached to events, to include information about HTTP responses such as headers, cookies and status code.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md">sentry's changelog</a>.</em></p> <blockquote> <h2>0.43.0</h2> <h3>Breaking changes</h3> <ul> <li>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The <code>tracing</code> integration now uses the tracing span name as the Sentry span name by default.</li> <li>Before this change, the span name would be set based on the <code>tracing</code> span target (<code><module>::<function></code> when using the <code>tracing::instrument</code> macro).</li> <li>The <code>tracing</code> integration now uses <code><span target>::<span name></code> as the default Sentry span op (i.e. <code><module>::<function></code> when using <code>tracing::instrument</code>).</li> <li>Before this change, the span op would be set based on the <code>tracing</code> span name.</li> <li>Read below to learn how to customize the span name and op.</li> <li>When upgrading, please ensure to adapt any queries, metrics or dashboards to use the new span names/ops.</li> </ul> </li> <li>ref(tracing): use standard code attributes (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/899">#899</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>Logs now carry the attributes <code>code.module.name</code>, <code>code.file.path</code> and <code>code.line.number</code> standardized in OTEL to surface the respective information, in contrast with the previously sent <code>tracing.module_path</code>, <code>tracing.file</code> and <code>tracing.line</code>.</li> </ul> </li> <li>fix(actix): capture only server errors (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/877">#877</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The Actix integration now properly honors the <code>capture_server_errors</code> option (enabled by default), capturing errors returned by middleware only if they are server errors (HTTP status code 5xx).</li> <li>Previously, if a middleware were to process the request after the Sentry middleware and return an error, our middleware would always capture it and send it to Sentry, regardless if it was a client, server or some other kind of error.</li> <li>With this change, we capture errors returned by middleware only if those errors can be classified as server errors.</li> <li>There is no change in behavior when it comes to errors returned by services, in which case the Sentry middleware only captures server errors exclusively.</li> </ul> </li> <li>fix: send trace origin correctly (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/906">#906</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li><code>TraceContext</code> now has an additional field <code>origin</code>, used to report which integration created a transaction.</li> </ul> </li> </ul> <h3>Behavioral changes</h3> <ul> <li>feat(tracing): send both breadcrumbs and logs by default (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/878">#878</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>If the <code>logs</code> feature flag is enabled, and <code>enable_logs: true</code> is set on your client options, the default Sentry <code>tracing</code> layer now sends logs for all events at or above INFO.</li> </ul> </li> </ul> <h3>Features</h3> <ul> <li> <p>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> <ul> <li>Additional special fields have been added that allow overriding certain data on the Sentry span: <ul> <li><code>sentry.op</code>: override the Sentry span op.</li> <li><code>sentry.name</code>: override the Sentry span name.</li> <li><code>sentry.trace</code>: given a string matching a valid <code>sentry-trace</code> header (sent automatically by client SDKs), continues the distributed trace instead of starting a new one. If the value is not a valid <code>sentry-trace</code> header or a trace is already started, this value is ignored.</li> </ul> </li> <li><code>sentry.op</code> and <code>sentry.name</code> can also be applied retroactively by declaring fields with value <code>tracing::field::Empty</code> and then recorded using <code>tracing::Span::record</code>.</li> <li>Example usage: <pre lang="rust"><code>#[tracing::instrument(skip_all, fields( sentry.op = "http.server", sentry.name = "GET /payments", sentry.trace = headers.get("sentry-trace").unwrap_or(&"".to_owned()), ))] async fn handle_request(headers: std::collections::HashMap<String, String>) { // ... } </code></pre> </li> <li>Additional attributes are sent along with each span by default: <ul> <li><code>sentry.tracing.target</code>: corresponds to the <code>tracing</code> span's <code>metadata.target()</code></li> <li><code>code.module.name</code>, <code>code.file.path</code>, <code>code.line.number</code></li> </ul> </li> </ul> </li> <li> <p>feat(core): add Response context (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/874">#874</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="b08b24a057"><code>b08b24a</code></a> release: 0.43.0</li> <li><a href="1c08ca8671"><code>1c08ca8</code></a> ref(tracing): keep old span name as op instead of default (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/905">#905</a>)</li> <li><a href="75aff83c65"><code>75aff83</code></a> fix(tracing): skip default span attributes when propagating to event (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/904">#904</a>)</li> <li><a href="6b61b31367"><code>6b61b31</code></a> fix: send trace origin correctly (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/906">#906</a>)</li> <li><a href="75a8c03de7"><code>75a8c03</code></a> ref(tracing): use standard code attributes (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/899">#899</a>)</li> <li><a href="bbd667ab00"><code>bbd667a</code></a> meta: add pull request template (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/898">#898</a>)</li> <li><a href="5c8ab31b61"><code>5c8ab31</code></a> ref(tracing): rework <code>tracing</code> to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/887">#887</a>)</li> <li><a href="045c2e2fed"><code>045c2e2</code></a> feat(tracing): send both breadcrumbs and logs by default (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/878">#878</a>)</li> <li><a href="a5932c0295"><code>a5932c0</code></a> fix(transport): add rate limit for logs (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/894">#894</a>)</li> <li><a href="280dab99be"><code>280dab9</code></a> build(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/891">#891</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-rust/compare/0.42.0...0.43.0">compare view</a></li> </ul> </details> <br /> Updates `sentry-tracing` from 0.42.0 to 0.43.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-rust/releases">sentry-tracing's releases</a>.</em></p> <blockquote> <h2>0.43.0</h2> <h3>Breaking changes</h3> <ul> <li>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The <code>tracing</code> integration now uses the tracing span name as the Sentry span name by default.</li> <li>Before this change, the span name would be set based on the <code>tracing</code> span target (<code><module>::<function></code> when using the <code>tracing::instrument</code> macro).</li> <li>The <code>tracing</code> integration now uses <code><span target>::<span name></code> as the default Sentry span op (i.e. <code><module>::<function></code> when using <code>tracing::instrument</code>).</li> <li>Before this change, the span op would be set based on the <code>tracing</code> span name.</li> <li>Read below to learn how to customize the span name and op.</li> <li>When upgrading, please ensure to adapt any queries, metrics or dashboards to use the new span names/ops.</li> </ul> </li> <li>ref(tracing): use standard code attributes (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/899">#899</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>Logs now carry the attributes <code>code.module.name</code>, <code>code.file.path</code> and <code>code.line.number</code> standardized in OTEL to surface the respective information, in contrast with the previously sent <code>tracing.module_path</code>, <code>tracing.file</code> and <code>tracing.line</code>.</li> </ul> </li> <li>fix(actix): capture only server errors (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/877">#877</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The Actix integration now properly honors the <code>capture_server_errors</code> option (enabled by default), capturing errors returned by middleware only if they are server errors (HTTP status code 5xx).</li> <li>Previously, if a middleware were to process the request after the Sentry middleware and return an error, our middleware would always capture it and send it to Sentry, regardless if it was a client, server or some other kind of error.</li> <li>With this change, we capture errors returned by middleware only if those errors can be classified as server errors.</li> <li>There is no change in behavior when it comes to errors returned by services, in which case the Sentry middleware only captures server errors exclusively.</li> </ul> </li> <li>fix: send trace origin correctly (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/906">#906</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li><code>TraceContext</code> now has an additional field <code>origin</code>, used to report which integration created a transaction.</li> </ul> </li> </ul> <h3>Behavioral changes</h3> <ul> <li>feat(tracing): send both breadcrumbs and logs by default (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/878">#878</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>If the <code>logs</code> feature flag is enabled, and <code>enable_logs: true</code> is set on your client options, the default Sentry <code>tracing</code> layer now sends logs for all events at or above INFO.</li> </ul> </li> </ul> <h3>Features</h3> <ul> <li> <p>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> <ul> <li>Additional special fields have been added that allow overriding certain data on the Sentry span: <ul> <li><code>sentry.op</code>: override the Sentry span op.</li> <li><code>sentry.name</code>: override the Sentry span name.</li> <li><code>sentry.trace</code>: given a string matching a valid <code>sentry-trace</code> header (sent automatically by client SDKs), continues the distributed trace instead of starting a new one. If the value is not a valid <code>sentry-trace</code> header or a trace is already started, this value is ignored.</li> </ul> </li> <li><code>sentry.op</code> and <code>sentry.name</code> can also be applied retroactively by declaring fields with value <code>tracing::field::Empty</code> and then recorded using <code>tracing::Span::record</code>.</li> <li>Example usage: <pre lang="rust"><code>#[tracing::instrument(skip_all, fields( sentry.op = "http.server", sentry.name = "GET /payments", sentry.trace = headers.get("sentry-trace").unwrap_or(&"".to_owned()), ))] async fn handle_request(headers: std::collections::HashMap<String, String>) { // ... } </code></pre> </li> <li>Additional attributes are sent along with each span by default: <ul> <li><code>sentry.tracing.target</code>: corresponds to the <code>tracing</code> span's <code>metadata.target()</code></li> <li><code>code.module.name</code>, <code>code.file.path</code>, <code>code.line.number</code></li> </ul> </li> </ul> </li> <li> <p>feat(core): add Response context (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/874">#874</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> <ul> <li>The <code>Response</code> context can now be attached to events, to include information about HTTP responses such as headers, cookies and status code.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md">sentry-tracing's changelog</a>.</em></p> <blockquote> <h2>0.43.0</h2> <h3>Breaking changes</h3> <ul> <li>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The <code>tracing</code> integration now uses the tracing span name as the Sentry span name by default.</li> <li>Before this change, the span name would be set based on the <code>tracing</code> span target (<code><module>::<function></code> when using the <code>tracing::instrument</code> macro).</li> <li>The <code>tracing</code> integration now uses <code><span target>::<span name></code> as the default Sentry span op (i.e. <code><module>::<function></code> when using <code>tracing::instrument</code>).</li> <li>Before this change, the span op would be set based on the <code>tracing</code> span name.</li> <li>Read below to learn how to customize the span name and op.</li> <li>When upgrading, please ensure to adapt any queries, metrics or dashboards to use the new span names/ops.</li> </ul> </li> <li>ref(tracing): use standard code attributes (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/899">#899</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>Logs now carry the attributes <code>code.module.name</code>, <code>code.file.path</code> and <code>code.line.number</code> standardized in OTEL to surface the respective information, in contrast with the previously sent <code>tracing.module_path</code>, <code>tracing.file</code> and <code>tracing.line</code>.</li> </ul> </li> <li>fix(actix): capture only server errors (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/877">#877</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>The Actix integration now properly honors the <code>capture_server_errors</code> option (enabled by default), capturing errors returned by middleware only if they are server errors (HTTP status code 5xx).</li> <li>Previously, if a middleware were to process the request after the Sentry middleware and return an error, our middleware would always capture it and send it to Sentry, regardless if it was a client, server or some other kind of error.</li> <li>With this change, we capture errors returned by middleware only if those errors can be classified as server errors.</li> <li>There is no change in behavior when it comes to errors returned by services, in which case the Sentry middleware only captures server errors exclusively.</li> </ul> </li> <li>fix: send trace origin correctly (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/906">#906</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li><code>TraceContext</code> now has an additional field <code>origin</code>, used to report which integration created a transaction.</li> </ul> </li> </ul> <h3>Behavioral changes</h3> <ul> <li>feat(tracing): send both breadcrumbs and logs by default (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/878">#878</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a> <ul> <li>If the <code>logs</code> feature flag is enabled, and <code>enable_logs: true</code> is set on your client options, the default Sentry <code>tracing</code> layer now sends logs for all events at or above INFO.</li> </ul> </li> </ul> <h3>Features</h3> <ul> <li> <p>ref(tracing): rework tracing to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/887">#887</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> <ul> <li>Additional special fields have been added that allow overriding certain data on the Sentry span: <ul> <li><code>sentry.op</code>: override the Sentry span op.</li> <li><code>sentry.name</code>: override the Sentry span name.</li> <li><code>sentry.trace</code>: given a string matching a valid <code>sentry-trace</code> header (sent automatically by client SDKs), continues the distributed trace instead of starting a new one. If the value is not a valid <code>sentry-trace</code> header or a trace is already started, this value is ignored.</li> </ul> </li> <li><code>sentry.op</code> and <code>sentry.name</code> can also be applied retroactively by declaring fields with value <code>tracing::field::Empty</code> and then recorded using <code>tracing::Span::record</code>.</li> <li>Example usage: <pre lang="rust"><code>#[tracing::instrument(skip_all, fields( sentry.op = "http.server", sentry.name = "GET /payments", sentry.trace = headers.get("sentry-trace").unwrap_or(&"".to_owned()), ))] async fn handle_request(headers: std::collections::HashMap<String, String>) { // ... } </code></pre> </li> <li>Additional attributes are sent along with each span by default: <ul> <li><code>sentry.tracing.target</code>: corresponds to the <code>tracing</code> span's <code>metadata.target()</code></li> <li><code>code.module.name</code>, <code>code.file.path</code>, <code>code.line.number</code></li> </ul> </li> </ul> </li> <li> <p>feat(core): add Response context (<a href="https://redirect.github.com/getsentry/sentry-rust/pull/874">#874</a>) by <a href="https://github.com/lcian"><code>@lcian</code></a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="b08b24a057"><code>b08b24a</code></a> release: 0.43.0</li> <li><a href="1c08ca8671"><code>1c08ca8</code></a> ref(tracing): keep old span name as op instead of default (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/905">#905</a>)</li> <li><a href="75aff83c65"><code>75aff83</code></a> fix(tracing): skip default span attributes when propagating to event (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/904">#904</a>)</li> <li><a href="6b61b31367"><code>6b61b31</code></a> fix: send trace origin correctly (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/906">#906</a>)</li> <li><a href="75a8c03de7"><code>75a8c03</code></a> ref(tracing): use standard code attributes (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/899">#899</a>)</li> <li><a href="bbd667ab00"><code>bbd667a</code></a> meta: add pull request template (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/898">#898</a>)</li> <li><a href="5c8ab31b61"><code>5c8ab31</code></a> ref(tracing): rework <code>tracing</code> to Sentry span name/op conversion (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/887">#887</a>)</li> <li><a href="045c2e2fed"><code>045c2e2</code></a> feat(tracing): send both breadcrumbs and logs by default (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/878">#878</a>)</li> <li><a href="a5932c0295"><code>a5932c0</code></a> fix(transport): add rate limit for logs (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/894">#894</a>)</li> <li><a href="280dab99be"><code>280dab9</code></a> build(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 (<a href="https://redirect.github.com/getsentry/sentry-rust/issues/891">#891</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-rust/compare/0.42.0...0.43.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Thomas Eizinger <thomas@eizinger.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
266 lines
8.5 KiB
TOML
266 lines
8.5 KiB
TOML
[workspace]
|
|
members = [
|
|
"bin-shared",
|
|
"cli",
|
|
"client-ffi",
|
|
"client-shared",
|
|
"connlib/bufferpool",
|
|
"connlib/dns-over-tcp",
|
|
"connlib/dns-types",
|
|
"connlib/etherparse-ext",
|
|
"connlib/ip-packet",
|
|
"connlib/l3-tcp",
|
|
"connlib/l4-tcp-dns-server",
|
|
"connlib/l4-udp-dns-server",
|
|
"connlib/model",
|
|
"connlib/phoenix-channel",
|
|
"connlib/snownet",
|
|
"connlib/socket-factory",
|
|
"connlib/tun",
|
|
"connlib/tunnel",
|
|
"gateway",
|
|
"gui-client/src-admx-macro",
|
|
"gui-client/src-tauri",
|
|
"headless-client",
|
|
"logging",
|
|
"relay/ebpf-shared",
|
|
"relay/ebpf-turn-router",
|
|
"relay/server",
|
|
"telemetry",
|
|
"tests/fuzz",
|
|
"tests/gui-smoke-test",
|
|
"tests/http-test-server",
|
|
"tools/uniffi-bindgen",
|
|
]
|
|
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
license = "Apache-2.0"
|
|
edition = "2024"
|
|
|
|
[workspace.dependencies]
|
|
admx-macro = { path = "gui-client/src-admx-macro" }
|
|
anyhow = "1.0.99"
|
|
arbitrary = "1.4.2"
|
|
arboard = { version = "3.6.1", default-features = false }
|
|
async-trait = { version = "0.1", default-features = false }
|
|
atomicwrites = "0.4.4"
|
|
axum = { version = "0.8.5", default-features = false }
|
|
aya = { git = "https://github.com/aya-rs/aya" }
|
|
aya-build = { git = "https://github.com/aya-rs/aya" }
|
|
aya-ebpf = { git = "https://github.com/aya-rs/aya" }
|
|
aya-log = { git = "https://github.com/aya-rs/aya" }
|
|
aya-log-ebpf = { git = "https://github.com/aya-rs/aya" }
|
|
backoff = { version = "0.4", features = ["tokio"] }
|
|
base64 = { version = "0.22.1", default-features = false }
|
|
bimap = "0.6"
|
|
bnum = "0.13.0"
|
|
boringtun = { version = "0.6", default-features = false }
|
|
bufferpool = { path = "connlib/bufferpool" }
|
|
bytecodec = "0.5.0"
|
|
bytes = { version = "1.9.0", default-features = false }
|
|
caps = "0.5.5"
|
|
chrono = { version = "0.4", default-features = false, features = ["std", "clock", "oldtime", "serde"] }
|
|
clap = "4.5.47"
|
|
client-shared = { path = "client-shared" }
|
|
connlib-model = { path = "connlib/model" }
|
|
crossbeam-queue = "0.3.12"
|
|
dashmap = "6.1.0"
|
|
derive_more = { version = "2.0.1", default-features = false }
|
|
difference = "2.0.0"
|
|
dirs = "6.0.0"
|
|
divan = "0.1.21"
|
|
dns-lookup = "3.0"
|
|
dns-over-tcp = { path = "connlib/dns-over-tcp" }
|
|
dns-types = { path = "connlib/dns-types" }
|
|
ebpf-shared = { path = "relay/ebpf-shared" }
|
|
either = "1"
|
|
etherparse = { version = "0.19", default-features = false }
|
|
etherparse-ext = { path = "connlib/etherparse-ext" }
|
|
firezone-bin-shared = { path = "bin-shared" }
|
|
firezone-headless-client = { path = "headless-client" }
|
|
firezone-logging = { path = "logging" }
|
|
firezone-relay = { path = "relay/server" }
|
|
firezone-telemetry = { path = "telemetry" }
|
|
firezone-tunnel = { path = "connlib/tunnel" }
|
|
flume = { version = "0.11.1", features = ["async"] }
|
|
futures = { version = "0.3.31" }
|
|
futures-bounded = "0.3.0"
|
|
gat-lending-iterator = "0.1.6"
|
|
glob = "0.3.3"
|
|
hex = "0.4.3"
|
|
hex-display = "0.3.0"
|
|
hex-literal = "1.0.0"
|
|
hickory-resolver = "0.25.2"
|
|
humantime = "2.3"
|
|
ip-packet = { path = "connlib/ip-packet" }
|
|
ip_network = { version = "0.4", default-features = false }
|
|
ip_network_table = { version = "0.2", default-features = false }
|
|
itertools = "0.14"
|
|
jni = "0.21.1"
|
|
keyring = "3.6.3"
|
|
known-folders = "1.3.1"
|
|
l3-tcp = { path = "connlib/l3-tcp" }
|
|
l4-tcp-dns-server = { path = "connlib/l4-tcp-dns-server" }
|
|
l4-udp-dns-server = { path = "connlib/l4-udp-dns-server" }
|
|
libc = "0.2.176"
|
|
libfuzzer-sys = "0.4"
|
|
log = "0.4"
|
|
lru = "0.16.1"
|
|
mio = "1.1.0"
|
|
moka = "0.12.11"
|
|
native-dialog = "0.7.0"
|
|
netlink-packet-core = "0.8"
|
|
netlink-packet-route = "0.25"
|
|
network-types = "0.1.0"
|
|
nix = "0.30.1"
|
|
nu-ansi-term = "0.50"
|
|
num_cpus = "1.17.0"
|
|
once_cell = "1.21.3"
|
|
opentelemetry = "0.30.0"
|
|
opentelemetry-otlp = "0.30.0"
|
|
opentelemetry-stdout = "0.30.0"
|
|
opentelemetry_sdk = "0.30.0"
|
|
os_info = { version = "3", default-features = false }
|
|
output_vt100 = "0.1"
|
|
parking_lot = "0.12.4"
|
|
phoenix-channel = { path = "connlib/phoenix-channel" }
|
|
png = "0.17.16"
|
|
proc-macro2 = "1.0"
|
|
proptest = "1.7.0"
|
|
proptest-state-machine = "0.5.0"
|
|
quinn-udp = { version = "0.5.12", features = ["fast-apple-datapath"] }
|
|
quote = "1.0"
|
|
rand = "0.8.5"
|
|
rand_core = "0.6.4"
|
|
rangemap = "1.6.0"
|
|
reqwest = { version = "0.12.23", default-features = false }
|
|
resolv-conf = "0.7.5"
|
|
ringbuffer = "0.16.0"
|
|
roxmltree = "0.20"
|
|
rpassword = "7.4.0"
|
|
rtnetlink = { version = "0.18.1", default-features = false, features = ["tokio_socket"] }
|
|
rustls = { version = "0.23.31", default-features = false, features = ["ring"] }
|
|
sadness-generator = "0.6.0"
|
|
sd-notify = "0.4.5" # This is a pure Rust re-implementation, so it isn't vulnerable to CVE-2024-3094
|
|
secrecy = "0.10"
|
|
semver = "1.0.27"
|
|
sentry = { version = "0.43.0", default-features = false }
|
|
sentry-tracing = "0.43.0"
|
|
serde = "1.0.228"
|
|
serde_json = "1.0.145"
|
|
serde_variant = "0.1.3"
|
|
serde_with = "3.14.0"
|
|
sha2 = "0.10.9"
|
|
smallvec = "1.15.1"
|
|
smbios-lib = "0.9.2"
|
|
smoltcp = { version = "0.12", default-features = false }
|
|
snownet = { path = "connlib/snownet" }
|
|
socket-factory = { path = "connlib/socket-factory" }
|
|
socket2 = { version = "0.6" }
|
|
specta = "=2.0.0-rc.22"
|
|
specta-typescript = "0.0.9"
|
|
static_assertions = "1.1.0"
|
|
str0m = { version = "0.9.0", default-features = false, features = ["sha1"] }
|
|
strum = { version = "0.27.2", features = ["derive"] }
|
|
stun_codec = "0.4.0"
|
|
subprocess = "0.2.9"
|
|
subtle = "2.5.0"
|
|
supports-color = "3.0.2"
|
|
swift-bridge = "0.1.57"
|
|
swift-bridge-build = "0.1.57"
|
|
syn = "2.0"
|
|
tauri = "2.8.4"
|
|
tauri-build = "2.4.0"
|
|
tauri-plugin-dialog = "2.4.0"
|
|
tauri-plugin-notification = "2.3.1"
|
|
tauri-plugin-opener = "2.5.0"
|
|
tauri-plugin-shell = "2.3.1"
|
|
tauri-runtime = "2.7.1"
|
|
tauri-specta = { version = "=2.0.0-rc.21", features = ["derive", "typescript"] }
|
|
tauri-utils = "2.2.0"
|
|
tempfile = "3.23.0"
|
|
test-case = "3.3.1"
|
|
test-strategy = "0.4.3"
|
|
thiserror = "2.0.17"
|
|
time = "0.3.43"
|
|
tokio = "1.47"
|
|
tokio-stream = "0.1.17"
|
|
tokio-tungstenite = "0.28.0"
|
|
tokio-util = "0.7.16"
|
|
tracing = { version = "0.1.40" }
|
|
tracing-appender = "0.2.3"
|
|
tracing-core = "0.1.34"
|
|
tracing-journald = "0.3.1"
|
|
tracing-log = "0.2.0"
|
|
tracing-macros = { git = "https://github.com/tokio-rs/tracing", branch = "v0.1.x" } # Contains `dbg!` but for `tracing`.
|
|
tracing-opentelemetry = "0.31.0"
|
|
tracing-stackdriver = "0.12.0"
|
|
tracing-subscriber = { version = "0.3.20", features = ["parking_lot"] }
|
|
trackable = "1.3.0"
|
|
tun = { path = "connlib/tun" }
|
|
uniffi = "0.29.4"
|
|
url = "2.5.2"
|
|
uuid = "1.18.1"
|
|
which = "4.4.2"
|
|
windows = "0.61.3"
|
|
windows-core = "0.61.1"
|
|
windows-implement = "0.60.0"
|
|
windows-service = "0.8.0"
|
|
winreg = "0.55.0"
|
|
zbus = "5.11.0"
|
|
zip = { version = "5", default-features = false }
|
|
|
|
[workspace.lints.clippy]
|
|
dbg_macro = "warn"
|
|
print_stdout = "warn"
|
|
print_stderr = "warn"
|
|
unnecessary_wraps = "warn"
|
|
unused_async = "warn"
|
|
wildcard_enum_match_arm = "warn" # Ensures we match on all combinations of `Poll`, preventing erroneous suspensions.
|
|
redundant_else = "warn"
|
|
redundant_clone = "warn"
|
|
unwrap_in_result = "warn"
|
|
unwrap_used = "warn"
|
|
too_many_arguments = "allow" # Don't care.
|
|
large_enum_variant = "allow" # Don't care.
|
|
|
|
[workspace.lints.rustdoc]
|
|
private-intra-doc-links = "allow" # We don't publish any of our docs but want to catch dead links.
|
|
|
|
[patch.crates-io]
|
|
boringtun = { git = "https://github.com/firezone/boringtun", branch = "master" }
|
|
ip_network = { git = "https://github.com/JakubOnderka/ip_network", branch = "master" } # Waiting for release.
|
|
ip_network_table = { git = "https://github.com/edmonds/ip_network_table", branch = "some-useful-traits" } # For `Debug` and `Clone`
|
|
tracing-stackdriver = { git = "https://github.com/thomaseizinger/tracing-stackdriver", branch = "bump-otel-0.30" } # Waiting for release.
|
|
softbuffer = { git = "https://github.com/rust-windowing/softbuffer" } # Waiting for release.
|
|
str0m = { git = "https://github.com/algesten/str0m", branch = "main" }
|
|
moka = { git = "https://github.com/moka-rs/moka", branch = "main" } # Waiting for release.
|
|
quinn-udp = { git = "https://github.com/quinn-rs/quinn", branch = "main" } # Waiting for release.
|
|
|
|
# Enforce `tracing-macros` to have released `tracing` version.
|
|
[patch.'https://github.com/tokio-rs/tracing']
|
|
tracing = "0.1.41"
|
|
|
|
[profile.release]
|
|
# Full link-time optimization. Reduces binaries by up to 3x on some platforms.
|
|
lto = "fat"
|
|
|
|
# Increases the compiler's ability to produce smaller, optimized code
|
|
# at the expense of compilation time
|
|
codegen-units = 1
|
|
|
|
[profile.release.package.firezone-gui-client]
|
|
debug = "full"
|
|
split-debuginfo = "packed"
|
|
|
|
[profile.release.package.ebpf-turn-router]
|
|
debug = 2
|
|
|
|
# Override build settings just for the GUI client, so we get a pdb/dwp
|
|
# Cargo ignores profile settings if they're not in the workspace's Cargo.toml
|
|
[profile.dev.package.firezone-gui-client]
|
|
debug = "full"
|
|
split-debuginfo = "packed"
|