1
0

Cargo.toml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 = [
  9. "/devtools/*",
  10. "/Justfile",
  11. "/Vagrantfile",
  12. "/screenshots.png",
  13. "/tests",
  14. ]
  15. readme = "README.md"
  16. homepage = "https://github.com/eza-community/eza"
  17. license = "MIT"
  18. repository = "https://github.com/eza-community/eza"
  19. version = "0.18.14"
  20. [package.metadata.deb]
  21. license-file = ["LICENCE", "4"]
  22. depends = "$auto"
  23. extended-description = """
  24. eza is a modern, maintained replacement for ls
  25. """
  26. section = "utils"
  27. priority = "optional"
  28. assets = [
  29. [
  30. "target/release/eza",
  31. "/usr/bin/eza",
  32. "0755",
  33. ],
  34. [
  35. "target/release/../man/eza.1",
  36. "/usr/share/man/man1/eza.1",
  37. "0644",
  38. ],
  39. [
  40. "target/release/../man/eza_colors.5",
  41. "/usr/share/man/man5/eza_colors.5",
  42. "0644",
  43. ],
  44. [
  45. "target/release/../man/eza_colors-explanation.5",
  46. "/usr/share/man/man5/eza_colors-explanation.5",
  47. "0644",
  48. ],
  49. [
  50. "completions/bash/eza",
  51. "/usr/share/bash-completion/completions/eza",
  52. "0644",
  53. ],
  54. [
  55. "completions/zsh/_eza",
  56. "/usr/share/zsh/site-functions/_eza",
  57. "0644",
  58. ],
  59. [
  60. "completions/fish/eza.fish",
  61. "/usr/share/fish/vendor_completions.d/eza.fish",
  62. "0644",
  63. ],
  64. ]
  65. [[bin]]
  66. name = "eza"
  67. [dependencies]
  68. nu-ansi-term = "0.50.0"
  69. chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
  70. glob = "0.3"
  71. libc = "0.2"
  72. locale = "0.2"
  73. log = "0.4"
  74. natord = "1.0"
  75. path-clean = "1.0.1"
  76. number_prefix = "0.4"
  77. palette = { version = "0.7.6", default-features = false, features = ["std"] }
  78. once_cell = "1.19.0"
  79. percent-encoding = "2.3.1"
  80. phf = { version = "0.11.2", features = ["macros"] }
  81. plist = { version = "1.6.1", default-features = false }
  82. uutils_term_grid = "0.6.0"
  83. terminal_size = "0.3.0"
  84. timeago = { version = "0.4.2", default-features = false }
  85. unicode-width = "0.1"
  86. zoneinfo_compiled = "0.5.1"
  87. rayon = "1.10.0"
  88. ansi-width = "0.1.0"
  89. [dependencies.git2]
  90. version = "0.18"
  91. optional = true
  92. default-features = false
  93. [target.'cfg(target_os = "linux")'.dependencies]
  94. proc-mounts = "0.3"
  95. [target.'cfg(unix)'.dependencies]
  96. uzers = "0.12.0"
  97. [target.'cfg(target_os = "windows")'.dependencies]
  98. windows-sys = { version = "0.52.0", features = [
  99. "Win32_System_Console",
  100. "Win32_Foundation",
  101. ] }
  102. [build-dependencies]
  103. chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
  104. [dev-dependencies]
  105. criterion = { version = "0.5.1", features = ["html_reports"] }
  106. trycmd = "0.15"
  107. [features]
  108. default = ["git"]
  109. git = ["git2"]
  110. vendored-openssl = ["git2/vendored-openssl"]
  111. vendored-libgit2 = ["git2/vendored-libgit2"]
  112. # Should only be used inside of flake.nix
  113. nix = []
  114. # Should only be used inside of flake.nix locally (not on CI)
  115. nix-local = []
  116. # Should only be used inside of flake.nix
  117. # Shouldn't ever be used in CI (slow!)
  118. powertest = []
  119. nix-generated = []
  120. # use LTO for smaller binaries (that take longer to build)
  121. [profile.release]
  122. lto = true
  123. strip = true
  124. opt-level = 3
  125. codegen-units = 1
  126. panic = 'abort'
  127. [[bench]]
  128. name = "my_benchmark"
  129. harness = false