formatting

This commit is contained in:
Aiden McClelland
2021-01-14 14:08:04 -07:00
committed by Aiden McClelland
parent c72b7425fc
commit fb9b7d2a58
2 changed files with 36 additions and 6 deletions

View File

@@ -23,14 +23,14 @@ async-trait = "0.1.42"
base32 = "0.4.0"
clap = "2.33"
ed25519-dalek = "1.0.1"
emver = {version = "0.1.0", features = ["serde"]}
emver = { version = "0.1.0", features = ["serde"] }
failure = "0.1.8"
file-lock = "1.1"
futures = "0.3.8"
git-version = "0.3.4"
itertools = "0.9.0"
lazy_static = "1.4"
linear-map = {version = "1.2", features = ["serde_impl"]}
linear-map = { version = "1.2", features = ["serde_impl"] }
log = "0.4.11"
openssl = "0.10.30"
pest = "2.1"
@@ -38,13 +38,13 @@ pest_derive = "2.1"
prettytable-rs = "0.8.0"
rand = "0.7.3"
regex = "1.4.2"
reqwest = {version = "0.10.9", features = ["stream", "json"]}
reqwest = { version = "0.10.9", features = ["stream", "json"] }
rpassword = "5.0.0"
serde = {version = "1.0.118", features = ["derive", "rc"]}
serde = { version = "1.0.118", features = ["derive", "rc"] }
serde_cbor = "0.11.1"
serde_json = "1.0.59"
serde_yaml = "0.8.14"
simple-logging = "2.0"
tokio = {version = "0.3.5", features = ["full"]}
tokio = { version = "0.3.5", features = ["full"] }
tokio-compat-02 = "0.1.2"
tokio-tar = {version = "0.3.0", git = "https://github.com/dr-bonez/tokio-tar.git", rev = "1ba710f3"}
tokio-tar = { version = "0.3.0", git = "https://github.com/dr-bonez/tokio-tar.git", rev = "1ba710f3" }

30
appmgr/taplo.toml Normal file
View File

@@ -0,0 +1,30 @@
include = ["Cargo.toml"]
[formatting]
# Align consecutive entries vertically.
align_entries = false
# Append trailing commas for multi-line arrays.
array_trailing_comma = true
# Expand arrays to multiple lines that exceed the maximum column width.
array_auto_expand = true
# Collapse arrays that don't exceed the maximum column width and don't contain comments.
array_auto_collapse = true
# Omit white space padding from single-line arrays
compact_arrays = true
# Omit white space padding from the start and end of inline tables.
compact_inline_tables = false
# Maximum column width in characters, affects array expansion and collapse, this doesn't take whitespace into account.
# Note that this is not set in stone, and works on a best-effort basis.
column_width = 80
# Indent based on tables and arrays of tables and their subtables, subtables out of order are not indented.
indent_tables = false
# The substring that is used for indentation, should be tabs or spaces (but technically can be anything).
indent_string = ' '
# Add trailing newline at the end of the file if not present.
trailing_newline = true
# Alphabetically reorder keys that are not separated by empty lines.
reorder_keys = true
# Maximum amount of allowed consecutive blank lines. This does not affect the whitespace at the end of the document, as it is always stripped.
allowed_blank_lines = 2
# Use CRLF for line endings.
crlf = false