tool-parser 1.0.0

Tool/function call parser for LLM model outputs
Documentation
[dependencies.async-trait]
version = "0.1"

[dependencies.num-traits]
version = "0.2"

[dependencies.openai-protocol]
version = "1.0.0"

[dependencies.regex]
version = "1.10"

[dependencies.rustpython-parser]
version = "0.4.0"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
features = ["preserve_order"]
version = "1.0"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
features = ["sync", "rt-multi-thread", "macros"]
version = "1.42.0"

[dependencies.tracing]
version = "0.1"

[lib]
name = "tool_parser"
path = "src/lib.rs"

[package]
authors = ["Simo Lin <linsimo.mark@gmail.com>", "Chang Su <mckvtl@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "api-bindings"]
description = "Tool/function call parser for LLM model outputs"
edition = "2021"
keywords = ["llm", "tool-calling", "function-calling", "parser"]
license = "Apache-2.0"
name = "tool-parser"
readme = false
repository = "https://github.com/lightseekorg/smg"
version = "1.0.0"

[[test]]
name = "tool_parser_deepseek"
path = "tests/tool_parser_deepseek.rs"

[[test]]
name = "tool_parser_edge_cases"
path = "tests/tool_parser_edge_cases.rs"

[[test]]
name = "tool_parser_fallback"
path = "tests/tool_parser_fallback.rs"

[[test]]
name = "tool_parser_glm47_moe"
path = "tests/tool_parser_glm47_moe.rs"

[[test]]
name = "tool_parser_glm4_moe"
path = "tests/tool_parser_glm4_moe.rs"

[[test]]
name = "tool_parser_json"
path = "tests/tool_parser_json.rs"

[[test]]
name = "tool_parser_kimik2"
path = "tests/tool_parser_kimik2.rs"

[[test]]
name = "tool_parser_llama"
path = "tests/tool_parser_llama.rs"

[[test]]
name = "tool_parser_minimax_m2"
path = "tests/tool_parser_minimax_m2.rs"

[[test]]
name = "tool_parser_mistral"
path = "tests/tool_parser_mistral.rs"

[[test]]
name = "tool_parser_mixed_edge_cases"
path = "tests/tool_parser_mixed_edge_cases.rs"

[[test]]
name = "tool_parser_partial_json"
path = "tests/tool_parser_partial_json.rs"

[[test]]
name = "tool_parser_pythonic"
path = "tests/tool_parser_pythonic.rs"

[[test]]
name = "tool_parser_qwen"
path = "tests/tool_parser_qwen.rs"

[[test]]
name = "tool_parser_qwen_coder"
path = "tests/tool_parser_qwen_coder.rs"

[[test]]
name = "tool_parser_step3"
path = "tests/tool_parser_step3.rs"