Skip to content

Commit

Permalink
chore: format cargo file
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 14, 2023
1 parent f610b92 commit b0f2913
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 52 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@
"-W",
"clippy::pedantic",
],
"evenBetterToml.formatter.allowedBlankLines": 1,
"evenBetterToml.formatter.columnWidth": 130,
"evenBetterToml.formatter.trailingNewline": true,
"evenBetterToml.formatter.reorderKeys": true,
"evenBetterToml.formatter.reorderArrays": true,
}
81 changes: 29 additions & 52 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
default-run = "main"
name = "torrust-index"
readme = "README.md"
default-run = "main"

authors.workspace = true
description.workspace = true
Expand All @@ -16,15 +16,13 @@ rust-version.workspace = true
version.workspace = true

[workspace.package]
authors = [
"Nautilus Cyberneering <info@nautilus-cyberneering.de>, Mick van Dijke <mick@dutchbits.nl>",
]
authors = ["Nautilus Cyberneering <info@nautilus-cyberneering.de>, Mick van Dijke <mick@dutchbits.nl>"]
categories = ["network-programming", "web-programming"]
description = "A BitTorrent Index"
documentation = "https://docs.rs/crate/torrust-tracker/"
edition = "2021"
homepage = "https://torrust.com/"
keywords = ["bittorrent", "file-sharing", "peer-to-peer", "torrent", "index"]
keywords = ["bittorrent", "file-sharing", "index", "peer-to-peer", "torrent"]
license = "AGPL-3.0-only"
publish = true
repository = "https://github.com/torrust/torrust-tracker"
Expand All @@ -35,65 +33,44 @@ version = "3.0.0-alpha.1-develop"
opt-level = 3

[dependencies]
argon2 = "0"
async-trait = "0"
futures = "0"
sqlx = { version = "0", features = [
"runtime-tokio-native-tls",
"sqlite",
"mysql",
"migrate",
"time",
] }
axum = { version = "0", features = ["multipart"] }
binascii = "0"
bytes = "1"
chrono = { version = "0", default-features = false, features = ["clock"] }
config = "0"
toml = "0"
derive_more = "0"
email_address = "0"
fern = "0"
futures = "0"
hex = "0"
hyper = "0"
indexmap = "1"
jsonwebtoken = "8"
lazy_static = "1.4.0"
lettre = { version = "0", features = ["builder", "smtp-transport", "tokio1", "tokio1-native-tls", "tokio1-rustls-tls"] }
log = "0"
pbkdf2 = { version = "0", features = ["simple"] }
rand_core = { version = "0", features = ["std"] }
regex = "1"
reqwest = { version = "0", features = ["json", "multipart"] }
serde = { version = "1", features = ["rc"] }
serde_derive = "1"
serde_json = "1"
serde_bencode = "0"
serde_bytes = "0"
urlencoding = "2"
argon2 = "0"
rand_core = { version = "0", features = ["std"] }
chrono = { version = "0", default-features = false, features = ["clock"] }
jsonwebtoken = "8"
serde_derive = "1"
serde_json = "1"
sha-1 = "0"
reqwest = { version = "0", features = ["json", "multipart"] }
tokio = { version = "1", features = [
"macros",
"io-util",
"net",
"time",
"rt-multi-thread",
"fs",
"sync",
"signal",
] }
lettre = { version = "0", features = [
"builder",
"tokio1",
"tokio1-rustls-tls",
"tokio1-native-tls",
"smtp-transport",
] }
sqlx = { version = "0", features = ["migrate", "mysql", "runtime-tokio-native-tls", "sqlite", "time"] }
tera = { version = "1", default-features = false }
regex = "1"
pbkdf2 = { version = "0", features = ["simple"] }
text-colorizer = "1"
log = "0"
fern = "0"
bytes = "1"
text-to-png = "0"
indexmap = "1"
thiserror = "1"
binascii = "0"
axum = { version = "0", features = ["multipart"] }
hyper = "0"
tower-http = { version = "0", features = ["cors", "compression-full"] }
email_address = "0"
hex = "0"
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
toml = "0"
tower-http = { version = "0", features = ["compression-full", "cors"] }
urlencoding = "2"
uuid = { version = "1", features = ["v4"] }
lazy_static = "1.4.0"

[dev-dependencies]
rand = "0"
Expand Down

0 comments on commit b0f2913

Please sign in to comment.