[package]
edition = "2024"
name = "okf"
version = "0.2.5"
authors = ["Walter Higgins <walter.higgins@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Open Knowledge Format (OKF) v0.2 in pure Rust: the `okf` CLI (validate, lint, inspect, index, graph, format, diff) plus the full okf-core and okf-validator library APIs re-exported."
homepage = "https://github.com/W4G1/okf"
documentation = "https://docs.rs/okf"
readme = "README.md"
keywords = [
"okf",
"knowledge-base",
"markdown",
"frontmatter",
"agents",
]
categories = [
"command-line-utilities",
"parser-implementations",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/W4G1/okf"
[features]
default = ["validator"]
validator = [
"dep:okf-validator",
"dep:serde_json",
"dep:clap",
]
[lib]
name = "okf"
path = "src/lib.rs"
[[bin]]
name = "okf"
path = "src/main.rs"
required-features = ["validator"]
[[test]]
name = "cli_exit_codes"
path = "tests/cli_exit_codes.rs"
[[test]]
name = "cli_fix"
path = "tests/cli_fix.rs"
[[test]]
name = "cli_graph_json"
path = "tests/cli_graph_json.rs"
[[test]]
name = "cli_json_and_fmt_check"
path = "tests/cli_json_and_fmt_check.rs"
[[test]]
name = "cli_refactor"
path = "tests/cli_refactor.rs"
[[test]]
name = "cli_run"
path = "tests/cli_run.rs"
[[test]]
name = "cli_scaffold_fmt_links"
path = "tests/cli_scaffold_fmt_links.rs"
[dependencies.clap]
version = "4.6.6"
features = ["derive"]
optional = true
[dependencies.okf-core]
version = "0.2.5"
[dependencies.okf-validator]
version = "0.2.5"
optional = true
[dependencies.serde_json]
version = "1.0.151"
optional = true