Skip to content

Commit 0f5ad6d

Browse files
committed
Sort entries in Cargo.toml
1 parent 2a59333 commit 0f5ad6d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

serde_with/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,19 @@ json = ["dep:serde_json", "alloc"]
105105
##
106106
## This pulls in `serde_with_macros` as a dependency.
107107
macros = ["dep:serde_with_macros"]
108-
## The feature enables integration of `time` v0.3 specific conversions.
109-
## This includes support for the timestamp and duration types.
110-
##
111-
## This pulls in `time` v0.3 as a dependency.
112-
## Some functionality is only available when `alloc` or `std` is enabled too.
113-
time_0_3 = ["dep:time_0_3"]
114108
## This feature enables integration with `schemars` 0.8.
115109
## This makes `#[derive(JsonSchema)]` pick up the correct schema for the type
116110
## used within `#[serde_as(as = ...)]`.
117111
##
118112
## This pulls in `schemars` v0.8 as a dependency. It will also implicitly enable
119113
## the `std` feature as `schemars` is not `#[no_std]`.
120114
schemars_0_8 = ["dep:schemars_0_8", "std", "serde_with_macros?/schemars_0_8"]
115+
## The feature enables integration of `time` v0.3 specific conversions.
116+
## This includes support for the timestamp and duration types.
117+
##
118+
## This pulls in `time` v0.3 as a dependency.
119+
## Some functionality is only available when `alloc` or `std` is enabled too.
120+
time_0_3 = ["dep:time_0_3"]
121121

122122
# When adding new optional dependencies update the documentation in feature-flags.md
123123
[dependencies]
@@ -129,13 +129,13 @@ hashbrown_0_14 = {package = "hashbrown", version = "0.14.0", optional = true, de
129129
hex = {version = "0.4.3", optional = true, default-features = false}
130130
indexmap_1 = {package = "indexmap", version = "1.8", optional = true, default-features = false, features = ["serde-1"]}
131131
indexmap_2 = {package = "indexmap", version = "2.0", optional = true, default-features = false, features = ["serde"]}
132+
schemars_0_8 = {package = "schemars", version = "0.8.16", optional = true, default-features = false}
132133
# The derive feature is needed for the flattened_maybe macro.
133134
# https://github.com/jonasbb/serde_with/blob/eb1965a74a3be073ecd13ec05f02a01bc1c44309/serde_with/src/flatten_maybe.rs#L67
134135
serde = {version = "1.0.152", default-features = false, features = ["derive"] }
135136
serde_json = {version = "1.0.45", optional = true, default-features = false}
136137
serde_with_macros = {path = "../serde_with_macros", version = "=3.4.0", optional = true}
137138
time_0_3 = {package = "time", version = "~0.3.11", optional = true, default-features = false}
138-
schemars_0_8 = {package = "schemars", version = "0.8.16", optional = true, default-features = false}
139139

140140
[dev-dependencies]
141141
expect-test = "1.3.0"

0 commit comments

Comments
 (0)