Портирование Python модуля в Rust

Этот запрос предназначен для Claude Code или Claude CLI. Он поможет вам портировать Python модуль в Rust, сохраняя публичный API и тестовое поведение.

Тема: Рефакторинг, Claude Code

Промпт

port this Python module to Rust, keeping the same public API and test behavior

When to use it: Use this prompt when you need to convert a Python module into Rust while ensuring that the functionality and interface remain unchanged. This is particularly useful for performance improvements or when integrating with Rust-based systems.

What to expect from Claude Code: Claude Code will assist you in translating the Python code into Rust, maintaining the same public API and ensuring that the tests behave identically. You can expect a structured approach to the conversion process, with attention to

Для доступа к полному тексту откройте страницу в браузере.