summaryrefslogtreecommitdiff
path: root/server/common/Cargo.toml
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-02-03 23:58:47 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-02-03 23:58:47 +0100
commitf1663e24c148421692346f7470d77b258d78b585 (patch)
tree2a44cdb4da386fcca6b6be9037dcd9ce0ac88471 /server/common/Cargo.toml
parent67331b851295b0067f74cd410aef7986aa6a848e (diff)
code coverage: Add tests for common
Add coverage for common as well as server. Fix fs_utils::create_dir_allow_existing to fail if entry exists but isn't a dir.
Diffstat (limited to 'server/common/Cargo.toml')
-rw-r--r--server/common/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/common/Cargo.toml b/server/common/Cargo.toml
index a17fb95..aa358b2 100644
--- a/server/common/Cargo.toml
+++ b/server/common/Cargo.toml
@@ -7,4 +7,7 @@ edition = "2021"
futures.workspace = true
pathdiff = "0.2.3"
serde.workspace = true
-tokio = { workspace = true, features = ["fs", "process", "sync"] }
+tokio = { workspace = true, features = ["fs", "macros", "process", "rt", "sync"] }
+
+[dev-dependencies]
+testdir.workspace = true