Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"tombi-toml.tombi"
]
}
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ resolver = "2"
members = ["crates/*", "xtask"]

[workspace.package]
edition = "2021"
version = "1.0.5"
license = "MIT"
repository = "https://github.com/yassun7010/serde_valid.git"
authors = ["yassun7010 <[email protected]>"]
keywords = ["validation", "serde", "json_schema"]
edition = "2021"
repository = "https://github.com/yassun7010/serde_valid.git"
license = "MIT"
keywords = ["json_schema", "serde", "validation"]

[workspace.dependencies]
itertools = "0.13.0"
Expand Down
16 changes: 8 additions & 8 deletions crates/serde_valid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "serde_valid"
description = "JSON Schema based validation tool using serde."
categories = ["encoding"]
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "JSON Schema based validation tool using serde."
repository.workspace = true
license.workspace = true
edition.workspace = true
keywords.workspace = true
version.workspace = true
categories = ["encoding"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
fluent = { package = "fluent", version = "^0.16.0", optional = true }
fluent = { version = "^0.16.0", optional = true, package = "fluent" }
indexmap = { version = "^2.0", features = ["serde"] }
itertools.workspace = true
num-traits = "^0.2"
Expand All @@ -20,7 +20,7 @@ paste.workspace = true
regex.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
serde_toml = { package = "toml", version = "^0.8", optional = true }
serde_toml = { version = "^0.8", optional = true, package = "toml" }
serde_valid_derive = { workspace = true }
serde_valid_literal = { workspace = true }
serde_yaml = { version = "^0.9", optional = true }
Expand All @@ -33,7 +33,7 @@ unic-langid = "0.9"

[features]
default = ["i128"]
fluent = ["dep:fluent", "serde_valid_derive/fluent"]
i128 = ["indexmap/std", "num-traits/i128", "serde_valid_literal/i128"]
toml = ["serde_toml"]
yaml = ["serde_yaml"]
i128 = ["num-traits/i128", "indexmap/std", "serde_valid_literal/i128"]
fluent = ["dep:fluent", "serde_valid_derive/fluent"]
9 changes: 4 additions & 5 deletions crates/serde_valid_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "serde_valid_derive"
description = "JSON Schema based validation tool using serde."
categories = ["encoding"]
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "JSON Schema based validation tool using serde."
repository.workspace = true
license.workspace = true
edition.workspace = true
keywords.workspace = true
version.workspace = true

categories = ["encoding"]

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

Expand Down
8 changes: 4 additions & 4 deletions crates/serde_valid_literal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "serde_valid_literal"
description = "Literal Value type based JSON."
categories = []
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Literal Value type based JSON."
repository.workspace = true
license.workspace = true
edition.workspace = true
keywords.workspace = true
version.workspace = true
categories = []

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

Expand Down
6 changes: 3 additions & 3 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "xtask"
edition.workspace = true
version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
edition.workspace = true
repository.workspace = true
license.workspace = true
keywords.workspace = true

[dependencies]
Expand Down
Loading