Release independent packages

- napi@3.0.0-alpha.10
- napi-derive@3.0.0-alpha.9
This commit is contained in:
LongYinan 2024-09-19 22:30:31 +08:00
parent 521ef58f59
commit 91af2c5961
No known key found for this signature in database
GPG Key ID: C3666B7FC82ADAD7
4 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ name = "napi-derive-backend"
readme = "README.md"
repository = "https://github.com/napi-rs/napi-rs"
rust-version = "1.65"
version = "2.0.0-alpha.8"
version = "2.0.0-alpha.9"
[package.metadata.workspaces]
independent = true

View File

@ -8,7 +8,7 @@ name = "napi-derive"
readme = "README.md"
repository = "https://github.com/napi-rs/napi-rs"
rust-version = "1.65"
version = "3.0.0-alpha.8"
version = "3.0.0-alpha.9"
[package.metadata.workspaces]
independent = true
@ -23,7 +23,7 @@ type-def = ["napi-derive-backend/type-def"]
[dependencies]
convert_case = "0.6"
napi-derive-backend = { version = "2.0.0-alpha.8", path = "../backend" }
napi-derive-backend = { version = "2.0.0-alpha.9", path = "../backend" }
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["fold", "full", "extra-traits"] }

View File

@ -8,7 +8,7 @@ name = "napi"
readme = "README.md"
repository = "https://github.com/napi-rs/napi-rs"
rust-version = "1.65"
version = "3.0.0-alpha.9"
version = "3.0.0-alpha.10"
[lib]
doctest = false

View File

@ -36,6 +36,7 @@ impl ValidateNapiValue for JsBuffer {
}
}
#[deprecated(since = "3.0.0", note = "Please use Buffer or &[u8] instead")]
pub struct JsBufferValue {
pub(crate) value: JsBuffer,
data: mem::ManuallyDrop<Vec<u8>>,