From 72fa9e091955ac4ccbc12df4ab7e24eaaa4cdb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Fri, 8 Jun 2018 14:11:37 +0200 Subject: [PATCH] api: fractal-api ready to publish in crates.io --- Cargo.lock | 4 ++-- fractal-api/Cargo.toml | 12 +++++++++++- scripts/new-release.sh | 1 + 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 977738a0..cdaefa08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -362,7 +362,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "fractal-api" -version = "0.1.0" +version = "3.29.0" dependencies = [ "cairo-rs 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -393,7 +393,7 @@ dependencies = [ "chrono 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "comrak 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fractal-api 0.1.0", + "fractal-api 3.29.0", "gdk 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "gdk-pixbuf 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "gdk-pixbuf-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/fractal-api/Cargo.toml b/fractal-api/Cargo.toml index 3cf56eab..64d411e2 100644 --- a/fractal-api/Cargo.toml +++ b/fractal-api/Cargo.toml @@ -1,9 +1,19 @@ [package] authors = ["Daniel Garcia "] name = "fractal-api" -version = "0.1.0" +version = "3.29.0" workspace = "../" +description = """ +Library to communicate with a Matrix.org server +""" +keywords = [ + "matrix", +] +license = "GPL-3.0" +repository = "https://https://gitlab.gnome.org/World/fractal" +documentation = "https://world.pages.gitlab.gnome.org/fractal/fractal_api/index.html" + [dependencies] gdk = "0.8.0" gdk-pixbuf = "0.4.0" diff --git a/scripts/new-release.sh b/scripts/new-release.sh index c270f735..ed017069 100755 --- a/scripts/new-release.sh +++ b/scripts/new-release.sh @@ -20,6 +20,7 @@ esac sed -i "s/$current/$next/" meson.build sed -i "s/$current/$next/" fractal-gtk/Cargo.toml +sed -i "s/$current/$next/" fractal-api/Cargo.toml sed -i "s/version=\"$current\".*/version=\"$next\" date=\"$(date +%Y-%m-%d)\"\/>/" fractal-gtk/res/org.gnome.Fractal.appdata.xml cargo check