Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [package]
  2. name = "dioxus-mobile"
  3. version = { workspace = true }
  4. authors = ["Jonathan Kelley"]
  5. edition = "2021"
  6. description = "Mobile-compatible renderer for Dioxus"
  7. repository = "https://github.com/DioxusLabs/dioxus/"
  8. homepage = "https://dioxuslabs.com/learn/0.6/getting_started"
  9. keywords = ["dom", "ui", "gui", "react"]
  10. license = "MIT OR Apache-2.0"
  11. rust-version = "1.71.1"
  12. [dependencies]
  13. dioxus-desktop = { workspace = true }
  14. dioxus-lib = { workspace = true }
  15. dioxus-cli-config = { workspace = true }
  16. libc = "0.2.170"
  17. once_cell = { workspace = true }
  18. [target.'cfg(target_os = "android")'.dependencies]
  19. jni = "0.21.1"
  20. [features]
  21. default = ["jnibindings", "tokio_runtime", "devtools"]
  22. jnibindings = []
  23. tokio_runtime = ["dioxus-desktop/tokio_runtime"]
  24. fullscreen = ["dioxus-desktop/fullscreen"]
  25. transparent = ["dioxus-desktop/transparent"]
  26. devtools = ["dioxus-desktop/devtools"]
  27. gnu = ["dioxus-desktop/gnu"]
  28. [lib]
  29. doctest = false
  30. # tests suspended until package ready
  31. test = false
  32. [package.metadata.docs.rs]
  33. cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]