fixed unstable apis flag for use_web_lock

fixes #169
This commit is contained in:
Maccesch 2024-09-02 12:19:51 +01:00
parent ae1676c786
commit 08b7d7e932
4 changed files with 10 additions and 1 deletions

1
.idea/leptos-use.iml generated
View file

@ -84,6 +84,7 @@
<sourceFolder url="file://$MODULE_DIR$/examples/use_toggle/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_toggle/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_web_lock/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_web_lock/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_window_size/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_window_size/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/aaaaa/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_event_listener/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_event_listener/target" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
<excludeFolder url="file://$MODULE_DIR$/docs/book/book" /> <excludeFolder url="file://$MODULE_DIR$/docs/book/book" />

View file

@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.13.2] - 2024-09-02
### Fix 🍕
- Fixed web-sys `unstable_apis` flag for `use_web_lock`
## [0.13.1] - 2024-09-01 ## [0.13.1] - 2024-09-01
### New Functions 🚀 ### New Functions 🚀

View file

@ -1,6 +1,6 @@
[package] [package]
name = "leptos-use" name = "leptos-use"
version = "0.13.1" version = "0.13.2"
edition = "2021" edition = "2021"
authors = ["Marc-Stefan Cassola"] authors = ["Marc-Stefan Cassola"]
categories = ["gui", "web-programming"] categories = ["gui", "web-programming"]

View file

@ -139,6 +139,7 @@ mod use_toggle;
#[cfg(feature = "use_user_media")] #[cfg(feature = "use_user_media")]
mod use_user_media; mod use_user_media;
#[cfg(feature = "use_web_lock")] #[cfg(feature = "use_web_lock")]
#[cfg(web_sys_unstable_apis)]
mod use_web_lock; mod use_web_lock;
#[cfg(feature = "use_web_notification")] #[cfg(feature = "use_web_notification")]
mod use_web_notification; mod use_web_notification;
@ -284,6 +285,7 @@ pub use use_toggle::*;
#[cfg(feature = "use_user_media")] #[cfg(feature = "use_user_media")]
pub use use_user_media::*; pub use use_user_media::*;
#[cfg(feature = "use_web_lock")] #[cfg(feature = "use_web_lock")]
#[cfg(web_sys_unstable_apis)]
pub use use_web_lock::*; pub use use_web_lock::*;
#[cfg(feature = "use_web_notification")] #[cfg(feature = "use_web_notification")]
pub use use_web_notification::*; pub use use_web_notification::*;