tinyjuice 0.2.1

Pluggable token compression for OpenHuman.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Content-kind detection + tool-name priors for the TokenJuice content router.

pub mod hint;
pub mod kind;

pub use hint::{ToolPrior, extension_to_kind, mime_to_kind, prior_to_kind, tool_prior};
pub use kind::{
    detect, detect_content_kind, looks_like_code, looks_like_diff, looks_like_html,
    looks_like_json, looks_like_json_array, parse_search_line,
};