1
0

Cargo.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.15.3"
  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. ansiterm = { version = "0.12.2", features = ["ansi_colours"] }
  69. chrono = { version = "0.4.31", 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. num_cpus = "1.16"
  76. number_prefix = "0.4"
  77. palette = { version = "0.7.3", default-features = false, features = ["std"] }
  78. once_cell = "1.18.0"
  79. percent-encoding = "2.3.0"
  80. phf = { version = "0.11.2", features = ["macros"] }
  81. scoped_threadpool = "0.1"
  82. uutils_term_grid = "0.3"
  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. [dependencies.git2]
  88. version = "0.18"
  89. optional = true
  90. default-features = false
  91. [target.'cfg(target_os = "linux")'.dependencies]
  92. proc-mounts = "0.3"
  93. [target.'cfg(unix)'.dependencies]
  94. uzers = "0.11.3"
  95. [target.'cfg(target_os = "windows")'.dependencies]
  96. windows-sys = "0.48.0"
  97. [build-dependencies]
  98. chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
  99. [dev-dependencies]
  100. criterion = { version = "0.5.1", features = ["html_reports"] }
  101. trycmd = "0.14"
  102. [features]
  103. default = ["git"]
  104. git = ["git2"]
  105. vendored-openssl = ["git2/vendored-openssl"]
  106. vendored-libgit2 = ["git2/vendored-libgit2"]
  107. # Should only be used inside of flake.nix
  108. nix = []
  109. # Should only be used inside of flake.nix locally (not on CI)
  110. nix-local = []
  111. # use LTO for smaller binaries (that take longer to build)
  112. [profile.release]
  113. lto = true
  114. strip = true
  115. opt-level = 3
  116. codegen-units = 1
  117. [[bench]]
  118. name = "my_benchmark"
  119. harness = false