chore(napi): upgrade bitflags to v2 (#1518)
This commit is contained in:
parent
73db80311a
commit
347e81b3cc
2 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,7 @@ tokio_time = ["tokio/time"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ctor = "0.1"
|
ctor = "0.1"
|
||||||
once_cell = "1.16"
|
once_cell = "1.16"
|
||||||
bitflags = "1"
|
bitflags = "2"
|
||||||
|
|
||||||
[dependencies.anyhow]
|
[dependencies.anyhow]
|
||||||
version = "1"
|
version = "1"
|
||||||
|
|
|
@ -32,6 +32,7 @@ impl Default for Property {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Debug, Copy, Clone)]
|
||||||
pub struct PropertyAttributes: i32 {
|
pub struct PropertyAttributes: i32 {
|
||||||
const Default = sys::PropertyAttributes::default;
|
const Default = sys::PropertyAttributes::default;
|
||||||
const Writable = sys::PropertyAttributes::writable;
|
const Writable = sys::PropertyAttributes::writable;
|
||||||
|
|
Loading…
Reference in a new issue