- Notifications
You must be signed in to change notification settings - Fork0
Raw, unsafe Rust bindings to GGPO.
License
Apache-2.0, MIT licenses found
Licenses found
FaultyRAM/ggpo-sys
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ggpo-sys is a Rust library that provides raw, unsafe bindings toGGPO, a libraryfor rollback networking.
ggpo-sys depends on the following tools at build time:
- A recent version of stable Rust 🦀
- A C++ toolchain, in order to build the GGPO sources
- ggpo-sys usescc to build GGPO. CMake isnotrequired.
- 32-bit targets are untested and unsupported.Use at your own risk.
- GGPO only builds under Visual C++ and only for Windows targets. Support for other toolchainsis therefore blocked pending fixes to upstream.
- libclang
- Used for generating bindings to ggponet.h.
To use ggpo-sys, simply add it to yourCargo.toml
:
[dependencies]ggpo-sys ="^0.1.0"
For more details, refer to the source comments inggponet.h.
ggpo-sys is licensed under either of
- Apache License, Version 2.0,(LICENSE-APACHE orhttp://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT orhttp://opensource.org/licenses/MIT)
at your option.
Additionally, ggpo-sys bundles a copy of the GGPO source code, which is licensed separately underthe MIT license (libggpo/LICENSE orhttp://opensource.org/licenses/MIT).
Unless you explicitly state otherwise, any contribution intentionallysubmitted for inclusion in the work by you, as defined in the Apache-2.0license, shall be dual licensed as above, without any additional terms orconditions.
About
Raw, unsafe Rust bindings to GGPO.