Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [package]
  2. name = "enigo"
  3. version = "0.0.14"
  4. authors = ["Dustin Bensing <dustin.bensing@googlemail.com>"]
  5. edition = "2018"
  6. build = "build.rs"
  7. description = "Enigo lets you control your mouse and keyboard in an abstract way on different operating systems (currently only Linux, macOS, Win – Redox and *BSD planned)"
  8. documentation = "https://docs.rs/enigo/"
  9. homepage = "https://github.com/enigo-rs/enigo"
  10. repository = "https://github.com/enigo-rs/enigo"
  11. readme = "README.md"
  12. keywords = ["input", "mouse", "testing", "keyboard", "automation"]
  13. categories = ["development-tools::testing", "api-bindings", "hardware-support"]
  14. license = "MIT"
  15. [badges]
  16. travis-ci = { repository = "enigo-rs/enigo" }
  17. appveyor = { repository = "pythoneer/enigo-85xiy" }
  18. [dependencies]
  19. serde = { version = "1.0", optional = true }
  20. serde_derive = { version = "1.0", optional = true }
  21. log = "0.4"
  22. [features]
  23. with_serde = ["serde", "serde_derive"]
  24. [target.'cfg(target_os = "windows")'.dependencies]
  25. winapi = { version = "0.3", features = ["winuser", "winbase"] }
  26. [target.'cfg(target_os = "macos")'.dependencies]
  27. core-graphics = "0.22"
  28. objc = "0.2"
  29. unicode-segmentation = "1.6"
  30. [target.'cfg(target_os = "linux")'.dependencies]
  31. libc = "0.2"
  32. [build-dependencies]
  33. pkg-config = "0.3"