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]
|
||||
ctor = "0.1"
|
||||
once_cell = "1.16"
|
||||
bitflags = "1"
|
||||
bitflags = "2"
|
||||
|
||||
[dependencies.anyhow]
|
||||
version = "1"
|
||||
|
|
|
@ -32,6 +32,7 @@ impl Default for Property {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct PropertyAttributes: i32 {
|
||||
const Default = sys::PropertyAttributes::default;
|
||||
const Writable = sys::PropertyAttributes::writable;
|
||||
|
|
Loading…
Reference in a new issue