Cargo.toml 1008 B

12345678910111213141516171819202122232425262728293031
  1. [package]
  2. name = "dioxus-logger"
  3. version = { workspace = true }
  4. edition = "2021"
  5. description = "A logging utility to provide a standard interface whether you're targeting web desktop, fullstack, and more."
  6. authors = ["DogeDark", "Jonathan Kelley"]
  7. repository = "https://github.com/dioxuslabs/dioxus"
  8. homepage = "https://github.com/dioxuslabs/dioxus"
  9. readme = "README.md"
  10. license = "MIT"
  11. keywords = ["dioxus", "log", "logging"]
  12. categories = ["development-tools::debugging"]
  13. [dependencies]
  14. dioxus-cli-config = { workspace = true }
  15. tracing = { workspace = true }
  16. tracing-subscriber = { workspace = true, features = ["registry", "std", "env-filter"] }
  17. [features]
  18. default = []
  19. [target.'cfg(target_arch = "wasm32")'.dependencies]
  20. tracing-wasm = { workspace = true }
  21. console_error_panic_hook = { workspace = true }
  22. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  23. tracing-subscriber = { workspace = true, features = ["fmt"] }
  24. [dev-dependencies]
  25. dioxus = { workspace = true, features = ["fullstack"] }