mirror of
https://github.com/eza-community/eza
synced 2024-09-30 05:06:30 +00:00
style: formatted using treefmt
This commit is contained in:
parent
5fba960c5a
commit
7c8febd01d
54
Cargo.toml
54
Cargo.toml
|
@ -5,7 +5,13 @@ authors = ["Christina Sørensen <christina@cafkafk.com>"]
|
||||||
categories = ["command-line-utilities"]
|
categories = ["command-line-utilities"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.70.0"
|
rust-version = "1.70.0"
|
||||||
exclude = ["/devtools/*", "/Justfile", "/Vagrantfile", "/screenshots.png", "/tests"]
|
exclude = [
|
||||||
|
"/devtools/*",
|
||||||
|
"/Justfile",
|
||||||
|
"/Vagrantfile",
|
||||||
|
"/screenshots.png",
|
||||||
|
"/tests",
|
||||||
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://github.com/eza-community/eza"
|
homepage = "https://github.com/eza-community/eza"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -14,7 +20,7 @@ version = "0.13.0"
|
||||||
|
|
||||||
|
|
||||||
[package.metadata.deb]
|
[package.metadata.deb]
|
||||||
license-file = [ "LICENCE", "4" ]
|
license-file = ["LICENCE", "4"]
|
||||||
depends = "$auto"
|
depends = "$auto"
|
||||||
extended-description = """
|
extended-description = """
|
||||||
eza is a modern, maintained replacement for ls
|
eza is a modern, maintained replacement for ls
|
||||||
|
@ -22,13 +28,41 @@ eza is a modern, maintained replacement for ls
|
||||||
section = "utils"
|
section = "utils"
|
||||||
priority = "optional"
|
priority = "optional"
|
||||||
assets = [
|
assets = [
|
||||||
[ "target/release/eza", "/usr/bin/eza", "0755" ],
|
[
|
||||||
[ "target/release/../man/eza.1", "/usr/share/man/man1/eza.1", "0644" ],
|
"target/release/eza",
|
||||||
[ "target/release/../man/eza_colors.5", "/usr/share/man/man5/eza_colors.5", "0644" ],
|
"/usr/bin/eza",
|
||||||
[ "target/release/../man/eza_colors-explanation.5", "/usr/share/man/man5/eza_colors-explanation.5", "0644" ],
|
"0755",
|
||||||
[ "completions/bash/eza", "/usr/share/bash-completion/completions/eza", "0644" ],
|
],
|
||||||
[ "completions/zsh/_eza", "/usr/share/zsh/site-functions/_eza", "0644" ],
|
[
|
||||||
[ "completions/fish/eza.fish", "/usr/share/fish/vendor_completions.d/eza.fish", "0644" ],
|
"target/release/../man/eza.1",
|
||||||
|
"/usr/share/man/man1/eza.1",
|
||||||
|
"0644",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"target/release/../man/eza_colors.5",
|
||||||
|
"/usr/share/man/man5/eza_colors.5",
|
||||||
|
"0644",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"target/release/../man/eza_colors-explanation.5",
|
||||||
|
"/usr/share/man/man5/eza_colors-explanation.5",
|
||||||
|
"0644",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"completions/bash/eza",
|
||||||
|
"/usr/share/bash-completion/completions/eza",
|
||||||
|
"0644",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"completions/zsh/_eza",
|
||||||
|
"/usr/share/zsh/site-functions/_eza",
|
||||||
|
"0644",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"completions/fish/eza.fish",
|
||||||
|
"/usr/share/fish/vendor_completions.d/eza.fish",
|
||||||
|
"0644",
|
||||||
|
],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +82,7 @@ log = "0.4"
|
||||||
natord = "1.0"
|
natord = "1.0"
|
||||||
num_cpus = "1.16"
|
num_cpus = "1.16"
|
||||||
number_prefix = "0.4"
|
number_prefix = "0.4"
|
||||||
phf = { version = "0.11.2", features = ["macros"]}
|
phf = { version = "0.11.2", features = ["macros"] }
|
||||||
scoped_threadpool = "0.1"
|
scoped_threadpool = "0.1"
|
||||||
term_grid = "0.1"
|
term_grid = "0.1"
|
||||||
terminal_size = "0.2.6"
|
terminal_size = "0.2.6"
|
||||||
|
|
58
deny.toml
58
deny.toml
|
@ -20,13 +20,13 @@
|
||||||
# dependencies not shared by any other crates, would be ignored, as the target
|
# dependencies not shared by any other crates, would be ignored, as the target
|
||||||
# list here is effectively saying which targets you are building for.
|
# list here is effectively saying which targets you are building for.
|
||||||
targets = [
|
targets = [
|
||||||
# The triple can be any string, but only the target triples built in to
|
# The triple can be any string, but only the target triples built in to
|
||||||
# rustc (as of 1.40) can be checked against actual config expressions
|
# rustc (as of 1.40) can be checked against actual config expressions
|
||||||
#{ triple = "x86_64-unknown-linux-musl" },
|
#{ triple = "x86_64-unknown-linux-musl" },
|
||||||
# You can also specify which target_features you promise are enabled for a
|
# You can also specify which target_features you promise are enabled for a
|
||||||
# particular target. target_features are currently not validated against
|
# particular target. target_features are currently not validated against
|
||||||
# the actual valid features supported by the target architecture.
|
# the actual valid features supported by the target architecture.
|
||||||
#{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
|
#{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
|
||||||
]
|
]
|
||||||
# When creating the dependency graph used as the source of truth when checks are
|
# When creating the dependency graph used as the source of truth when checks are
|
||||||
# executed, this field can be used to prune crates from the graph, removing them
|
# executed, this field can be used to prune crates from the graph, removing them
|
||||||
|
@ -74,7 +74,7 @@ notice = "warn"
|
||||||
# A list of advisory IDs to ignore. Note that ignored advisories will still
|
# A list of advisory IDs to ignore. Note that ignored advisories will still
|
||||||
# output a note when they are encountered.
|
# output a note when they are encountered.
|
||||||
ignore = [
|
ignore = [
|
||||||
#"RUSTSEC-0000-0000",
|
#"RUSTSEC-0000-0000",
|
||||||
]
|
]
|
||||||
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
|
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
|
||||||
# lower than the range specified will be ignored. Note that ignored advisories
|
# lower than the range specified will be ignored. Note that ignored advisories
|
||||||
|
@ -102,16 +102,16 @@ unlicensed = "deny"
|
||||||
# See https://spdx.org/licenses/ for list of possible licenses
|
# See https://spdx.org/licenses/ for list of possible licenses
|
||||||
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
|
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
|
||||||
allow = [
|
allow = [
|
||||||
"MIT",
|
"MIT",
|
||||||
"Unicode-DFS-2016",
|
"Unicode-DFS-2016",
|
||||||
"Apache-2.0",
|
"Apache-2.0",
|
||||||
#"Apache-2.0 WITH LLVM-exception",
|
#"Apache-2.0 WITH LLVM-exception",
|
||||||
]
|
]
|
||||||
# List of explicitly disallowed licenses
|
# List of explicitly disallowed licenses
|
||||||
# See https://spdx.org/licenses/ for list of possible licenses
|
# See https://spdx.org/licenses/ for list of possible licenses
|
||||||
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
|
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
|
||||||
deny = [
|
deny = [
|
||||||
#"Nokia",
|
#"Nokia",
|
||||||
]
|
]
|
||||||
# Lint level for licenses considered copyleft
|
# Lint level for licenses considered copyleft
|
||||||
copyleft = "warn"
|
copyleft = "warn"
|
||||||
|
@ -137,9 +137,9 @@ confidence-threshold = 0.8
|
||||||
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
|
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
|
||||||
# aren't accepted for every possible crate as with the normal allow list
|
# aren't accepted for every possible crate as with the normal allow list
|
||||||
exceptions = [
|
exceptions = [
|
||||||
# Each entry is the crate and version constraint, and its specific allow
|
# Each entry is the crate and version constraint, and its specific allow
|
||||||
# list
|
# list
|
||||||
#{ allow = ["Zlib"], name = "adler32", version = "*" },
|
#{ allow = ["Zlib"], name = "adler32", version = "*" },
|
||||||
]
|
]
|
||||||
|
|
||||||
# Some crates don't have (easily) machine readable licensing information,
|
# Some crates don't have (easily) machine readable licensing information,
|
||||||
|
@ -158,8 +158,8 @@ exceptions = [
|
||||||
# and the crate will be checked normally, which may produce warnings or errors
|
# and the crate will be checked normally, which may produce warnings or errors
|
||||||
# depending on the rest of your configuration
|
# depending on the rest of your configuration
|
||||||
#license-files = [
|
#license-files = [
|
||||||
# Each entry is a crate relative path, and the (opaque) hash of its contents
|
# Each entry is a crate relative path, and the (opaque) hash of its contents
|
||||||
#{ path = "LICENSE", hash = 0xbd0eed23 }
|
#{ path = "LICENSE", hash = 0xbd0eed23 }
|
||||||
#]
|
#]
|
||||||
|
|
||||||
[licenses.private]
|
[licenses.private]
|
||||||
|
@ -172,7 +172,7 @@ ignore = false
|
||||||
# is only published to private registries, and ignore is true, the crate will
|
# is only published to private registries, and ignore is true, the crate will
|
||||||
# not have its license(s) checked
|
# not have its license(s) checked
|
||||||
registries = [
|
registries = [
|
||||||
#"https://sekretz.com/registry
|
#"https://sekretz.com/registry
|
||||||
]
|
]
|
||||||
|
|
||||||
# This section is considered when running `cargo deny check bans`.
|
# This section is considered when running `cargo deny check bans`.
|
||||||
|
@ -199,17 +199,17 @@ workspace-default-features = "allow"
|
||||||
external-default-features = "allow"
|
external-default-features = "allow"
|
||||||
# List of crates that are allowed. Use with care!
|
# List of crates that are allowed. Use with care!
|
||||||
allow = [
|
allow = [
|
||||||
#{ name = "ansi_term", version = "=0.11.0" },
|
#{ name = "ansi_term", version = "=0.11.0" },
|
||||||
]
|
]
|
||||||
# List of crates to deny
|
# List of crates to deny
|
||||||
deny = [
|
deny = [
|
||||||
# Each entry the name of a crate and a version range. If version is
|
# Each entry the name of a crate and a version range. If version is
|
||||||
# not specified, all versions will be matched.
|
# not specified, all versions will be matched.
|
||||||
#{ name = "ansi_term", version = "=0.11.0" },
|
#{ name = "ansi_term", version = "=0.11.0" },
|
||||||
#
|
#
|
||||||
# Wrapper crates can optionally be specified to allow the crate when it
|
# Wrapper crates can optionally be specified to allow the crate when it
|
||||||
# is a direct dependency of the otherwise banned crate
|
# is a direct dependency of the otherwise banned crate
|
||||||
#{ name = "ansi_term", version = "=0.11.0", wrappers = [] },
|
#{ name = "ansi_term", version = "=0.11.0", wrappers = [] },
|
||||||
]
|
]
|
||||||
|
|
||||||
# List of features to allow/deny
|
# List of features to allow/deny
|
||||||
|
@ -237,14 +237,14 @@ deny = [
|
||||||
|
|
||||||
# Certain crates/versions that will be skipped when doing duplicate detection.
|
# Certain crates/versions that will be skipped when doing duplicate detection.
|
||||||
skip = [
|
skip = [
|
||||||
#{ name = "ansi_term", version = "=0.11.0" },
|
#{ name = "ansi_term", version = "=0.11.0" },
|
||||||
]
|
]
|
||||||
# Similarly to `skip` allows you to skip certain crates during duplicate
|
# Similarly to `skip` allows you to skip certain crates during duplicate
|
||||||
# detection. Unlike skip, it also includes the entire tree of transitive
|
# detection. Unlike skip, it also includes the entire tree of transitive
|
||||||
# dependencies starting at the specified crate, up to a certain depth, which is
|
# dependencies starting at the specified crate, up to a certain depth, which is
|
||||||
# by default infinite.
|
# by default infinite.
|
||||||
skip-tree = [
|
skip-tree = [
|
||||||
#{ name = "ansi_term", version = "=0.11.0", depth = 20 },
|
#{ name = "ansi_term", version = "=0.11.0", depth = 20 },
|
||||||
]
|
]
|
||||||
|
|
||||||
# This section is considered when running `cargo deny check sources`.
|
# This section is considered when running `cargo deny check sources`.
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.70"
|
channel = "1.70"
|
||||||
components = [ "rustfmt", "rustc", "rust-src", "rust-analyzer", "cargo", "clippy" ]
|
components = [
|
||||||
|
"rustfmt",
|
||||||
|
"rustc",
|
||||||
|
"rust-src",
|
||||||
|
"rust-analyzer",
|
||||||
|
"cargo",
|
||||||
|
"clippy",
|
||||||
|
]
|
||||||
profile = "minimal"
|
profile = "minimal"
|
||||||
|
|
|
@ -7,14 +7,11 @@ description: |
|
||||||
group. It also has extra features not present in the original ls, such as
|
group. It also has extra features not present in the original ls, such as
|
||||||
viewing the Git status for a directory, or recursing into directories with a
|
viewing the Git status for a directory, or recursing into directories with a
|
||||||
tree view. eza is written in Rust, and it’s small, fast, and portable.
|
tree view. eza is written in Rust, and it’s small, fast, and portable.
|
||||||
|
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: classic
|
confinement: classic
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
eza:
|
eza:
|
||||||
command: eza
|
command: eza
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
eza:
|
eza:
|
||||||
plugin: rust
|
plugin: rust
|
||||||
|
|
Loading…
Reference in a new issue