chore(napi): upgrade bitflags to v2 (#1518)

This commit is contained in:
LongYinan 2023-03-16 11:23:03 +08:00 committed by GitHub
parent 73db80311a
commit 347e81b3cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -51,7 +51,7 @@ tokio_time = ["tokio/time"]
[dependencies]
ctor = "0.1"
once_cell = "1.16"
bitflags = "1"
bitflags = "2"
[dependencies.anyhow]
version = "1"

View file

@ -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;