Mark deprecated feature flags
@@ -32,12 +32,15 @@ default = ["legacy-runtime"]
# Enable static tests. These can be fragile because of variations in Rust compiler
# error message formatting from version to version, so they're disabled by default.
+# TODO: https://github.com/neon-bindings/neon/issues/871
enable-static-tests = []
# Enable the EventHandler API of RFC 25.
+# DEPRECATED: Will be removed with `legacy-runtime`
event-handler-api = []
# Enable the default panic hook. Useful for debugging neon itself.
+# DEPRECATED: Will be removed with `legacy-runtime`
default-panic-hook = []
# Feature flag to enable the legacy V8/NAN runtime. For now, this feature is
@@ -62,6 +65,7 @@ napi-latest = ["napi-6"]
napi-experimental = ["napi-6", "neon-runtime/napi-experimental"]
# Feature flag to disable external dependencies on docs build
+# DEPRECATED: Will be removed with `legacy-runtime`
docs-only = ["neon-runtime/docs-only"]
# Feature flag to enable the try_catch API of RFC 29.
@@ -75,6 +79,7 @@ channel-api = []
event-queue-api = ["channel-api"]
# Feature flag to include procedural macros
+# DEPRECATED: Will be removed with `legacy-runtime` since it is enabled by default in Node-API backend.
proc-macros = ["neon-macros"]
# Enable `JsPromise` and `Deferred`
