Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. [dependencies]
  12. dioxus-desktop = { workspace = true }
  13. dioxus-lib = { workspace = true }
  14. libc = "0.2.159"
  15. once_cell.workspace = true
  16. [target.'cfg(target_os = "android")'.dependencies]
  17. jni = "0.21.1"
  18. [features]
  19. default = ["jnibindings", "tokio_runtime", "devtools", "exception"]
  20. jnibindings = []
  21. tokio_runtime = ["dioxus-desktop/tokio_runtime"]
  22. fullscreen = ["dioxus-desktop/fullscreen"]
  23. transparent = ["dioxus-desktop/transparent"]
  24. devtools = ["dioxus-desktop/devtools"]
  25. gnu = ["dioxus-desktop/gnu"]
  26. exception = ["dioxus-desktop/exception"]
  27. [lib]
  28. doctest = false
  29. # tests suspended until package ready
  30. test = false
  31. [package.metadata.docs.rs]
  32. cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]