Skip to content

Commit

Permalink
Sort dependencies and table of tests which requires features
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Oct 23, 2024
1 parent 8311eef commit 7799744
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ rust-version = "1.56"
include = ["src/*", "LICENSE-MIT.md", "README.md"]

[dependencies]
arbitrary = { version = "1", features = ["derive"], optional = true }
document-features = { version = "0.2", optional = true }
encoding_rs = { version = "0.8", optional = true }
serde = { version = ">=1.0.139", optional = true }
tokio = { version = "1.10", optional = true, default-features = false, features = ["io-util"] }
memchr = "2.1"
arbitrary = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
criterion = "0.4"
Expand Down Expand Up @@ -196,6 +196,11 @@ all-features = true
# That may become unnecessary once https://github.com/rust-lang/cargo/issues/13491
# will be resolved

[[test]]
name = "async-tokio"
required-features = ["async-tokio"]
path = "tests/async-tokio.rs"

[[test]]
name = "encodings"
required-features = ["encoding"]
Expand Down Expand Up @@ -241,11 +246,6 @@ name = "serde-issues"
required-features = ["serialize"]
path = "tests/serde-issues.rs"

[[test]]
name = "async-tokio"
required-features = ["async-tokio"]
path = "tests/async-tokio.rs"

[[example]]
name = "read_nodes_serde"
required-features = ["serialize"]
Expand Down

0 comments on commit 7799744

Please sign in to comment.