mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Upgrade to bitflags 0.6.0 and selectors 0.5.6
Types generated by `bitflags!` are now private by default. This PR marks them `pub` where necessary.
This commit is contained in:
parent
d3f55fbf60
commit
1e23d90631
29 changed files with 77 additions and 90 deletions
|
@ -14,7 +14,7 @@ layers = {git = "https://github.com/servo/rust-layers", features = ["plugins"]}
|
|||
ipc-channel = {git = "https://github.com/servo/ipc-channel"}
|
||||
plugins = {path = "../plugins"}
|
||||
webrender_traits = {git = "https://github.com/servo/webrender_traits"}
|
||||
bitflags = "0.3"
|
||||
bitflags = "0.6.0"
|
||||
cssparser = {version = "0.5.4", features = ["heap_size", "serde-serialization"]}
|
||||
euclid = {version = "0.6.4", features = ["plugins"]}
|
||||
heapsize = "0.3.0"
|
||||
|
|
|
@ -194,7 +194,7 @@ pub enum Key {
|
|||
|
||||
bitflags! {
|
||||
#[derive(Deserialize, Serialize)]
|
||||
flags KeyModifiers: u8 {
|
||||
pub flags KeyModifiers: u8 {
|
||||
const NONE = 0x00,
|
||||
const SHIFT = 0x01,
|
||||
const CONTROL = 0x02,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue