Skip to content

Commit a5fb194

Browse files
committed
ci: configure for cargo-release
1 parent 6f672ff commit a5fb194

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

crates/llama_cpp/Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
[package]
22
name = "llama_cpp"
33
version = "0.1.0"
4+
description = "High-level bindings to llama.cpp with a focus on just being really, really easy to use"
45
edition = "2021"
56
authors = ["Dakota Thompson <me@scriptis.net>"]
67
repository = "https://github.com/binedge/llama_cpp-rs"
8+
license = "MIT OR APACHE-2.0"
9+
include = ["src/**/*"]
10+
readme = "../../README.md"
711
publish = true
812

913
[dependencies]
1014
ctor = "0.2.5"
1115
flume = "0.11.0"
12-
llama_cpp_sys = { path = "../llama_cpp_sys" }
16+
llama_cpp_sys = { version = "0.1.0", path = "../llama_cpp_sys" }
1317
num_cpus = "1.16.0"
1418
thiserror = "1.0.49"
1519
tracing = "0.1.39"

crates/llama_cpp_sys/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
[package]
22
name = "llama_cpp_sys"
33
version = "0.1.0"
4+
description = "Automatically-generated bindings to llama.cpp's C API"
45
edition = "2021"
56
authors = ["Dakota Thompson <me@scriptis.net>"]
67
repository = "https://github.com/binedge/llama_cpp-rs"
8+
license = "MIT OR APACHE-2.0"
9+
include = ["src/**/*"]
10+
readme = "../../README.md"
711
publish = true
812

913
[build-dependencies]

flake.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@
5656
ninja
5757
cmake
5858
gnumake
59+
pkg-config
5960
];
6061

61-
devInputs = clangBuildInputs ++ nativeBuildInputs ++ [ pkgs.nixfmt ];
62+
devInputs = clangBuildInputs ++ nativeBuildInputs ++ (with pkgs; [ nixfmt openssl ]);
6263

6364
stdenv = pkgs.stdenv;
6465
lib = pkgs.lib;

0 commit comments

Comments
 (0)