Skip to content

Commit

Permalink
SVG support
Browse files Browse the repository at this point in the history
  • Loading branch information
ewpratten committed Sep 26, 2024
1 parent 900eede commit cd4ad6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "raylib-ffi"
version = "5.0.1"
version = "5.0.2"
authors = ["Evan Pratten <[email protected]>"]
edition = "2021"
description = "Automatic raw Rust bindings to raylib"
Expand All @@ -19,12 +19,12 @@ exclude = [
build = "build/main.rs"

[dependencies]
num-traits = "0.2.17"
num-derive = "0.4.1"
num-traits = "^0.2.17"
num-derive = "^0.4.1"

[build-dependencies]
bindgen = "0.69.1"
cmake = "^0.1.49"
bindgen = "0.70.1"
cmake = "0.1.51"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
regex = "1"
Expand Down
4 changes: 4 additions & 0 deletions src/wrapper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// This file is used to inform bindgen about every header we need to parse

// Configuration variables
#define SUPPORT_FILEFORMAT_SVG 1

// Load raylib
#include "../third_party/raylib/src/raylib.h"

0 comments on commit cd4ad6c

Please sign in to comment.