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
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,27 @@ jobs:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
archive: tar.gz
cargo_features: ""
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
archive: tar.gz
cargo_features: "--features vendored-tls"
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
archive: tar.gz
cargo_features: "--features vendored-tls"
- target: x86_64-apple-darwin
os: macos-latest
archive: tar.gz
cargo_features: ""
- target: aarch64-apple-darwin
os: macos-latest
archive: tar.gz
cargo_features: ""
- target: x86_64-pc-windows-msvc
os: windows-latest
archive: zip
cargo_features: ""

steps:
- uses: actions/checkout@v6
Expand All @@ -56,9 +62,11 @@ jobs:
run: sudo apt-get install -y musl-tools

- name: Build
run: cargo build --release --locked --target ${{ matrix.target }}
run: cargo build --release --locked --target ${{ matrix.target }} ${{ matrix.cargo_features }}
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
CC_x86_64_unknown_linux_musl: musl-gcc

- name: Package (unix)
if: matrix.archive == 'tar.gz'
Expand Down
13 changes: 12 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dbdiff"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
rust-version = "1.75"
authors = ["rekurt"]
Expand Down Expand Up @@ -30,6 +30,7 @@ default = ["postgres", "mysql", "sqlite"]
postgres = ["dep:tokio-postgres", "dep:postgres-native-tls", "dep:native-tls"]
mysql = ["dep:mysql_async"]
sqlite = ["dep:rusqlite"]
vendored-tls = ["dep:openssl"]

[dependencies]
clap = { version = "4", features = ["derive"] }
Expand All @@ -39,6 +40,7 @@ tokio-postgres = { version = "0.7", optional = true }
postgres-native-tls = { version = "0.5", optional = true }
native-tls = { version = "0.2", optional = true }
mysql_async = { version = "0.34", optional = true }
openssl = { version = "0.10", features = ["vendored"], optional = true }
rusqlite = { version = "0.39", features = ["bundled"], optional = true }
colored = "3"
indicatif = "0.18"
Expand Down
Loading