Skip to content

Commit 910a419

Browse files
committed
chore: format toml files
1 parent 6b94f77 commit 910a419

File tree

3 files changed

+32
-12
lines changed

3 files changed

+32
-12
lines changed

.cargo/config.toml

-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ cov = "llvm-cov"
33
cov-html = "llvm-cov --html"
44
cov-lcov = "llvm-cov --lcov --output-path=./.coverage/lcov.info"
55
time = "build --timings --all-targets"
6-
7-
8-

Cargo.toml

+32-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ name = "torrust-index-backend"
33
description = "The backend (API) for the Torrust Index project."
44
license-file = "COPYRIGHT"
55
version = "2.0.0-alpha.2"
6-
authors = ["Mick van Dijke <mick@dutchbits.nl>", "Wesley Bijleveld <wesley@dutchbits.nl>"]
6+
authors = [
7+
"Mick van Dijke <mick@dutchbits.nl>",
8+
"Wesley Bijleveld <wesley@dutchbits.nl>",
9+
]
710
repository = "https://github.com/torrust/torrust-index-backend"
811
edition = "2021"
912
default-run = "main"
@@ -17,7 +20,13 @@ actix-multipart = "0.6"
1720
actix-cors = "0.6"
1821
async-trait = "0.1"
1922
futures = "0.3"
20-
sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls", "sqlite", "mysql", "migrate", "time" ] }
23+
sqlx = { version = "0.6", features = [
24+
"runtime-tokio-native-tls",
25+
"sqlite",
26+
"mysql",
27+
"migrate",
28+
"time",
29+
] }
2130
config = "0.13"
2231
toml = "0.7"
2332
derive_more = "0.99"
@@ -32,9 +41,24 @@ rand_core = { version = "0.6", features = ["std"] }
3241
chrono = { version = "0.4", default-features = false, features = ["clock"] }
3342
jsonwebtoken = "8.3"
3443
sha-1 = "0.10"
35-
reqwest = { version = "0.11", features = [ "json", "multipart" ] }
36-
tokio = {version = "1.28", features = ["macros", "io-util", "net", "time", "rt-multi-thread", "fs", "sync", "signal"]}
37-
lettre = { version = "0.10", features = ["builder", "tokio1", "tokio1-rustls-tls", "tokio1-native-tls", "smtp-transport"]}
44+
reqwest = { version = "0.11", features = ["json", "multipart"] }
45+
tokio = { version = "1.28", features = [
46+
"macros",
47+
"io-util",
48+
"net",
49+
"time",
50+
"rt-multi-thread",
51+
"fs",
52+
"sync",
53+
"signal",
54+
] }
55+
lettre = { version = "0.10", features = [
56+
"builder",
57+
"tokio1",
58+
"tokio1-rustls-tls",
59+
"tokio1-native-tls",
60+
"smtp-transport",
61+
] }
3862
sailfish = "0.6"
3963
regex = "1.8"
4064
pbkdf2 = { version = "0.12", features = ["simple"] }
@@ -46,12 +70,12 @@ text-to-png = "0.2"
4670
indexmap = "1.9"
4771
thiserror = "1.0"
4872
binascii = "0.1"
49-
axum = { version = "0.6.18", features = ["multipart"]}
73+
axum = { version = "0.6.18", features = ["multipart"] }
5074
hyper = "0.14.26"
51-
tower-http = { version = "0.4.0", features = ["cors"]}
75+
tower-http = { version = "0.4.0", features = ["cors"] }
5276

5377
[dev-dependencies]
5478
rand = "0.8"
5579
tempfile = "3.5"
56-
uuid = { version = "1.3", features = [ "v4"] }
80+
uuid = { version = "1.3", features = ["v4"] }
5781
which = "4.4"

rustfmt.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
max_width = 130
22
imports_granularity = "Module"
33
group_imports = "StdExternalCrate"
4-

0 commit comments

Comments
 (0)