Skip to content

Commit 3667774

Browse files
committed
chore: format toml
1 parent ce0982e commit 3667774

File tree

9 files changed

+104
-98
lines changed

9 files changed

+104
-98
lines changed

Cargo.lock

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+10-13
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
[workspace]
2+
members = ["crates/*"]
23
resolver = "2"
3-
members = ["crates/*"]
44

55
[workspace.package]
6+
authors = ["ymgyt"]
7+
categories = ["command-line-utilities"]
68
description = "terminal feed viewer"
7-
edition = "2021"
8-
authors = ["ymgyt"]
9-
categories = ["command-line-utilities"]
10-
license = "MIT OR Apache-2.0"
11-
repository = "https://github.com/ymgyt/syndicationd"
12-
readme = "README"
9+
edition = "2021"
10+
license = "MIT OR Apache-2.0"
11+
readme = "README"
12+
repository = "https://github.com/ymgyt/syndicationd"
1313

1414
[workspace.dependencies]
15-
async-trait = { version = "0.1.77" }
1615
anyhow = { version = "1" }
17-
clap = { version = "4.4" }
16+
async-trait = { version = "0.1.77" }
1817
chrono = { version = "0.4.31" }
18+
clap = { version = "4.4" }
1919
feed-rs = { version = "1.4" }
2020
futures-util = { version = "0.3.30" }
2121
graphql_client = { version = "0.13.0", default-features = false }
2222
moka = { version = "0.12.4", features = ["future"] }
23-
reqwest = { version = "0.11.23", default-features = false, features = [
24-
"rustls-tls",
25-
"json",
26-
] }
23+
reqwest = { version = "0.11.23", default-features = false, features = ["rustls-tls", "json"] }
2724
serde = { version = "1", features = ["derive"] }
2825
tokio = { version = "1.35" }
2926
tracing = { version = "0.1.40" }

crates/synd_api/Cargo.toml

+27-36
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,40 @@
11
[package]
2-
name = "synd_api"
3-
version = "0.1.0"
4-
description = "syndicationd backend api"
5-
authors.workspace = true
6-
edition.workspace = true
7-
license.workspace = true
2+
authors.workspace = true
83
categories.workspace = true
4+
description = "syndicationd backend api"
5+
edition.workspace = true
6+
license.workspace = true
7+
name = "synd_api"
98
repository.workspace = true
9+
version = "0.1.0"
1010

1111
[dependencies]
1212
anyhow = { workspace = true }
1313
# To use axum 0.7
14-
async-graphql = { version = "7.0", features = ["tracing"] }
14+
async-graphql = { version = "7.0", features = ["tracing"] }
1515
async-graphql-axum = { version = "7.0" }
16-
async-trait = { workspace = true }
16+
async-trait = { workspace = true }
1717
# TODO configure features
18-
axum = { version = "0.7.4" }
19-
clap = { workspace = true, features = ["derive"] }
20-
chrono = { workspace = true }
21-
feed-rs = { workspace = true }
22-
futures-util = { workspace = true }
23-
graphql_client = { workspace = true }
24-
kvsd = { version = "0.1.2" }
25-
moka = { workspace = true, features = ["future"] }
26-
reqwest = { workspace = true }
27-
serde = { workspace = true }
28-
serde_json = "1.0.111"
29-
supports-color = { version = "2.1.0" }
30-
synd_feed = { path = "../synd_feed", version = "0.1.0" }
31-
thiserror = "1.0.56"
32-
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
33-
tracing = { workspace = true }
18+
axum = { version = "0.7.4" }
19+
chrono = { workspace = true }
20+
clap = { workspace = true, features = ["derive"] }
21+
feed-rs = { workspace = true }
22+
futures-util = { workspace = true }
23+
graphql_client = { workspace = true }
24+
kvsd = { version = "0.1.2" }
25+
moka = { workspace = true, features = ["future"] }
26+
pin-project = "1.1.4"
27+
reqwest = { workspace = true }
28+
serde = { workspace = true }
29+
serde_json = "1.0.111"
30+
supports-color = { version = "2.1.0" }
31+
synd_feed = { path = "../synd_feed", version = "0.1.0" }
32+
thiserror = "1.0.56"
33+
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
34+
tower = { version = "0.4.13", default_features = false, features = ["limit", "timeout"] }
35+
tower-http = { version = "0.5.1", default_features = false, features = ["trace", "sensitive-headers", "cors", "limit"] }
36+
tracing = { workspace = true }
3437
tracing-subscriber = { workspace = true }
35-
tower = { version = "0.4.13", default_features = false, features = [
36-
"limit",
37-
"timeout",
38-
39-
] }
40-
tower-http = { version = "0.5.1", default_features = false, features = [
41-
"trace",
42-
"sensitive-headers",
43-
"cors",
44-
"limit",
45-
] }
46-
pin-project = "1.1.4"
4738

4839
[features]
4940

crates/synd_feed/Cargo.toml

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
[package]
2-
name = "synd_feed"
3-
version = "0.1.0"
4-
description = "Library to handle syndication spec"
5-
authors.workspace = true
6-
edition.workspace = true
7-
license.workspace = true
2+
authors.workspace = true
83
categories.workspace = true
4+
description = "Library to handle syndication spec"
5+
edition.workspace = true
6+
license.workspace = true
7+
name = "synd_feed"
98
repository.workspace = true
9+
version = "0.1.0"
1010

1111
[dependencies]
12-
anyhow = { workspace = true }
13-
async-trait = { workspace = true }
14-
chrono = { workspace = true }
15-
feed-rs = { workspace = true }
12+
anyhow = { workspace = true }
13+
async-trait = { workspace = true }
14+
chrono = { workspace = true }
15+
feed-rs = { workspace = true }
1616
futures-util = { workspace = true }
17-
moka = { workspace = true, features = ["future"] }
18-
reqwest = { workspace = true, features = ["stream"] }
19-
thiserror = "1.0.56"
20-
tokio = { workspace = true }
21-
tracing = { workspace = true }
17+
moka = { workspace = true, features = ["future"] }
18+
reqwest = { workspace = true, features = ["stream"] }
19+
thiserror = "1.0.56"
20+
tokio = { workspace = true }
21+
tracing = { workspace = true }

crates/synd_term/Cargo.toml

+26-34
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,47 @@
11
[package]
2-
name = "synd_term"
3-
version = "0.1.0"
4-
authors.workspace = true
5-
edition.workspace = true
6-
license.workspace = true
2+
authors.workspace = true
73
categories.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
6+
name = "synd_term"
87
repository.workspace = true
8+
version = "0.1.0"
99

1010
[[bin]]
1111
name = "synd"
1212
path = "src/main.rs"
1313

1414
[dependencies]
15-
anyhow = { workspace = true }
16-
clap = { workspace = true, features = ["derive", "string"] }
17-
crossterm = { version = "0.27.0", features = ["event-stream"] }
18-
chrono = { workspace = true }
19-
directories = "5.0.1"
20-
edit = "0.1.5"
21-
futures-util = "0.3.30"
15+
anyhow = { workspace = true }
16+
chrono = { workspace = true }
17+
clap = { workspace = true, features = ["derive", "string"] }
18+
crossterm = { version = "0.27.0", features = ["event-stream"] }
19+
directories = "5.0.1"
20+
edit = "0.1.5"
21+
futures-util = "0.3.30"
2222
graphql_client = { workspace = true }
2323
# reqwest use 0.2
24-
http = "0.2"
24+
html2text = { version = "0.12" }
25+
http = "0.2"
2526
http-serde-ext = "0.1"
26-
html2text = { version = "0.12" }
27-
open = "5.0.1"
27+
open = "5.0.1"
2828
# Use latest api
29-
ratatui = { git = "https://github.com/ratatui-org/ratatui.git", branch = "main" }
30-
reqwest = { workspace = true }
31-
serde = { workspace = true, features = ["derive"] }
32-
serde_json = "1.0.111"
33-
synd_feed = { path = "../synd_feed", version = "0.1.0" }
34-
tokio = { workspace = true, features = [
35-
"macros",
36-
"rt-multi-thread",
37-
"sync",
38-
"time",
39-
] }
40-
tracing = { workspace = true }
41-
tracing-appender = "0.2.3"
42-
tracing-subscriber = { workspace = true }
43-
url = { workspace = true }
29+
ratatui = { git = "https://github.com/ratatui-org/ratatui.git", branch = "main" }
30+
reqwest = { workspace = true }
31+
serde = { workspace = true, features = ["derive"] }
32+
serde_json = "1.0.111"
33+
synd_feed = { path = "../synd_feed", version = "0.1.0" }
34+
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time"] }
35+
tracing = { workspace = true }
36+
tracing-appender = "0.2.3"
37+
tracing-subscriber = { workspace = true }
4438
unicode-segmentation = "1.10.1"
39+
url = { workspace = true }
4540

4641
[features]
4742
# Integration test
4843
integration = []
4944

5045
[dev-dependencies]
51-
serial_test = { version = "3.0.0", default_features = false, features = [
52-
"async",
53-
"file_locks",
54-
] }
46+
serial_test = { version = "3.0.0", default_features = false, features = ["async", "file_locks"] }
5547
tokio-stream = "0.1.14"

crates/synd_test/Cargo.toml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
authors.workspace = true
3+
categories.workspace = true
4+
description.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
name = "synd_test"
8+
readme.workspace = true
9+
repository.workspace = true
10+
version = "0.1.0"
11+
12+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13+
14+
[dependencies]

crates/synd_test/src/lib.rs

Whitespace-only changes.

justfile

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ set shell := ["nu", "-c"]
22
kvsd_user := "synduser"
33
github_pat := env_var_or_default("GH_PAT", "")
44

5+
alias format := fmt
6+
57
# List recipe
68
default:
79
just --list

taplo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include = ["Cargo.toml", "crates/**/Cargo.toml"]
2+
3+
[formatting]
4+
align_entries = true
5+
column_width = 120
6+
reorder_keys = true

0 commit comments

Comments
 (0)