Cargo.toml 3.4 KB

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