Cargo.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. ansiterm = "0.12.2"
  34. gethostname = "0.4.3"
  35. glob = "0.3"
  36. lazy_static = "1.3"
  37. libc = "0.2"
  38. locale = "0.2"
  39. log = "0.4"
  40. natord = "1.0"
  41. num_cpus = "1.16"
  42. number_prefix = "0.4"
  43. phf = { version = "0.11.2", features = ["macros"]}
  44. scoped_threadpool = "0.1"
  45. term_grid = "0.1"
  46. terminal_size = "0.2.6"
  47. timeago = { version = "0.4.1", default-features = false }
  48. unicode-width = "0.1"
  49. urlencoding = "2.1.3"
  50. zoneinfo_compiled = "0.5.1"
  51. [dependencies.datetime]
  52. version = "0.5.2"
  53. default-features = false
  54. features = ["format"]
  55. [dependencies.git2]
  56. version = "0.18"
  57. optional = true
  58. default-features = false
  59. [target.'cfg(target_os = "linux")'.dependencies]
  60. proc-mounts = "0.3"
  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. vendored-libgit2 = ["git2/vendored-libgit2"]
  71. # make dev builds faster by excluding debug symbols
  72. [profile.dev]
  73. debug = false
  74. # use LTO for smaller binaries (that take longer to build)
  75. [profile.release]
  76. lto = true
  77. strip = true
  78. opt-level = "s"