sqlite3: Add to cargo dist bundle

This commit is contained in:
Pekka Enberg
2024-07-24 09:11:02 +03:00
parent 3f96b1d798
commit f633fc91cf
4 changed files with 11 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.19.1/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.20.0/cargo-dist-installer.sh | sh"
- name: Cache cargo-dist
uses: actions/upload-artifact@v4
with:

2
Cargo.lock generated
View File

@@ -1136,7 +1136,7 @@ dependencies = [
[[package]]
name = "limbo_sqlite3"
version = "0.0.0"
version = "0.0.1"
dependencies = [
"cbindgen",
"env_logger 0.11.3",

View File

@@ -22,9 +22,13 @@ repository = "https://github.com/penberg/limbo"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.19.1"
cargo-dist-version = "0.20.0"
# CI backends to support
ci = "github"
# Which kinds of built libraries to include in the final archives
package-libraries = "cstaticlib"
# Which kinds of packaged libraries to install
install-libraries = "cstaticlib"
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)

View File

@@ -2,12 +2,15 @@
[package]
name = "limbo_sqlite3"
version = "0.0.0"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[package.metadata.dist]
dist = true
[lib]
crate-type = ["cdylib", "staticlib"]
doc = false