# native
cargo build
# web-sys
cargo build --target wasm32-unknown-unknown
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"] }
This project is licensed under any one of Apache License, Version 2.0, zlib License, or MIT license, at your option.
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.