needle_lib 0.1.1

A Rust inference library for the Cactus Needle2 binary model, supporting local tool-calling and LLM reasoning.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "needle_lib"
version = "0.1.1"
build = "build.rs"
include = [
    "src/**/*",
    "examples/**/*",
    "Cargo.toml",
    "build.rs",
    "wrapper.h",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust inference library for the Cactus Needle2 binary model, supporting local tool-calling and LLM reasoning."
readme = "README.md"
keywords = [
    "inference",
    "cactus",
    "needle",
    "tool-calling",
    "ffi",
]
categories = [
    "api-bindings",
    "development-tools::ffi",
]
license = "Apache-2.0"
repository = "https://github.com/jc4st3lls/needle_lib"

[lib]
name = "needle_lib"
path = "src/lib.rs"

[[example]]
name = "lights_agent"
path = "examples/lights_agent.rs"

[[example]]
name = "weather_agent"
path = "examples/weather_agent.rs"

[dependencies.anyhow]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.ureq]
version = "3.4"