Does anyone know if there is an option in Cargo.toml, or maybe a macro for lib.rs, that will make it so that a specific module is always built in release mode, while the rest may be built in other modes?
Context: I have a specific module that seems stable and I don't care to debug it anymore. It is horrendously slow in Debug mode, so I'd like to force that specific module to be Release mode regardless of what the other modules are.