[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Add metadata to Cargo.toml


This patch adds the following metadata fields to Cargo.toml, so that the
package can be published on https://crates.io:
  - homepage: Our main website
  - documentation: Also our main website (no docs for now, but they will
    end up being hosted here in the near future)
  - repository: A link to the git server with the source
---
 Cargo.lock | 2 +-
 Cargo.toml | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Cargo.lock b/Cargo.lock
index dc481fd..31da831 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,7 +4,7 @@ version = 3
 
 [[package]]
 name = "dwarvish"
-version = "0.0.0"
+version = "0.0.1"
 dependencies = [
  "libc",
  "signal-hook",
diff --git a/Cargo.toml b/Cargo.toml
index 503d59f..8baea37 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,9 @@ version = "0.0.1"
 edition = "2021"
 license = "BSD-3-Clause"
 description = "A (mostly) POSIX compliant shell and tiny functional programming language"
+homepage = "https://dwarvish.org";
+documentation = "https://dwarvish.org";
+repository = "https://git.dwarvish.org/dwarvish.git/";
 
 [[bin]]
 name = "dwvsh"
-- 
cheers!~
Rory




Archive administrator: postmaster AT dwarvish DOT org