diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 4617534..7d7417a 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -39,4 +39,4 @@ jobs: shell: bash run: | cargo build --all - cargo nextest run --all --test-threads=1 --no-fail-fast + cargo test --all diff --git a/Cargo.toml b/Cargo.toml index 8b8c302..fc960d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,6 @@ schemars = "0.8" serde = "1.0" serde_json = "1.0" tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "net", "time", "io-util"] } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable, tokio_taskdump)'] } diff --git a/src/os_linux.rs b/src/os_linux.rs index e006b24..1acf896 100644 --- a/src/os_linux.rs +++ b/src/os_linux.rs @@ -5,10 +5,6 @@ use serde::Serialize; use crate::Context; -/// Request a coredump be taken of the process. -#[derive(Clone, Debug, PartialEq, JsonSchema, Serialize)] -struct CoredumpRequest {} - /// Response from a coredump (you'll never see one of these), since if /// a coredump is successful the process will be killed, and if not /// there should be an HTTP Error returned.