Cargo.toml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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.1"
  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. [dependencies.git2]
  95. version = "0.19"
  96. optional = true
  97. default-features = false
  98. [target.'cfg(target_os = "linux")'.dependencies]
  99. proc-mounts = "0.3"
  100. [target.'cfg(unix)'.dependencies]
  101. uzers = "0.12.1"
  102. [target.'cfg(target_os = "windows")'.dependencies]
  103. windows-sys = { version = "0.59.0", features = [
  104. "Win32_System_Console",
  105. "Win32_Foundation",
  106. ] }
  107. [build-dependencies]
  108. chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
  109. [dev-dependencies]
  110. criterion = { version = "0.5.1", features = ["html_reports"] }
  111. trycmd = "0.15"
  112. [features]
  113. default = ["git"]
  114. git = ["git2"]
  115. vendored-openssl = ["git2/vendored-openssl"]
  116. vendored-libgit2 = ["git2/vendored-libgit2"]
  117. # Should only be used inside of flake.nix
  118. nix = []
  119. # Should only be used inside of flake.nix locally (not on CI)
  120. nix-local = []
  121. # Should only be used inside of flake.nix
  122. # Shouldn't ever be used in CI (slow!)
  123. powertest = []
  124. nix-generated = []
  125. # use LTO for smaller binaries (that take longer to build)
  126. [profile.release]
  127. lto = true
  128. strip = true
  129. opt-level = 3
  130. codegen-units = 1
  131. panic = 'abort'
  132. [[bench]]
  133. name = "my_benchmark"
  134. harness = false