- Changed `ExecStart` to bind the server to `127.0.0.1` and added explicit `http` scheme.
- Removed unnecessary trailing whitespace across the file for cleaner formatting.
- Introduced a NixOS module for configuring the CrateDocs MCP server.
- Added options for enabling the service, setting the port, user, and group.
- Configured a hardened systemd service with security restrictions.
- Renamed namespace from "hello" to "cratedocs" for better clarity.
- Optimized overlay definitions and improved package structure resolution.
- Added `cratedocs-mcp` to overlays for streamlined integration.
1. Fixed the lookup_item command to properly handle item paths by:
- Trying different item types (struct, enum, trait, fn, macro)
- Using the proper URL structure for docs.rs items
- Adding User-Agent headers to avoid 404 errors
2. Fixed the search_crates command to:
- Include proper User-Agent headers to avoid 403 Forbidden errors
- Return JSON data in a consistent format
3. Made general improvements:
- Better CLI help text with examples
- Better error messages with specific examples
- More comprehensive documentation of usage patterns
- HTTP/SSE server: Add tests for app initialization and session management
- Docs tools: Add tests for cache functionality, error handling, and network errors
- Make components more testable by exposing necessary fields
- Add mockito for HTTP testing support
- Improve robust error handling in network tests
- Add Tower util feature for ServiceExt support