Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run tests

on:
push:
branches: [ develop ]
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]

Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to Crates IO

on:
push:
tags:
- 'v*' # Trigger the workflow when a tag starting with 'v' is pushed, like v1.0.0

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Deploy to Crates IO
run: |
cargo publish \
--token ${{ secrets.CRATES_IO_TOKEN }}
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "phenopackets"
version = "0.2.2-post1"
version = "0.2.2-post2"
authors = ["Daniel Danis", "Daniel Danis <daniel.gordon.danis@protonmail.com>"]
edition = "2021"
description = "Rust bindings for Phenopacket Schema"
Expand All @@ -17,13 +17,13 @@ maintenance = { status = "experimental" }
serde = ["serde/derive"]

[dependencies]
prost = "0.13"
prost-types = "0.13"
serde = { version = "1.0.219", optional = true }
prost = "0.14"
prost-types = "0.14"
serde = { version = "1.0", optional = true }

[dev-dependencies]
serde = "1.0.219"
serde_json = "1.0.140"
serde = "1.0"
serde_json = "1.0"

[build-dependencies]
prost-build = "0.13"
prost-build = "0.14"