Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SDL bindings for Rust

License

NotificationsYou must be signed in to change notification settings

brson/rust-sdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bindings for SDL in Rust

Overview

Rust-SDL is a library for talking to SDL from Rust. Low-level C components are wrapped in Rust code to make them more idiomatic and abstract away inappropriate manual memory management.

In addition, it provides optional APIs to a number of common SDL extension libraries.

Rust-SDL uses the MIT license.

Requirements

Optional

Installation

Clone this repo, runcargo build. To see an example of the code in use,rustc -L ./target src/sdl-demo/main.rs.

SDL_mixer and SDL_image are available through separate packages, from within their respective directories, runcargo build to build. They depend on the main SDL library.

When things go wrong

Rust, and Rust-SDL, are both still heavily in development, and you may run into teething issues when using this. Before panicking, check that you're using the latest Master branch of Rust, check that you've updated Rust-SDL to the latest version, and runcargo clean. If that fails, please let us know on the issue tracker.

About

SDL bindings for Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors40

Languages


[8]ページ先頭

©2009-2025 Movatter.jp