Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalize "Rust" correctly. #27

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ fn main() {
```

## Dependencies
The rust compiler and cargo can be installed using [rustup](https://rustup.rs/)
The Rust compiler and cargo can be installed using [rustup](https://rustup.rs/)

The same dependencies apply as with sokol normally for each platform

## Building with cargo
Cargo will compile and link the sokol headers automatically during compilation thanks to the buildscript `build.rs`

## Examples
Not all examples have been translated to rust yet, but you can check the ones that have been in the `examples` directory.
Not all examples have been translated to Rust yet, but you can check the ones that have been in the `examples` directory.

You can compile all examples using the following command:
```console
Expand Down Expand Up @@ -128,7 +128,7 @@ basic-http-server .
```

## Shaders
Checkout [sokol-tools](https://github.com/floooh/sokol-tools) for a sokol shader pipeline! It supports these rust bindings and all shaders in the examples folder
Checkout [sokol-tools](https://github.com/floooh/sokol-tools) for a sokol shader pipeline! It supports these Rust bindings and all shaders in the examples folder
here have been compiled using it with `-f sokol_rust`!

## License and attributions
Expand All @@ -139,4 +139,4 @@ The sokol headers are created by Andre Weissflog (floooh) and sokol is released

cimgui https://github.com/cimgui/cimgui is released under the MIT license

The old rust bindings by Daniel Ludwig (code-disaster) https://github.com/code-disaster/sokol-rs were used to figure out the `build.rs` script and it was released under the MIT license.
The old Rust bindings by Daniel Ludwig (code-disaster) https://github.com/code-disaster/sokol-rs were used to figure out the `build.rs` script and it was released under the MIT license.
2 changes: 1 addition & 1 deletion examples/audio/audio.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//------------------------------------------------------------------------------
// saudio.rs
// Test sokol-audio rust bindings
// Test sokol-audio Rust bindings
//------------------------------------------------------------------------------

use sokol::{app as sapp, audio as saudio, gfx as sg, glue as sglue, log as slog};
Expand Down