From c0b79afcc1cfdcf8e57816d850fa0c0db8aa2d79 Mon Sep 17 00:00:00 2001 From: Fedor Lyanguzov Date: Sun, 2 Aug 2026 12:31:37 +0300 Subject: [PATCH] Fix vendor settings --- notes-service/.cargo/config.toml | 7 +++++++ notes-service/Cargo.toml | 6 ------ notes-service/migration/Cargo.toml | 6 ------ 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/notes-service/.cargo/config.toml b/notes-service/.cargo/config.toml index 5caf6b1b..14686c40 100644 --- a/notes-service/.cargo/config.toml +++ b/notes-service/.cargo/config.toml @@ -8,3 +8,10 @@ playground = "run --example playground" # (can be removed once link.exe is fixed) [target.x86_64-pc-windows-msvc] linker = "rust-lld" + +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" + diff --git a/notes-service/Cargo.toml b/notes-service/Cargo.toml index 22ab286f..b24a0ac6 100644 --- a/notes-service/Cargo.toml +++ b/notes-service/Cargo.toml @@ -8,12 +8,6 @@ publish = false default-run = "notes_service-cli" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[source.crates-io] -replace-with = "vendored-sources" - -[source.vendored-sources] -directory = "vendor" - [workspace.dependencies] loco-rs = { version = "1.0.1" } diff --git a/notes-service/migration/Cargo.toml b/notes-service/migration/Cargo.toml index 0845bba4..c236f9e9 100644 --- a/notes-service/migration/Cargo.toml +++ b/notes-service/migration/Cargo.toml @@ -8,12 +8,6 @@ publish = false name = "migration" path = "src/lib.rs" -[source.crates-io] -replace-with = "vendored-sources" - -[source.vendored-sources] -directory = "../vendor" - [dependencies] loco-rs = { workspace = true }