dioxus/packages/mobile/Cargo.toml
Jonathan Kelley ac3e33af46
cli json output, dx bundle fix, dx serve --platform android, race condition, drop ssg platform (#3186)
* clean up logging to avoid random extra trace

* fix race condition with updates

* properly wire up verbose

* fix bundling (macos) and logging

* Add structured output

* clean up clap names

* extract out wire format

* switch structured key to json

* fix random println, fallback to `dioxus/platform`

* clean up logging for run/build

* clean up logging around project

* remove manual exits

* fix tokio runtime for mobile

* rework dog app

* rip out ssg

* Switch dioxus/axum to dioxus/server

* add android template inline

* pre restructure for bundle prep

* add the whole res directory

* Better theme for the app

* remove mobile demo now that most apps work natively

* self-referential android

* only use deep linking for assets

* fix imports for android

* clippy, fixup ios and android

* I'm not boxing compiler message you can't make me

* fix clippy on unix
2024-11-12 09:01:01 -05:00

38 lines
1 KiB
TOML

[package]
name = "dioxus-mobile"
version = { workspace = true }
authors = ["Jonathan Kelley"]
edition = "2021"
description = "Mobile-compatible renderer for Dioxus"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com/learn/0.5/getting_started"
keywords = ["dom", "ui", "gui", "react"]
license = "MIT OR Apache-2.0"
[dependencies]
dioxus-desktop = { workspace = true }
dioxus-lib = { workspace = true }
libc = "0.2.159"
once_cell.workspace = true
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21.1"
[features]
default = ["jnibindings", "tokio_runtime", "devtools", "exception"]
jnibindings = []
tokio_runtime = ["dioxus-desktop/tokio_runtime"]
fullscreen = ["dioxus-desktop/fullscreen"]
transparent = ["dioxus-desktop/transparent"]
devtools = ["dioxus-desktop/devtools"]
gnu = ["dioxus-desktop/gnu"]
exception = ["dioxus-desktop/exception"]
[lib]
doctest = false
# tests suspended until package ready
test = false
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]