Download crates/openwa-core/src/lib.rs from nmarshall/wormz-a: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/nmarshall/wormz-a/resolve/main/crates/openwa-core/src/lib.rs
- Command line
-
hf download hf://nmarshall/wormz-a/crates/openwa-core/src/lib.rs
-
curl -L -o lib.rs https://huggingface.co/nmarshall/wormz-a/resolve/main/crates/openwa-core/src/lib.rs
1.53 kB
| // FFI code frequently casts pointers for clarity even when redundant | |
| // Transmute annotations are verbose for FFI function pointer casts | |
| // Clamp-like patterns in FFI init code often have subtly different semantics | |
| // Complex types are common in FFI function pointer signatures | |
| // Doc formatting lints — not worth the churn | |
| // Allow proc macros to reference `openwa_core::registry` even when | |
| // invoked from within openwa-core itself (where the crate name is `crate`). | |
| extern crate self as openwa_core; | |
| // Re-export inventory so the define_addresses! macro can reference it | |
| // from any crate that depends on openwa-core. | |
| pub use inventory; | |
| // Re-export derive macros so users write `use openwa_core::FieldRegistry;` | |
| pub use openwa_derive::vtable; | |
| pub use openwa_derive::FieldRegistry; | |
| pub mod macros; | |
| pub mod asset; | |
| pub mod audio; | |
| pub mod bitgrid; | |
| pub mod engine; | |
| pub mod frontend; | |
| pub mod game; | |
| pub mod input; | |
| pub mod render; | |
| pub mod address; | |
| pub mod field_format; | |
| pub mod fixed; | |
| pub mod log; | |
| pub mod mem; | |
| pub mod rebase; | |
| pub mod registry; | |
| pub mod rng; | |
| pub mod snapshot; | |
| pub mod task; | |
| pub mod trig; | |
| pub mod vtable; | |
| pub mod wa; | |
| pub mod wa_alloc; | |
| pub mod wa_call; | |