From 0dca2d3861894e2bb65d396a14ba76b22364eee3 Mon Sep 17 00:00:00 2001 From: hkalbasi Date: Fri, 29 Aug 2025 17:00:05 +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 00000000..592713ae --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "boost_function" +description = "Boost C++ library boost_function packaged using Zanbil" +version = "0.1.0" +edition = "2024" +links = "boost_function" +license = "BSL-1.0" +repository = "https://github.com/zanbilify/boost_function" + +[package.metadata.zanbil] +make_dependencies_public = true + +[dependencies] +boost_assert = { version = "0.1.0", path = "../boost_assert" } +boost_bind = { version = "0.1.0", path = "../boost_bind" } +boost_config = { version = "0.1.0", path = "../boost_config" } +boost_core = { version = "0.1.0", path = "../boost_core" } +boost_throw_exception = { version = "0.1.0", path = "../boost_throw_exception" } + +[build-dependencies] +zanbil-boost-build = "0.1.0" diff --git a/build.rs b/build.rs new file mode 100644 index 00000000..29e0346a --- /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 00000000..92dbf5ed --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +include!(concat!(env!("OUT_DIR"), "/generated_lib.rs"));