stormshield-kg

Results 7 issues of stormshield-kg

This allows us to keep previously captured backtrace and spantrace and store them inside a new `color_eyre::Handler`. Usage example when using a custom enum error but keeping the capture of...

It is already possible to suppress the backtrace (#113), so this PR allow suppressing the spantrace, which is useful if a custom section already contains the spantrace.

## Motivation The `Layer` implementation for a `Vec` was introduced in https://github.com/tokio-rs/tracing/pull/2027, and a bug in the `Layer::enabled()` trait method was introduced in https://github.com/tokio-rs/tracing/pull/2027/commits/28e55d217ef9de1d04f302e84a1a32040091fb15, then was further transformed in https://github.com/tokio-rs/tracing/pull/2027/commits/012da661a61325dbf1a4eba0f9ad9649d2b1a477....

Fixes #852. The change is gated behind the feature `integer_primary_key_i64_for_sqlite_3_37`, since it uses the query [`PRAGMA table_list`](https://www.sqlite.org/pragma.html#pragma_table_list) available from sqlite 3.37 to get the `WITHOUT ROWID` attribute for a table.

Having const methods for `http::StatusCode` allows using them in a const context. It is useful when using the [response](https://docs.rs/aide/latest/aide/transform/struct.TransformOperation.html#method.response) method of the [aide](https://github.com/tamasfe/aide) documentation crate for [axum](https://github.com/tokio-rs/axum).

### Problem Using the `Cargo.toml` below, LTO is not used for the `staticlib` target when building multiple library targets with `cargo build --release`. To enable LTO, the `lib` target must...

C-bug
A-lto
S-triage

### What does this PR try to resolve? Fixes https://github.com/rust-lang/cargo/issues/5529. Fixes https://github.com/rust-lang/cargo/issues/14115. Fixes https://github.com/rust-lang/cargo/issues/14446. ### How should we test and review this PR? This first commit adds a test documenting...

A-dependency-resolution
A-registries
S-waiting-on-review
A-lockfile