mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove components/nonzero, use std::num::NonZero instead
This commit is contained in:
parent
d55a003c92
commit
e39f741321
15 changed files with 5 additions and 158 deletions
|
@ -17,7 +17,6 @@ gleam = "0.5.1"
|
|||
lazy_static = "1"
|
||||
malloc_size_of = { path = "../malloc_size_of" }
|
||||
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
|
||||
nonzero = {path = "../nonzero"}
|
||||
offscreen_gl_context = {version = "0.17", features = ["serde"]}
|
||||
serde = "1.0"
|
||||
serde_bytes = "0.10"
|
||||
|
|
|
@ -14,7 +14,6 @@ extern crate ipc_channel;
|
|||
#[macro_use] extern crate lazy_static;
|
||||
extern crate malloc_size_of;
|
||||
#[macro_use] extern crate malloc_size_of_derive;
|
||||
extern crate nonzero;
|
||||
extern crate offscreen_gl_context;
|
||||
#[macro_use] extern crate serde;
|
||||
extern crate serde_bytes;
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
use euclid::Size2D;
|
||||
use gleam::gl;
|
||||
use nonzero::NonZeroU32;
|
||||
use offscreen_gl_context::{GLContextAttributes, GLLimits};
|
||||
use serde_bytes::ByteBuf;
|
||||
use std::num::NonZeroU32;
|
||||
use webrender_api::{DocumentId, ImageKey, PipelineId};
|
||||
|
||||
/// Sender type used in WebGLCommands.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue