Skip to content

Commit

Permalink
support parsing satellite libs, parse image
Browse files Browse the repository at this point in the history
  • Loading branch information
maia-s committed Jan 8, 2025
1 parent 016dd51 commit 12ec53b
Show file tree
Hide file tree
Showing 14 changed files with 2,765 additions and 155 deletions.
5 changes: 4 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ members = [
default-members = [
"sdl3-sys",
"sdl3-main",
"sdl3-image-sys",
]
2 changes: 1 addition & 1 deletion sdl3-image-src/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sdl3-image-src"
version = "0.0.0"
version = "3.1.0-preview-0"
edition = "2021"
authors = ["SDL developers"]
license = "Zlib"
Expand Down
2 changes: 2 additions & 0 deletions sdl3-image-src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This crate contains the source code of the SDL3_image library. It's used by the
`sdl3-image-sys` crate when building from source.
25 changes: 25 additions & 0 deletions sdl3-image-src/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
#![no_std]
#![doc = include_str!("../README.md")]

/// Location of the SDL3_image source code
#[cfg(not(windows))]
pub const SOURCE_DIR: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/SDL_image");
#[cfg(windows)]
pub const SOURCE_DIR: &str = concat!(env!("CARGO_MANIFEST_DIR"), "\\SDL_image");

/// Revision
pub const REVISION: &str = "SDL3_image-preview-3.1.0";

/// Version part of the revision
pub const VERSION: &str = "3.1.0";

/// Tag part of the revision
pub const REVISION_TAG: &str = "preview-3.1.0";

/// Tag part of the revision without version
pub const REVISION_TAG_BASE: &str = "preview";

/// Offset from tag part of the revision
pub const REVISION_OFFSET: &str = "0";

/// Hash part of the revision
pub const REVISION_HASH: &str = "g33d18dd9";
3 changes: 3 additions & 0 deletions sdl3-image-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ documentation = "https://docs.rs/sdl3-image-sys"
keywords = ["sdl", "graphics"]
categories = ["external-ffi-bindings", "no-std"]
# links = "SDL3_image"

[dependencies]
sdl3-sys = { version = "0.2", path = "../sdl3-sys" }
3 changes: 3 additions & 0 deletions sdl3-image-sys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# sdl3-image-sys

This version of `sdl3-image sys` has bindings for SDL_image version `3.1.0-preview` and earlier.
Loading

0 comments on commit 12ec53b

Please sign in to comment.