From 8af27467c6c79e9fbe26df03034ee432903e07e1 Mon Sep 17 00:00:00 2001 From: hkalbasi Date: Fri, 29 Aug 2025 17:03:14 +0330 Subject: [PATCH] Zanbilify --- Cargo.toml | 21 +++++++++++++++++++++ build.rs | 3 +++ src/lib.rs | 1 + 3 files changed, 25 insertions(+) create mode 100644 Cargo.toml create mode 100644 build.rs create mode 100644 src/lib.rs diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..63afb18 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "boost_scope_exit" +description = "Boost C++ library boost_scope_exit packaged using Zanbil" +version = "0.1.0" +edition = "2024" +links = "boost_scope_exit" +license = "BSL-1.0" +repository = "https://github.com/zanbilify/boost_scope_exit" + +[package.metadata.zanbil] +make_dependencies_public = true + +[dependencies] +boost_config = { version = "0.1.0", path = "../boost_config" } +boost_function = { version = "0.1.0", path = "../boost_function" } +boost_preprocessor = { version = "0.1.0", path = "../boost_preprocessor" } +boost_type_traits = { version = "0.1.0", path = "../boost_type_traits" } +boost_typeof = { version = "0.1.0", path = "../boost_typeof" } + +[build-dependencies] +zanbil-boost-build = "0.1.0" diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..29e0346 --- /dev/null +++ b/build.rs @@ -0,0 +1,3 @@ +fn main() { + zanbil_boost_build::build(); +} diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..92dbf5e --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +include!(concat!(env!("OUT_DIR"), "/generated_lib.rs"));