Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A platform agnostic library for supercharging your productivity with Dioxus.

Crates.io versionDownloaddocs.rs docs

This library is still under development. Expect breaking changes!


dioxus-sdk is a development kit for Dioxus that provides abstractions for your Dioxus app. Abstractions included are notifications, clipboard, geolocation and storage with more to come!

Features

  • Geolocation - (Web, Windows)
  • Storage - (Web, Desktop)
  • Clipboard - (Desktop)
  • Notifications - (Desktop)
  • Color Scheme - (Web)
  • Utility Hooks
    • use_channel
    • use_window_size
    • use_interval
    • use_debounce
    • use_timeout
  • Camera
  • WiFi
  • Bluetooth

Geolocation example:

use dioxus_sdk::geolocation::{    init_geolocator, use_geolocation,PowerMode};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}"})}}}

Platform Support

Clipboard

On linux you need the x11 library to use the clipboard abstraction:

sudo apt-get install xorg-dev

Usage

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

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

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 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