From ce8f59f13a7a01330898a8684ac59ddbeb75a0a5 Mon Sep 17 00:00:00 2001 From: Ross MacArthur Date: Sun, 2 Nov 2025 17:20:49 +0000 Subject: [PATCH] Use dep feature Cargo syntax, set Rust version - Uses the `dep:` feature syntax so that `serde` and `serde_json` are no longer features. - Moves `.cargo/config` to `.cargo/config.toml`, previous was a deprecated location. - Document MSRV as 1.60 in Cargo.toml (possibly was 1.54 before `dep:` feature syntax added), but confirmed 1.60 works. Signed-off-by: Ross MacArthur --- .cargo/{config => config.toml} | 0 Cargo.toml | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename .cargo/{config => config.toml} (100%) diff --git a/.cargo/config b/.cargo/config.toml similarity index 100% rename from .cargo/config rename to .cargo/config.toml diff --git a/Cargo.toml b/Cargo.toml index 7bd697a4..a73200bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,10 @@ readme = "README.md" keywords = ["seccomp", "jail", "sandbox"] license = "Apache-2.0 OR BSD-3-Clause" edition = "2021" +rust-version = "1.60" [features] -json = ["serde", "serde_json"] +json = ["dep:serde", "dep:serde_json"] [dependencies] libc = "^0.2.153"