summaryrefslogtreecommitdiff
path: root/bindgen/rust/src
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 18:58:43 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 18:58:43 +1000
commitf5e5a6fdf58f3135f3211135bfbcb6e70630309f (patch)
tree0d58ffe229df9ed907219537b78d2a88d10b331d /bindgen/rust/src
parentaa1eeebb1c05edc22335cbb48af5d42be20750c0 (diff)
fix glfw get key range so it doesnt panic on mac
Diffstat (limited to 'bindgen/rust/src')
-rw-r--r--bindgen/rust/src/lib.rs6
-rw-r--r--bindgen/rust/src/main.rs3
2 files changed, 6 insertions, 3 deletions
diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs
new file mode 100644
index 0000000..f9e77b0
--- /dev/null
+++ b/bindgen/rust/src/lib.rs
@@ -0,0 +1,6 @@
+//! Celeritas bindings wrapper library
+
+#![warn(missing_docs)]
+#![cfg_attr(docsrs, feature(doc_cfg))]
+
+pub use celeritas_sys as ffi;
diff --git a/bindgen/rust/src/main.rs b/bindgen/rust/src/main.rs
deleted file mode 100644
index e7a11a9..0000000
--- a/bindgen/rust/src/main.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-fn main() {
- println!("Hello, world!");
-}