Repository navigation
red: el lado del módulo como biblioteca para otros módulos en Rust - #26
Merged
Merged
Conversation
…ricos) dathinel-red pasa a ser lib + bin. modulo::atender y modulo::ejecutar reciben la Info del welcome y un Servicio (llamar y cerrar), así otro módulo en Rust (BeamLine) reutiliza el protocolo sin copiarlo. dathinel-red se comporta igual: mismo welcome, funciones y códigos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dathinel-red pasa a ser lib + bin.
marco,limitesymoduloquedan ensrc/lib.rs.modulo::atenderymodulo::ejecutarreciben laInfodelwelcomey unServicio(llamarycerrar).Para qué: BeamLine, la app de envío de archivos de Daniel que es privada y no tiene remoto, necesita un proceso en Rust que hable el protocolo de módulos v1 con su app en C#. La regla es no copiar código compartido a mano, así que depende de
Sala/redcomo biblioteca por ruta, a través del submódulo.Sin cambios de comportamiento: el
welcome, las funciones, los mensajes y los códigos de salida siguen igual (dathinel-red, «Red de Sala»).Comprobado en Windows:
cargo fmt --check,cargo clippy --all-targets -D warningscon y sin--features prueba, ycargo test --features prueba(9 de la lib y 25 del bin). Las pruebas de C# las pasa la CI.🤖 Generated with Claude Code