Skip to content

Commit

Permalink
Merge pull request #27 from waywardmonkeys/capitalize-rust
Browse files Browse the repository at this point in the history
Capitalize "Rust" correctly.
  • Loading branch information
floooh authored Mar 29, 2024
2 parents 5cf8d7d + 5dcdb3e commit 5fe13e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit 5fe13e5

Please sign in to comment.