Skip to content

Commit

Permalink
ci: configure for cargo-release
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptis committed Oct 19, 2023
1 parent 6f672ff commit a5fb194
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion crates/llama_cpp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
[package]
name = "llama_cpp"
version = "0.1.0"
description = "High-level bindings to llama.cpp with a focus on just being really, really easy to use"
edition = "2021"
authors = ["Dakota Thompson <me@scriptis.net>"]
repository = "https://github.com/binedge/llama_cpp-rs"
license = "MIT OR APACHE-2.0"
include = ["src/**/*"]
readme = "../../README.md"
publish = true

[dependencies]
ctor = "0.2.5"
flume = "0.11.0"
llama_cpp_sys = { path = "../llama_cpp_sys" }
llama_cpp_sys = { version = "0.1.0", path = "../llama_cpp_sys" }
num_cpus = "1.16.0"
thiserror = "1.0.49"
tracing = "0.1.39"
4 changes: 4 additions & 0 deletions crates/llama_cpp_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
[package]
name = "llama_cpp_sys"
version = "0.1.0"
description = "Automatically-generated bindings to llama.cpp's C API"
edition = "2021"
authors = ["Dakota Thompson <me@scriptis.net>"]
repository = "https://github.com/binedge/llama_cpp-rs"
license = "MIT OR APACHE-2.0"
include = ["src/**/*"]
readme = "../../README.md"
publish = true

[build-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@
ninja
cmake
gnumake
pkg-config
];

devInputs = clangBuildInputs ++ nativeBuildInputs ++ [ pkgs.nixfmt ];
devInputs = clangBuildInputs ++ nativeBuildInputs ++ (with pkgs; [ nixfmt openssl ]);

stdenv = pkgs.stdenv;
lib = pkgs.lib;
Expand Down

0 comments on commit a5fb194

Please sign in to comment.