Workspace dependency 만 추가 — 실제 사용은 S3 의 kebab-chunk tokenize_korean_morphological() helper. - Cargo.toml (workspace): lindera = "3", lindera-ko-dic = "3" 추가. - crates/kebab-chunk/Cargo.toml: per-crate dep (lindera-ko-dic 에 embed-ko-dic feature 로 KO-DIC 딕셔너리 embedded blob 활성화). - crates/kebab-app/Cargo.toml: [features] 에 fts_korean_morphological (spec §6.3 Option A — marker role only, disable path 없음). License: lindera = MIT, lindera-ko-dic = MIT (cargo info 로 확인). cargo deny 도입은 P9 follow-up. Spec: docs/superpowers/specs/2026-05-28-v0.20.x-korean-morphological-tokenizer-spec.md §6.1, §10.1 Plan: docs/superpowers/plans/2026-05-28-v0.20.x-korean-morphological-tokenizer-plan.md (S2) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
1.3 KiB
TOML
34 lines
1.3 KiB
TOML
[package]
|
|
name = "kebab-chunk"
|
|
version = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
description = "Chunkers that turn kb-core::CanonicalDocument into kb-core::Chunk batches (§3.5, §4.2, §7.2)"
|
|
|
|
[dependencies]
|
|
kebab-core = { path = "../kebab-core" }
|
|
serde_json_canonicalizer = "0.3"
|
|
blake3 = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
lindera = { workspace = true }
|
|
lindera-ko-dic = { workspace = true, features = ["embed-ko-dic"] }
|
|
|
|
[dev-dependencies]
|
|
# kb-parse-md / kb-parse-code are dev-only — used by the snapshot integration
|
|
# tests to build a CanonicalDocument from fixture files. kb-parse-md absorbed
|
|
# kb-normalize in v0.19.0 (HOTFIXES.md 2026-05-26). Forbidden as regular deps
|
|
# per design §8 (chunker consumes CanonicalDocument from kb-core only);
|
|
# `cargo tree -p kb-chunk --depth 1` (default scope, excludes dev-deps)
|
|
# confirms this.
|
|
kebab-parse-md = { path = "../kebab-parse-md" }
|
|
kebab-parse-code = { path = "../kebab-parse-code" }
|
|
serde_json = { workspace = true }
|
|
time = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|