style: format toml files

This commit is contained in:
LongYinan 2022-02-10 19:00:38 +08:00
parent 13bccf7dfb
commit d55e4f6f1f
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
12 changed files with 72 additions and 26 deletions

View file

@ -14,13 +14,18 @@ napi3 = ["napi/napi3"]
[dependencies]
futures = "0.3"
napi = {path = "../../crates/napi", features = ["tokio_rt", "serde-json", "latin1", "compat-mode"]}
napi-derive = {path = "../../crates/macro", features = ["compat-mode"]}
napi = { path = "../../crates/napi", features = [
"tokio_rt",
"serde-json",
"latin1",
"compat-mode",
] }
napi-derive = { path = "../../crates/macro", features = ["compat-mode"] }
serde = "1"
serde_bytes = "0.11"
serde_derive = "1"
serde_json = "1"
tokio = {version = "1", features = ["default", "fs"]}
tokio = { version = "1", features = ["default", "fs"] }
[build-dependencies]
napi-build = {path = "../../crates/build"}
napi-build = { path = "../../crates/build" }

View file

@ -10,11 +10,19 @@ crate-type = ["cdylib"]
[dependencies]
futures = "0.3"
napi = {path = "../../crates/napi", default-features = false, features = ["tokio_fs", "napi8", "tokio_rt", "serde-json", "async", "experimental", "latin1"]}
napi-derive = {path = "../../crates/macro", features = ["type-def"]}
napi = { path = "../../crates/napi", default-features = false, features = [
"tokio_fs",
"napi8",
"tokio_rt",
"serde-json",
"async",
"experimental",
"latin1",
] }
napi-derive = { path = "../../crates/macro", features = ["type-def"] }
serde = "1"
serde_derive = "1"
serde_json = "1"
[build-dependencies]
napi-build = {path = "../../crates/build"}
napi-build = { path = "../../crates/build" }

View file

@ -14,6 +14,7 @@ Generated by [AVA](https://avajs.dev).
'@rollup/plugin-json',
'@rollup/plugin-node-resolve',
'@rollup/plugin-replace',
'@taplo/cli',
'@types/debug',
'@types/lodash-es',
'@types/node',