Skip to content

Commit 4a9fc3e

Browse files
authored
Merge pull request #94 from yassun7010/use_tombi
Use tombi
2 parents 442af40 + bb3485e commit 4a9fc3e

File tree

6 files changed

+28
-24
lines changed

6 files changed

+28
-24
lines changed

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"tombi-toml.tombi"
4+
]
5+
}

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ resolver = "2"
33
members = ["crates/*", "xtask"]
44

55
[workspace.package]
6-
edition = "2021"
76
version = "1.0.5"
8-
license = "MIT"
9-
repository = "https://github.com/yassun7010/serde_valid.git"
107
authors = ["yassun7010 <[email protected]>"]
11-
keywords = ["validation", "serde", "json_schema"]
8+
edition = "2021"
9+
repository = "https://github.com/yassun7010/serde_valid.git"
10+
license = "MIT"
11+
keywords = ["json_schema", "serde", "validation"]
1212

1313
[workspace.dependencies]
1414
itertools = "0.13.0"

crates/serde_valid/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "serde_valid"
3-
description = "JSON Schema based validation tool using serde."
4-
categories = ["encoding"]
3+
version.workspace = true
54
authors.workspace = true
5+
edition.workspace = true
6+
description = "JSON Schema based validation tool using serde."
67
repository.workspace = true
78
license.workspace = true
8-
edition.workspace = true
99
keywords.workspace = true
10-
version.workspace = true
10+
categories = ["encoding"]
1111

1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313
[dependencies]
14-
fluent = { package = "fluent", version = "^0.16.0", optional = true }
14+
fluent = { version = "^0.16.0", optional = true, package = "fluent" }
1515
indexmap = { version = "^2.0", features = ["serde"] }
1616
itertools.workspace = true
1717
num-traits = "^0.2"
@@ -20,7 +20,7 @@ paste.workspace = true
2020
regex.workspace = true
2121
serde = { workspace = true, features = ["derive"] }
2222
serde_json.workspace = true
23-
serde_toml = { package = "toml", version = "^0.8", optional = true }
23+
serde_toml = { version = "^0.8", optional = true, package = "toml" }
2424
serde_valid_derive = { workspace = true }
2525
serde_valid_literal = { workspace = true }
2626
serde_yaml = { version = "^0.9", optional = true }
@@ -33,7 +33,7 @@ unic-langid = "0.9"
3333

3434
[features]
3535
default = ["i128"]
36+
fluent = ["dep:fluent", "serde_valid_derive/fluent"]
37+
i128 = ["indexmap/std", "num-traits/i128", "serde_valid_literal/i128"]
3638
toml = ["serde_toml"]
3739
yaml = ["serde_yaml"]
38-
i128 = ["num-traits/i128", "indexmap/std", "serde_valid_literal/i128"]
39-
fluent = ["dep:fluent", "serde_valid_derive/fluent"]

crates/serde_valid_derive/Cargo.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[package]
22
name = "serde_valid_derive"
3-
description = "JSON Schema based validation tool using serde."
4-
categories = ["encoding"]
3+
version.workspace = true
54
authors.workspace = true
5+
edition.workspace = true
6+
description = "JSON Schema based validation tool using serde."
67
repository.workspace = true
78
license.workspace = true
8-
edition.workspace = true
99
keywords.workspace = true
10-
version.workspace = true
11-
10+
categories = ["encoding"]
1211

1312
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1413

crates/serde_valid_literal/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "serde_valid_literal"
3-
description = "Literal Value type based JSON."
4-
categories = []
3+
version.workspace = true
54
authors.workspace = true
5+
edition.workspace = true
6+
description = "Literal Value type based JSON."
67
repository.workspace = true
78
license.workspace = true
8-
edition.workspace = true
99
keywords.workspace = true
10-
version.workspace = true
10+
categories = []
1111

1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

xtask/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "xtask"
3-
edition.workspace = true
43
version.workspace = true
5-
license.workspace = true
6-
repository.workspace = true
74
authors.workspace = true
5+
edition.workspace = true
6+
repository.workspace = true
7+
license.workspace = true
88
keywords.workspace = true
99

1010
[dependencies]

0 commit comments

Comments
 (0)