Skip to content
forked from grovesNL/glow

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code

License

Notifications You must be signed in to change notification settings

CrazyboyQCD/glow

 
 

Repository files navigation

glow

GL on Whatever: a set of bindings to run GL anywhere (Open GL, OpenGL ES, and WebGL) and avoid target-specific code.

crates.io docs.rs Build Status Minimum Rust Version

Build commands

# native
cargo build

# web-sys
cargo build --target wasm32-unknown-unknown

no_std support

no_std support can be enabled by compiling with --no-default-features to disable std support and --features hashbrown for Hash collections that are only defined in std for internal usages in crate. For example:

[dependencies]
glow = { version = "0.16", default-features = false, features = ["hashbrown"] }

To support both std and no_std builds in project, you can use the following in your Cargo.toml:

[features]
default = ["std"]

std = ["glow/std"]
hashbrown = ["glow/hashbrown"]

[dependencies]
glow = { version = "0.16", default-features = false, features = ["hashbrown"] }

License

This project is licensed under any one of Apache License, Version 2.0, zlib License, or MIT license, at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache 2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.9%
  • Shell 0.1%