Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. name = "dioxus-cli-config"
  3. version = { workspace = true }
  4. authors = ["Jonathan Kelley"]
  5. edition = "2021"
  6. description = "Configuration for the Dioxus CLI"
  7. repository = "https://github.com/DioxusLabs/dioxus/"
  8. license = "MIT OR Apache-2.0"
  9. keywords = ["react", "gui", "cli", "dioxus", "wasm"]
  10. [dependencies]
  11. clap = { version = "4.2", features = ["derive"], optional = true }
  12. serde = { version = "1.0.136", features = ["derive"] }
  13. serde_json = "1.0.79"
  14. toml = { workspace = true, optional = true }
  15. cargo_toml = { workspace = true, optional = true }
  16. once_cell = "1.18.0"
  17. tracing = { workspace = true }
  18. # bundling
  19. tauri-bundler = { workspace = true, optional = true }
  20. tauri-utils = { workspace = true, optional = true }
  21. dirs = { workspace = true, optional = true }
  22. [build-dependencies]
  23. built = { version = "=0.7.4", features = ["git2"] }
  24. [features]
  25. default = ["read-config"]
  26. cli = ["dep:tauri-bundler", "dep:tauri-utils", "read-from-args", "dep:toml", "dep:cargo_toml", "dep:dirs"]
  27. read-config = []
  28. read-from-args = ["dep:clap"]
  29. [package.metadata.docs.rs]
  30. cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]