From d66c02b70cdafebd8307eac2253ca65305f514b5 Mon Sep 17 00:00:00 2001 From: hkalbasi Date: Fri, 29 Aug 2025 16:59:35 +0330 Subject: [PATCH] Zanbilify --- Cargo.toml | 20 ++++++++++++++++++++ build.rs | 3 +++ src/lib.rs | 1 + 3 files changed, 24 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..833095ad --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "boost_array" +description = "Boost C++ library boost_array packaged using Zanbil" +version = "0.1.0" +edition = "2024" +links = "boost_array" +license = "BSL-1.0" +repository = "https://github.com/zanbilify/boost_array" + +[package.metadata.zanbil] +make_dependencies_public = true + +[dependencies] +boost_assert = { version = "0.1.0", path = "../boost_assert" } +boost_config = { version = "0.1.0", path = "../boost_config" } +boost_static_assert = { version = "0.1.0", path = "../boost_static_assert" } +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"));