Cargo.toml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 = ["/devtools/*", "/Justfile", "/Vagrantfile", "/screenshots.png", "/tests"]
  9. readme = "README.md"
  10. homepage = "https://github.com/eza-community/eza"
  11. license = "MIT"
  12. repository = "https://github.com/eza-community/eza"
  13. version = "0.12.0"
  14. [package.metadata.deb]
  15. license-file = [ "LICENCE", "4" ]
  16. depends = "$auto"
  17. extended-description = """
  18. eza is a modern, maintained replacement for ls
  19. """
  20. section = "utils"
  21. priority = "optional"
  22. assets = [
  23. [ "target/release/eza", "/usr/bin/eza", "0755" ],
  24. [ "target/release/../man/eza.1", "/usr/share/man/man1/eza.1", "0644" ],
  25. [ "target/release/../man/eza_colors.5", "/usr/share/man/man5/eza_colors.5", "0644" ],
  26. [ "target/release/../man/eza_colors-explanation.5", "/usr/share/man/man5/eza_colors-explanation.5", "0644" ],
  27. [ "completions/bash/eza", "/usr/share/bash-completion/completions/eza", "0644" ],
  28. [ "completions/zsh/_eza", "/usr/share/zsh/site-functions/_eza", "0644" ],
  29. [ "completions/fish/eza.fish", "/usr/share/fish/vendor_completions.d/eza.fish", "0644" ],
  30. ]
  31. [[bin]]
  32. name = "eza"
  33. [dependencies]
  34. ansiterm = "0.12.2"
  35. gethostname = "0.4.3"
  36. chrono = { version = "0.4.30", default-features = false, features = ["clock"] }
  37. glob = "0.3"
  38. lazy_static = "1.3"
  39. libc = "0.2"
  40. locale = "0.2"
  41. log = "0.4"
  42. natord = "1.0"
  43. num_cpus = "1.16"
  44. number_prefix = "0.4"
  45. phf = { version = "0.11.2", features = ["macros"]}
  46. scoped_threadpool = "0.1"
  47. term_grid = "0.1"
  48. terminal_size = "0.2.6"
  49. timeago = { version = "0.4.1", default-features = false }
  50. unicode-width = "0.1"
  51. urlencoding = "2.1.3"
  52. zoneinfo_compiled = "0.5.1"
  53. [dependencies.git2]
  54. version = "0.18"
  55. optional = true
  56. default-features = false
  57. [target.'cfg(target_os = "linux")'.dependencies]
  58. proc-mounts = "0.3"
  59. [target.'cfg(unix)'.dependencies]
  60. uzers = "0.11.3"
  61. [build-dependencies]
  62. chrono = { version = "0.4.30", default-features = false, features = ["clock"] }
  63. [dev-dependencies]
  64. criterion = { version = "0.5.1", features = ["html_reports"] }
  65. trycmd = "0.14"
  66. [features]
  67. default = ["git"]
  68. git = ["git2"]
  69. vendored-openssl = ["git2/vendored-openssl"]
  70. vendored-libgit2 = ["git2/vendored-libgit2"]
  71. # Should only be used inside of flake.nix
  72. nix = []
  73. # make dev builds faster by excluding debug symbols
  74. [profile.dev]
  75. debug = false
  76. # use LTO for smaller binaries (that take longer to build)
  77. [profile.release]
  78. lto = true
  79. strip = true
  80. opt-level = 3
  81. [[bench]]
  82. name = "my_benchmark"
  83. harness = false