From 1c97a310b10df2c6557cd8cc54cfe08881e5ed78 Mon Sep 17 00:00:00 2001 From: Ryan G Date: Sun, 20 Sep 2020 18:41:44 -0400 Subject: [PATCH] Deprecate the stdweb backend (#1712) * Deprecate the stdweb backend * Add a changelog entry * Fmt * Move the deprecation notice --- CHANGELOG.md | 1 + src/platform_impl/web/stdweb/mod.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cc84b1a..d9cf9299 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ - On macOS, updated core-* dependencies and cocoa. - Bump `parking_lot` to 0.11 - On Android, bump `ndk`, `ndk-sys` and `ndk-glue` to 0.2. Checkout the new ndk-glue main proc attribute. +- Deprecate the stdweb backend, to be removed in a future release - **Breaking:** Prefixed virtual key codes `Add`, `Multiply`, `Divide`, `Decimal`, and `Subtract` with `Numpad`. - Added `Asterisk` and `Plus` virtual key codes. diff --git a/src/platform_impl/web/stdweb/mod.rs b/src/platform_impl/web/stdweb/mod.rs index 2f38c178..6d517247 100644 --- a/src/platform_impl/web/stdweb/mod.rs +++ b/src/platform_impl/web/stdweb/mod.rs @@ -1,3 +1,5 @@ +#![deprecated(since = "0.23.0", note = "Please migrate to web-sys over stdweb")] + mod canvas; mod event; mod scaling;