From d9c4b90a758287f89ee1bf23af733ff50e5fa3d1 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sat, 26 Apr 2025 21:35:57 +0200 Subject: [PATCH] build: drop build script --- Cargo.toml | 5 +---- build.rs | 5 ----- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 build.rs diff --git a/Cargo.toml b/Cargo.toml index b1d19441..c2706d80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,6 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/SergioBenitez/cookie-rs" documentation = "https://docs.rs/cookie" readme = "README.md" -build = "build.rs" description = """ HTTP cookie parsing and cookie jar management. Supports signed and private (encrypted, authenticated) jars. @@ -33,8 +32,6 @@ rand = { version = "0.8", optional = true } hkdf = { version = "0.12.0", optional = true } subtle = { version = "2.3", optional = true } -[build-dependencies] -version_check = "0.9.4" - [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--cfg", "docsrs"] diff --git a/build.rs b/build.rs deleted file mode 100644 index 66f1ea21..00000000 --- a/build.rs +++ /dev/null @@ -1,5 +0,0 @@ -fn main() { - if let Some(true) = version_check::supports_feature("doc_cfg") { - println!("cargo:rustc-cfg=nightly"); - } -}