Cargo.toml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. [package]
  2. name = "eza"
  3. description = "A modern replacement for ls"
  4. authors = ["Christina Sørensen <christina@cafkafk.com>"]
  5. categories = ["command-line-utilities"]
  6. edition = "2021"
  7. rust-version = "1.70.0"
  8. exclude = ["/devtools/*", "/Justfile", "/Vagrantfile", "/screenshots.png"]
  9. readme = "README.md"
  10. homepage = "https://github.com/eza-community/eza"
  11. license = "MIT"
  12. repository = "https://github.com/eza-community/eza"
  13. version = "0.11.0"
  14. [package.metadata.deb]
  15. license-file = [ "LICENCE", "4" ]
  16. depends = "$auto"
  17. extended-description = """
  18. eza is a modern, maintained replacement for ls
  19. """
  20. section = "utils"
  21. priority = "optional"
  22. assets = [
  23. [ "target/release/eza", "/usr/bin/eza", "0755" ],
  24. [ "target/release/../man/eza.1", "/usr/share/man/man1/eza.1", "0644" ],
  25. [ "target/release/../man/eza_colors.5", "/usr/share/man/man5/eza_colors.5", "0644" ],
  26. [ "completions/bash/eza", "/usr/share/bash-completion/completions/eza", "0644" ],
  27. [ "completions/zsh/_eza", "/usr/share/zsh/site-functions/_eza", "0644" ],
  28. [ "completions/fish/eza.fish", "/usr/share/fish/vendor_completions.d/eza.fish", "0644" ],
  29. ]
  30. [[bin]]
  31. name = "eza"
  32. [dependencies]
  33. ansi_term = "0.12"
  34. glob = "0.3"
  35. lazy_static = "1.3"
  36. libc = "0.2"
  37. locale = "0.2"
  38. log = "0.4"
  39. natord = "1.0"
  40. num_cpus = "1.16"
  41. number_prefix = "0.4"
  42. phf = { version = "0.11.2", features = ["macros"]}
  43. scoped_threadpool = "0.1"
  44. term_grid = "0.1"
  45. terminal_size = "0.2.6"
  46. timeago = { version = "0.4.1", default-features = false }
  47. unicode-width = "0.1"
  48. zoneinfo_compiled = "0.5.1"
  49. [dependencies.datetime]
  50. version = "0.5.2"
  51. default-features = false
  52. features = ["format"]
  53. [dependencies.git2]
  54. version = "0.18"
  55. optional = true
  56. default-features = false
  57. # This builds libgit2 into the binary to avoid dependency problems on systems
  58. # that don't have the required version of libgit2 yet.
  59. # See: https://github.com/eza-community/eza/pull/192
  60. features = ["vendored-libgit2"]
  61. [target.'cfg(unix)'.dependencies]
  62. uzers = "0.11.2"
  63. [build-dependencies.datetime]
  64. version = "0.5.2"
  65. default-features = false
  66. [features]
  67. default = [ "git" ]
  68. git = [ "git2" ]
  69. vendored-openssl = ["git2/vendored-openssl"]
  70. # make dev builds faster by excluding debug symbols
  71. [profile.dev]
  72. debug = false
  73. # use LTO for smaller binaries (that take longer to build)
  74. [profile.release]
  75. lto = true
  76. strip = true
  77. opt-level = "s"