Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Workspace: rustix is declared once in the workspace dependencies

Marco Arnulfo544b17ec331d
diff --git a/Cargo.toml b/Cargo.toml
index 2d72fbf7c..25ca07821 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -65,6 +65,7 @@ skrifa = "0.47"
harfrust = "0.13"
linesweeper = "0.5"
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
+rustix = { version = "1.1", default-features = false }
# Zstandard decoder (pure Rust, builds for wasm32 too): the editing copy an EPS carries of its art.
ruzstd = { version = "0.9", default-features = false, features = ["std"] }
jpeg-encoder = { version = "0.6", default-features = false, features = ["std"] }
diff --git a/crates/format/Cargo.toml b/crates/format/Cargo.toml
index 2803ce3ce..6ab9ce58c 100644
--- a/crates/format/Cargo.toml
+++ b/crates/format/Cargo.toml
@@ -18,7 +18,7 @@ flate2 = { workspace = true }
# A plain fsync where a volume refuses the full flush (`sync_file`, atomic.rs). Already in
# Cargo.lock (tempfile), so this adds no new crate.
[target.'cfg(target_vendor = "apple")'.dependencies]
-rustix = { version = "1.1", default-features = false, features = ["std", "fs"] }
+rustix = { workspace = true, features = ["std", "fs"] }
[dev-dependencies]
vectorcraft-testkit = { workspace = true }