8000 fix(ffi): add lib crate-type to minigraf-ffi; bump to 1.1.2 by adityamukho · Pull Request #266 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

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
23 changes: 23 additions & 0 deletions .github/workflows/publish-ffi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish minigraf-ffi

# Triggered by a tag like ffi-v1.1.2 to publish only minigraf-ffi to crates.io.
# Used for patch releases that fix the FFI crate independently of the core.
on:
push:
tags:
- "ffi-v*"

jobs:
publish:
name: cargo publish minigraf-ffi
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable

- name: Publish minigraf-ffi
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p minigraf-ffi
4 changes: 2 additions & 2 deletions minigraf-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minigraf-ffi"
version = "1.1.1"
version = "1.1.2"
edition = "2024"
description = "UniFFI bridge for Minigraf — bi-temporal graph database"
license = "MIT OR Apache-2.0"
Expand All @@ -12,7 +12,7 @@ keywords = ["graph", "datalog", "bitemporal", "embedded", "database"]
categories = ["database-implementations", "embedded"]

[lib]
crate-type = ["cdylib", "staticlib"]
crate-type = ["cdylib", "staticlib", "lib"]

[[bin]]
name = "uniffi-bindgen"
Expand Down
Loading
0