From 17e0b6bc7aedad31e58177582befcf5541686d06 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 21 May 2024 10:13:37 -0400 Subject: [PATCH] Add rust2rpm.toml [skip changelog] --- rust2rpm.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 rust2rpm.toml diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..b4cb0c4 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,16 @@ +[package] +summary = "Thread-safe object pool with automatic return and attach/detach semantics" + +[requires] +build = [ + "tomcli", +] + +[scripts.prep] +post = [ + "# Drop benchmark-only dev dependencies.", + "tomcli set Cargo.toml del dev-dependencies.criterion", + "tomcli set Cargo.toml del dev-dependencies.criterion-plot", + "tomcli set Cargo.toml del dev-dependencies.object-pool", + "tomcli set Cargo.toml del dev-dependencies.sharded-slab", +]