[package]
edition = "2024"
rust-version = "1.88"
name = "nb-api"
version = "0.1.2"
build = false
include = [
"/Cargo.toml",
"/README.md",
"/LICENSE",
"/src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed Rust interface to the nb note-taking CLI (subprocess wrapper: escaping, validation, output parsing)"
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",
]
license = "Apache-2.0"
repository = "https://github.com/emcd/nb-api"
[features]
default = []
schemars = ["dep:schemars"]
[lib]
name = "nb_api"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.regex]
version = "1.0"
[dependencies.schemars]
version = "1.0"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serde_json]
version = "1.0"