For AI agents: the complete documentation index is available at /annealer/zh/llms.txt, the full documentation bundle is available at /annealer/zh/llms-full.txt, and this page is available as Markdown at /annealer/zh/api/index.md.
  • 简体中文
  • API 概览

    annealer 只有一个 Rust 核心,但提供多种调用方式:

    入口用途参考
    anyl在命令行或 CI 中格式化文件CLI
    annealer (npm)通过 WebAssembly 在 Node.js、浏览器和打包工具中使用JavaScript API
    配置文件 YAML自定义属性顺序、布局和样式表选项配置文件参考

    Rust 函数 annealer::format(input, &Config) 是纯函数:它不做任何文件 I/O,因此同一个核心可以同时运行在 CLI 和 WebAssembly 中。