From 7799744ca3d9fdae0532a90ec51bac8b59434304 Mon Sep 17 00:00:00 2001 From: Mingun Date: Thu, 24 Oct 2024 01:08:48 +0500 Subject: [PATCH] Sort dependencies and table of tests which requires features --- Cargo.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 34e5455a..a45aa27c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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"] @@ -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"]