Skip to content

Commit

Permalink
Add toml formatting configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-dinculescu committed Dec 22, 2024
1 parent dd1fd23 commit 560f588
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
2 changes: 2 additions & 0 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[formatting]
column_width = 100
5 changes: 1 addition & 4 deletions tapo-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ pyo3 = { workspace = true, features = [
pyo3-log = { version = "0.12" }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, default-features = false, features = [
"rt-multi-thread",
"sync",
] }
tokio = { workspace = true, default-features = false, features = ["rt-multi-thread", "sync"] }

tapo = { path = "../tapo", features = ["python"] }
15 changes: 3 additions & 12 deletions tapo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,11 @@ python = ["dep:pyo3"]
[dependencies]
anyhow = { workspace = true }
async-trait = "0.1"
chrono = { workspace = true, default-features = false, features = [
"clock",
"serde",
] }
chrono = { workspace = true, default-features = false, features = ["clock", "serde"] }
itertools = "0.13"
lazy_static = "1.5"
log = "0.4"
reqwest = { version = "0.12", default-features = false, features = [
"cookies",
"json",
] }
reqwest = { version = "0.12", default-features = false, features = ["cookies", "json"] }
serde = { workspace = true, features = ["derive", "serde_derive"] }
serde_json = { workspace = true }
serde_with = "3.11"
Expand All @@ -50,7 +44,4 @@ pyo3 = { workspace = true, features = ["serde", "chrono"], optional = true }

[dev-dependencies]
pretty_env_logger = "0.5"
tokio = { workspace = true, default-features = false, features = [
"rt-multi-thread",
"macros",
] }
tokio = { workspace = true, default-features = false, features = ["rt-multi-thread", "macros"] }

0 comments on commit 560f588

Please sign in to comment.