Expand description
Gettext MCP server library.
The crate is organized into layers:
error— unifiederror::GettextErrortypemodel— pure data types (MessageEntry,GettextFile)service::parser/service::serializer— PO format codecio—io::FileStoretrait +io::FsFileStoreimplservice::store/service::manager— per-file CRUD + cachetools— per-tool handler functionsserver—server::GettextMcpServerwith#[tool_router]- [
prompts] — empty#[prompt_router]stub web— optional axum-based HTTP UI
Re-exports§
pub use error::GettextError;pub use error::ParseError;pub use error::StoreError;pub use io::cleanup_orphan_tmps;pub use io::FileStore;pub use io::FsFileStore;pub use model::GettextFile;pub use model::MessageEntry;pub use server::GettextMcpServer;pub use service::GettextStore;pub use service::GettextStoreManager;pub use web::WebConfig;
Modules§
- error
- Crate-wide error type for the gettext-mcp server.
- io
- Filesystem abstraction used by the store and manager.
- model
- Pure data types representing a parsed gettext PO file.
- server
- Gettext MCP server struct and tool routing.
- service
- Domain services: parser, serializer, store, manager.
- tools
- Per-tool handler functions and parameter types.
- web