diff --git a/taplo.toml b/taplo.toml new file mode 100644 index 0000000..ccfe63c --- /dev/null +++ b/taplo.toml @@ -0,0 +1,2 @@ +[formatting] +column_width = 100 diff --git a/tapo-py/Cargo.toml b/tapo-py/Cargo.toml index 9db328e..349061a 100644 --- a/tapo-py/Cargo.toml +++ b/tapo-py/Cargo.toml @@ -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"] } diff --git a/tapo/Cargo.toml b/tapo/Cargo.toml index a662238..6f55c7c 100644 --- a/tapo/Cargo.toml +++ b/tapo/Cargo.toml @@ -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" @@ -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"] }