[package]
name = "nb-api"
version = "0.1.3"
edition = "2024"
rust-version = "1.88"
description = "Typed Rust interface to the nb note-taking CLI (subprocess wrapper: escaping, validation, output parsing)"
license = "Apache-2.0"
repository = "https://github.com/emcd/nb-api"
homepage = "https://github.com/emcd/nb-api"
documentation = "https://docs.rs/nb-api"
readme = "README.md"
keywords = ["nb", "notes", "cli", "llm"]
categories = ["command-line-utilities", "development-tools"]
include = [
"/Cargo.toml",
"/README.md",
"/LICENSE",
"/src/**",
]
[dev-dependencies]
serde_json = "1.0"
[features]
default = []
schemars = ["dep:schemars"]
[dependencies]
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
schemars = { version = "1.0", optional = true }
anyhow = "1.0"
thiserror = "2.0"
tracing = "0.1"
regex = "1.0"