Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [package]
  2. name = "eza"
  3. description = "A modern replacement for ls"
  4. authors = ["Benjamin Sago <ogham@bsago.me>", "Christina Sørensen <christina@cafkafk.com>"]
  5. categories = ["command-line-utilities"]
  6. edition = "2021"
  7. rust-version = "1.63.0"
  8. exclude = ["/devtools/*", "/Justfile", "/Vagrantfile", "/screenshots.png"]
  9. readme = "README.md"
  10. homepage = "https://github.com/cafkafk/eza"
  11. license = "MIT"
  12. repository = "https://github.com/cafkafk/ez"
  13. version = "0.10.1"
  14. [[bin]]
  15. name = "eza"
  16. [dependencies]
  17. ansi_term = "0.12"
  18. glob = "0.3"
  19. lazy_static = "1.3"
  20. # ensure https://github.com/cafkafk/eza/pull/13 hasn't changed before updating libc
  21. libc = "0.2.147"
  22. locale = "0.2"
  23. log = "0.4"
  24. natord = "1.0"
  25. num_cpus = "1.10"
  26. number_prefix = "0.4"
  27. scoped_threadpool = "0.1"
  28. term_grid = "0.1"
  29. terminal_size = "0.1.16"
  30. timeago = { version = "0.3.1", default-features = false }
  31. unicode-width = "0.1"
  32. zoneinfo_compiled = "0.5.1"
  33. [target.'cfg(unix)'.dependencies]
  34. users = "0.11"
  35. [dependencies.datetime]
  36. version = "0.5.2"
  37. default-features = false
  38. features = ["format"]
  39. [dependencies.git2]
  40. version = "0.16"
  41. optional = true
  42. default-features = false
  43. [build-dependencies.datetime]
  44. version = "0.5.2"
  45. default-features = false
  46. [features]
  47. default = [ "git" ]
  48. git = [ "git2" ]
  49. vendored-openssl = ["git2/vendored-openssl"]
  50. # make dev builds faster by excluding debug symbols
  51. [profile.dev]
  52. debug = false
  53. # use LTO for smaller binaries (that take longer to build)
  54. [profile.release]
  55. lto = true
  56. strip = true
  57. opt-level = "s"
  58. [package.metadata.deb]
  59. license-file = [ "LICENCE", "4" ]
  60. depends = "$auto"
  61. extended-description = """
  62. eza is a replacement for ls written in Rust.
  63. """
  64. section = "utils"
  65. priority = "optional"
  66. assets = [
  67. [ "target/release/eza", "/usr/bin/eza", "0755" ],
  68. [ "target/release/../man/eza.1", "/usr/share/man/man1/eza.1", "0644" ],
  69. [ "target/release/../man/eza_colors.5", "/usr/share/man/man5/eza_colors.5", "0644" ],
  70. [ "completions/bash/eza", "/usr/share/bash-completion/completions/eza", "0644" ],
  71. [ "completions/zsh/_eza", "/usr/share/zsh/site-functions/_eza", "0644" ],
  72. [ "completions/fish/eza.fish", "/usr/share/fish/vendor_completions.d/eza.fish", "0644" ],
  73. ]