Skip to content

Commit ea0fcd4

Browse files
authored
Merge branch 'main' into dependabot/cargo/anyhow-1.0.100
2 parents b994bec + 796e582 commit ea0fcd4

File tree

11 files changed

+67
-30
lines changed

11 files changed

+67
-30
lines changed

.github/workflows/llama-cpp-rs-check.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ jobs:
3535
run: cargo fmt --check
3636
- name: Test
3737
run: cargo test --features sampler
38-
- name: Dry-Run Publishing llama-cpp-sys-2 Crate
39-
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-sys-2 --verbose --dry-run
40-
- name: Dry-Run Publishing llama-cpp-2 Crate
41-
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-2 --verbose --dry-run
38+
- name: Dry-Run Publishing
39+
run: RUST_BACKTRACE=1 cargo publish --workspace --verbose --dry-run
4240
arm64:
4341
name: Check that it builds on various targets
4442
runs-on: ubuntu-latest
@@ -85,4 +83,4 @@ jobs:
8583
- name: Build
8684
run: cargo build --features sampler
8785
- name: Test
88-
run: cargo test --features sampler
86+
run: cargo test --features sampler

.github/workflows/publish-upon-release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ jobs:
1818
with:
1919
submodules: recursive
2020
- name: Publish crates for llama-cpp-sys-2
21-
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-sys-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose
22-
- name: Publish crates for llama-cpp-2
23-
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose
24-
21+
run: RUST_BACKTRACE=1 cargo publish --workspace --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose
2522
# Trigger the 'update-toml-version' workflow
2623
- name: Dispatch Update TOML Version Event
2724
if: success() # Ensure this runs only if the previous steps were successful

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ hf-hub = { version = "0.3.2" }
2020
criterion = "0.5.1"
2121
pprof = "0.13.0"
2222
bindgen = "0.72.1"
23-
cc = "1.2.37"
23+
cc = "1.2.38"
2424
anyhow = "1.0.100"
25-
clap = "4.5.47"
25+
clap = "4.5.48"
2626
encoding_rs = "0.8.35"
2727
tracing-subscriber = { version = "0.3", features = ["json"] }
2828

examples/embeddings/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "embeddings"
3-
version = "0.1.122"
3+
version = "0.1.123"
44
edition = "2021"
5+
publish = false
56

67
[dependencies]
78
llama-cpp-2 = { path = "../../llama-cpp-2", version = "0.1.69" }

examples/mtmd/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "mtmd"
33
version = "0.1.86"
44
edition = "2021"
5+
publish = false
56

67
[dependencies]
78
llama-cpp-2 = { path = "../../llama-cpp-2", version = "0.1.86", features = ["mtmd"] }

examples/reranker/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "reranker"
33
version = "0.1.86"
44
edition = "2021"
5+
publish = false
56

67
[dependencies]
78
llama-cpp-2 = { path = "../../llama-cpp-2", version = "0.1.86" }
@@ -17,4 +18,4 @@ native = ["llama-cpp-2/native"]
1718
vulkan = ["llama-cpp-2/vulkan"]
1819

1920
[lints]
20-
workspace = true
21+
workspace = true

examples/simple/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "simple"
3-
version = "0.1.122"
3+
version = "0.1.123"
44
edition = "2021"
5+
publish = false
56

67
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
78

llama-cpp-2/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "llama-cpp-2"
33
description = "llama.cpp bindings for Rust"
4-
version = "0.1.122"
4+
version = "0.1.123"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/utilityai/llama-cpp-rs"
@@ -10,7 +10,7 @@ repository = "https://github.com/utilityai/llama-cpp-rs"
1010

1111
[dependencies]
1212
enumflags2 = "0.7.12"
13-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.122" }
13+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.123" }
1414
thiserror = { workspace = true }
1515
tracing = { workspace = true }
1616
tracing-core = { workspace = true }
@@ -35,7 +35,7 @@ mtmd = ["llama-cpp-sys-2/mtmd"]
3535

3636

3737
[target.'cfg(all(target_os = "macos", any(target_arch = "aarch64", target_arch = "arm64")))'.dependencies]
38-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.122", features = [
38+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.123", features = [
3939
"metal",
4040
] }
4141

llama-cpp-sys-2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "llama-cpp-sys-2"
33
description = "Low Level Bindings to llama.cpp"
4-
version = "0.1.122"
4+
version = "0.1.123"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/utilityai/llama-cpp-rs"

0 commit comments

Comments
 (0)