corpus-core: make the stream contract hold under hostile input

This commit is contained in:
funkpower
2026-09-19 11:11:58 -04:00
parent 6c2f5352a0
commit 6d9b7415dd
14 changed files with 593 additions and 85 deletions
+4 -1
View File
@@ -13,7 +13,6 @@ repository = "https://git.pumpin.online/funkpower/catena"
corpus-core = { path = "crates/corpus-core", version = "0.1.0" }
textkit = { path = "crates/textkit", version = "0.1.0" }
anyhow = "1"
clap = { version = "4", features = ["derive"] }
schemars = "1"
serde = { version = "1", features = ["derive"] }
@@ -21,6 +20,10 @@ serde_json = "1"
thiserror = "2"
tiktoken-rs = "0.12"
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[profile.release]
strip = true
lto = true