diff --git a/appmgr/Cargo.toml b/appmgr/Cargo.toml index 27c28cf48..e87618902 100644 --- a/appmgr/Cargo.toml +++ b/appmgr/Cargo.toml @@ -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" } diff --git a/appmgr/taplo.toml b/appmgr/taplo.toml new file mode 100644 index 000000000..18a22da42 --- /dev/null +++ b/appmgr/taplo.toml @@ -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