Browse Source

api: fractal-api ready to publish in crates.io

environments/review-jsparber-h-cxnwl8/deployments/1
Daniel García Moreno 8 years ago
parent
commit
72fa9e0919
  1. 4
      Cargo.lock
  2. 12
      fractal-api/Cargo.toml
  3. 1
      scripts/new-release.sh

4
Cargo.lock generated

@ -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)",

12
fractal-api/Cargo.toml

@ -1,9 +1,19 @@
[package]
authors = ["Daniel Garcia <danigm@wadobo.com>"]
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"

1
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

Loading…
Cancel
Save