Cargo.toml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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.19.2"
  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. rayon = "1.10.0"
  69. chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
  70. nu-ansi-term = { version = "0.50.0", features = [
  71. "serde",
  72. "derive_serde_style",
  73. ] }
  74. glob = "0.3"
  75. libc = "0.2"
  76. locale = "0.2"
  77. log = "0.4"
  78. natord = "1.0"
  79. path-clean = "1.0.1"
  80. number_prefix = "0.4"
  81. palette = { version = "0.7.6", default-features = false, features = ["std"] }
  82. once_cell = "1.19.0"
  83. percent-encoding = "2.3.1"
  84. phf = { version = "0.11.2", features = ["macros"] }
  85. plist = { version = "1.7.0", default-features = false }
  86. uutils_term_grid = "0.6.0"
  87. terminal_size = "0.3.0"
  88. timeago = { version = "0.4.2", default-features = false }
  89. unicode-width = "0.1"
  90. zoneinfo_compiled = "0.5.1"
  91. ansi-width = "0.1.0"
  92. serde = { version = "1.0.193", features = ["derive"] }
  93. serde_yaml = "0.9.29"
  94. dirs = "5.0.1"
  95. [dependencies.git2]
  96. version = "0.19"
  97. optional = true
  98. default-features = false
  99. [target.'cfg(target_os = "linux")'.dependencies]
  100. proc-mounts = "0.3"
  101. [target.'cfg(unix)'.dependencies]
  102. uzers = "0.12.1"
  103. [target.'cfg(target_os = "windows")'.dependencies]
  104. windows-sys = { version = "0.59.0", features = [
  105. "Win32_System_Console",
  106. "Win32_Foundation",
  107. ] }
  108. [build-dependencies]
  109. chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
  110. [dev-dependencies]
  111. criterion = { version = "0.5.1", features = ["html_reports"] }
  112. trycmd = "0.15"
  113. [features]
  114. default = ["git"]
  115. git = ["git2"]
  116. vendored-openssl = ["git2/vendored-openssl"]
  117. vendored-libgit2 = ["git2/vendored-libgit2"]
  118. # Should only be used inside of flake.nix
  119. nix = []
  120. # Should only be used inside of flake.nix locally (not on CI)
  121. nix-local = []
  122. # Should only be used inside of flake.nix
  123. # Shouldn't ever be used in CI (slow!)
  124. powertest = []
  125. nix-generated = []
  126. # use LTO for smaller binaries (that take longer to build)
  127. [profile.release]
  128. lto = true
  129. strip = true
  130. opt-level = 3
  131. codegen-units = 1
  132. panic = 'abort'
  133. [[bench]]
  134. name = "my_benchmark"
  135. harness = false