lib.rs (586B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #![allow(clippy::new_without_default, unknown_lints, mismatched_lifetime_syntaxes)] 6 7 #[macro_use] 8 extern crate bitflags; 9 10 #[macro_use] 11 extern crate lazy_static; 12 13 #[cfg(feature = "serde")] 14 #[macro_use] 15 extern crate serde; 16 17 pub mod shader; 18 pub mod shader_features; 19 20 /// This must be known at build-time as the shaders depend on it. 21 pub const MAX_VERTEX_TEXTURE_WIDTH: usize = 1024;