Elegant and safe OpenGL wrapper.
Glium is an intermediate layer between OpenGL and your application. You still need to manually handle
the graphics pipeline, but without having to use OpenGL's old and error-prone API.
Its objectives:
- Be safe to use. Many aspects of OpenGL that can trigger a crash if misused are automatically handled by glium.
- Provide an API that enforces good pratices such as RAII or stateless function calls.
- Be compatible with all OpenGL versions that support shaders, providing unified API when things diverge.
- Avoid all OpenGL errors beforehand.
- Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques.
backtrace • 0.3.68A library to acquire a stack trace (backtrace) at runtime in a Rust program.
DIRECT
11
bitflags • 1.3.2A macro to generate structures which behave like bitflags.
INDIRECT
0
cc • 1.1.31A build-time dependency for Cargo build scripts to assist in invoking the native
C compiler to compile native C code into a static archive to be linked into Rust
code.
INDIRECT
1
cfg-if • 0.1.10A macro to ergonomically define an item depending on a large number of #[cfg]
parameters. Structured like an if-else chain, the first matching branch is the
item that gets emitted.
INDIRECT
0
cfg-if • 1.0.0A macro to ergonomically define an item depending on a large number of #[cfg]
parameters. Structured like an if-else chain, the first matching branch is the
item that gets emitted.
pkg-config • 0.3.31A library to run the pkg-config system tool at build time in order to be used in
Cargo build scripts.
INDIRECT
0
png • 0.12.0PNG decoding and encoding library in pure Rust
INDIRECT
9
proc-macro2 • 0.4.30A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
rusttype • 0.7.9A pure Rust alternative to libraries like FreeType.
RustType provides an API for loading, querying and rasterising TrueType fonts.
It also provides an implementation of a dynamic GPU glyph cache for hardware font rendering.
INDIRECT
7
rusttype • 0.8.3A pure Rust alternative to libraries like FreeType.
RustType provides an API for loading, querying and rasterising TrueType fonts.
It also provides an implementation of a dynamic GPU glyph cache for hardware font rendering.
INDIRECT
6
scopeguard • 0.3.3A RAII scope guard that will run a given closure when it goes out of scope,
even if the code between panics (assuming unwinding panic).
Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as
shorthands for guards with one of the implemented strategies.
shlex • 1.3.0Split a string into shell words, like Python's shlex.
INDIRECT
0
smallvec • 0.6.14'Small vector' optimization: store up to a small number of items on the stack
DIRECT
1
stable_deref_trait • 1.2.0An unsafe marker trait for types like Box and Rc that dereference to a stable address even when moved, and hence can be used with libraries such as owning_ref and rental.
INDIRECT
0
stb_truetype • 0.3.1A straight translation of the font loading code in stb_truetype.h from C to Rust.
unicode-xid • 0.1.0Determine whether characters have the XID_Start
or XID_Continue properties according to
Unicode Standard Annex #31.
INDIRECT
0
winapi-i686-pc-windows-gnu • 0.4.0Import libraries for the i686-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.
INDIRECT
0
winapi-x86_64-pc-windows-gnu • 0.4.0Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.
wayland-sys • 0.21.13FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.