Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A library to provide abstractions to access common utilities when developing Dioxus applications.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

DioxusLabs/sdk

Repository files navigation

Cross-platform crates for supercharging your productivity with Dioxus.

Crates.io versionDownloaddocs.rs docs

These crates are still under development. Expect breaking changes!


dioxus-sdk is a development kit for Dioxus that provides cross-platform APIs for your Dioxus app. SDK is organized into many different crates accessible through thedioxus-sdk crate with the corresponding feature flags.

Features

  • dioxus-storage
  • dioxus-geolocation - Web & Windows
  • dioxus-notifications - Desktop
  • dioxus-window
    • Theme - (Web, Windows, Mac)
    • Window Size
  • dioxus-time
    • Sleep
    • Intervals
    • Debounce
    • Timeouts
  • dioxus-sync
    • Channels
  • dioxus-util
    • use_root_scroll
  • Camera
  • WiFi
  • Bluetooth

Geolocation example:

// dioxus-geolocation= { version = "*" }use dioxus::prelude::*;use dioxus_geolocation::{    init_geolocator, use_geolocation,PowerMode};#[component]fnApp() ->Element{let geolocator =init_geolocator(PowerMode::High).unwrap();let coords =use_geolocation();match coords{Ok(coords) =>{rsx!( p{"Latitude: {coords.latitude} | Longitude: {coords.longitude}"})}Err(Error::NotInitialized) =>{rsx!( p{"Initializing..."})}Err(e) =>{rsx!( p{"An error occurred {e}"})}}}

Usage

You can adddioxus-sdk to your application by adding it to your dependencies.

[dependencies]dioxus-sdk = {version ="0.6",features = [] }

Dioxus Compatibility

This table represents the compatibility between this crate and Dioxus versions.The crate version supports a Dioxus version up until the next crate version in the table.

E.g. if crate version0.1 supported Dioxus0.6 and crate version0.4 supported Dioxus0.7, crate versions0.1,0.2, and0.3 would support Dioxus0.6.

Crate VersionDioxus Version
0.60.6
0.50.5

License

This project is dual licensed under theMIT andApache 2.0 licenses.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion indioxus-sdk or any of it's crates, by you, shall be licensed as MIT or Apache 2.0, without any additional terms or conditions.

About

A library to provide abstractions to access common utilities when developing Dioxus applications.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp