diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 06dfe3f4..efa24724 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -25,3 +25,6 @@ version = "1" [dependencies.once_cell] optional = true version = "1" + +[package.metadata.workspaces] +independent = true diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index ef82ae74..10217d67 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -9,3 +9,6 @@ name = "napi-build" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" version = "1.1.0" + +[package.metadata.workspaces] +independent = true diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index f1fb4e26..d27912e2 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -25,3 +25,6 @@ syn = {version = "1.0", features = ["fold", "full", "extra-traits"]} [lib] proc-macro = true + +[package.metadata.workspaces] +independent = true diff --git a/crates/napi/Cargo.toml b/crates/napi/Cargo.toml index cc570512..5b645183 100644 --- a/crates/napi/Cargo.toml +++ b/crates/napi/Cargo.toml @@ -10,8 +10,10 @@ repository = "https://github.com/napi-rs/napi-rs" version = "2.0.0-alpha.0" [features] +async = ["tokio_rt"] compat-mode = [] default = ["napi3", "compat-mode"] # for most Node.js users +full = ["latin1", "napi8", "async", "serde-json"] latin1 = ["encoding_rs"] napi1 = [] napi2 = ["napi1"] @@ -23,8 +25,6 @@ napi7 = ["napi6", "napi-sys/napi7"] napi8 = ["napi7", "napi-sys/napi8"] serde-json = ["serde", "serde_json"] tokio_rt = ["tokio", "once_cell", "napi4"] -async = ["tokio_rt"] -full = ["latin1", "napi8", "async", "serde-json"] [dependencies] ctor = "0.1" @@ -56,3 +56,6 @@ version = "1" [package.metadata.docs.rs] all-features = true + +[package.metadata.workspaces] +independent = true diff --git a/crates/sys/Cargo.toml b/crates/sys/Cargo.toml index ea5e40b9..3bd9ba30 100644 --- a/crates/sys/Cargo.toml +++ b/crates/sys/Cargo.toml @@ -19,3 +19,6 @@ napi5 = ["napi4"] napi6 = ["napi5"] napi7 = ["napi6"] napi8 = ["napi7"] + +[package.metadata.workspaces] +independent = true