Skip to content

Commit

Permalink
enable cargo dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed Mar 8, 2024
1 parent 031fa2e commit 3c27c5d
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "alevin-fry"
version = "0.8.2"
version = "0.9.0"
authors = [
"Avi Srivastava <[email protected]>",
"Hirak Sarkar <[email protected]>",
Expand Down Expand Up @@ -32,8 +32,6 @@ keywords = [
]
categories = ["command-line-utilities", "science"]

[workspace]

[dependencies]
# for local development, look in the libradicl git repository
# but when published, pull the specified version
Expand All @@ -45,7 +43,6 @@ bincode = "1.3.3"
bstr = "1.9.1"
crossbeam-channel = "0.5.12"
crossbeam-queue = "0.3.11"
# derive_builder = "0.11.2"
typed-builder = "0.18.1"
indicatif = "0.17.8"
needletail = "0.5.1"
Expand Down Expand Up @@ -75,6 +72,7 @@ sce = { git = "https://github.com/parazodiac/SingleCellExperiment", branch = "de
# no shenanigans; clap makes breaking "fixes" too often to allow variability
# in the version different from what we tested with
clap = { version = "=4.5.2", features = ["derive", "wrap_help", "cargo", "help", "usage", "string", "error-context"] }

noodles = { version = "0.65.0", features = ["bam", "bgzf", "sam"] }
noodles-util = { version = "0.37.0", features = ["alignment"] }

Expand All @@ -83,3 +81,24 @@ noodles-util = { version = "0.37.0", features = ["alignment"] }
lto = "thin"
#codegen-units=1
opt-level = 3

# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"

# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.11.1"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# Publish jobs to run in CI
pr-run-mode = "plan"

[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"

0 comments on commit 3c27c5d

Please sign in to comment.