From 444554e0d368294dc9dba16c4c4a70b3b6f96371 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Wed, 3 Jul 2024 10:01:37 +0300 Subject: [PATCH] fix: cargo.toml broken repo and doc links (#22) --- snapcraft-rust-example/Cargo.toml | 6 ++---- snapcraft/Cargo.toml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/snapcraft-rust-example/Cargo.toml b/snapcraft-rust-example/Cargo.toml index 820c4d9..fc28406 100644 --- a/snapcraft-rust-example/Cargo.toml +++ b/snapcraft-rust-example/Cargo.toml @@ -6,14 +6,12 @@ authors = ["Alec Brown "] description = "Test application for snapcraft rust library." rust-version = "1.58" license = "Apache-2.0" -repository = "https://github.com/a1ecbr0wn/snapcraft/snapcraft-rust-example" -homepage = "https://github.com/a1ecbr0wn/snapcraft/snapcraft-rust-example" +repository = "https://github.com/a1ecbr0wn/snapcraft/tree/main/snapcraft-rust-example" +homepage = "https://github.com/a1ecbr0wn/snapcraft/tree/main/snapcraft-rust-example" readme = "README.md" keywords = ["shell", "filesystem", "utility"] categories = ["filesystem", "os", "api-bindings"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [[bin]] path = "src/main.rs" name = "snapcraft-rust-example" diff --git a/snapcraft/Cargo.toml b/snapcraft/Cargo.toml index 30e4e96..4bd3c3c 100644 --- a/snapcraft/Cargo.toml +++ b/snapcraft/Cargo.toml @@ -6,15 +6,13 @@ authors = ["Alec Brown "] description = "Access to snapcraft environment." rust-version = "1.58" license = "Apache-2.0" -repository = "https://github.com/a1ecbr0wn/snapcraft/snapcraft" -homepage = "https://github.com/a1ecbr0wn/snapcraft/snapcraft" +repository = "https://github.com/a1ecbr0wn/snapcraft/tree/main/snapcraft" +homepage = "https://github.com/a1ecbr0wn/snapcraft/tree/main/snapcraft" documentation = "https://docs.rs/snapcraft" readme = "README.md" keywords = ["shell", "filesystem", "utility"] categories = ["filesystem", "os", "api-bindings"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] [dev-dependencies]