1
This commit is contained in:
Evan Pratten 2022-12-09 13:05:28 -05:00
parent a13194be71
commit 00a555e552
3 changed files with 6 additions and 21 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "renderkit"
version = "4.2.0"
version = "1.0.0"
authors = ["Evan Pratten <ewpratten@gmail.com>"]
edition = "2021"
description = "Automatic raw Rust bindings to raylib"

View File

@ -1,9 +1,8 @@
# Direct raylib bindings for Rust
[![Crates.io](https://img.shields.io/crates/v/raylib-ffi)](https://crates.io/crates/raylib-ffi)
[![Docs.rs](https://docs.rs/raylib-ffi/badge.svg)](https://docs.rs/raylib-ffi)
[![Build Status](https://github.com/Ewpratten/raylib-ffi/actions/workflows/build.yml/badge.svg)](https://github.com/Ewpratten/raylib-ffi/actions/workflows/build.yml)
# Renderkit: Simple, powerful rendering system
[![Crates.io](https://img.shields.io/crates/v/renderkit)](https://crates.io/crates/renderkit)
[![Docs.rs](https://docs.rs/renderkit/badge.svg)](https://docs.rs/renderkit)
[![Build Status](https://github.com/Ewpratten/renderkit/actions/workflows/build.yml/badge.svg)](https://github.com/Ewpratten/renderkit/actions/workflows/build.yml)
`raylib-ffi` aims to provide a "no frills" direct binding to [raylib](https://www.raylib.com/) for rust developers. Unlike the [`raylib-rs` project](https://github.com/deltaphc/raylib-rs), this library trades high-level abstractions for staying truly up to date with upstream raylib (instead of a whole major version behind).
## Dependencies
@ -12,17 +11,3 @@ Fedora:
```sh
dnf install clang-devel alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel libatomic cmake
```
## Verifying your build
`raylib-ffi` bundles a rust version of the example project from raylib proper. To verify your build of this library worked, run:
```sh
cargo run --example basic
```
## Versioning policy
`raylib-ffi` follow [SemVer](https://semver.org/).
The major and minor version numbers of a `raylib-ffi` will always match the version of raylib it was built against. The patch version may be incremented if a rust-only fix is needed at any point.

View File

@ -8,7 +8,7 @@ pub fn main() {
// Create a window
let window = Window::new(
cgmath::Vector2::new(800, 450),
"raylib-ffi example - basic window",
"renderkit example - basic window",
);
// Render the window