Skip to content

Conversation

@jymchng
Copy link

@jymchng jymchng commented Jan 12, 2025

"Please Include My Article: Compile-time Hex Validation in Rust"

Dear Editor,

I’m reaching out with an article I poured a lot of thought and effort into: Compile-time Hex String Validation in Rust using Const Evaluation. In it, I demonstrate how to harness Rust's const evaluation to validate hex strings at compile time, ensuring type safety and zero runtime overhead.

This piece is tailored for Rust enthusiasts and engineers working with blockchain or cryptographic systems—fields where correctness and performance are paramount. I walk readers through practical examples, like validating Sui blockchain object IDs, with clear error diagnostics and zero runtime costs.

I believe this article will resonate with your audience and offer valuable insights for their Rust journey. Please consider including it in your newsletter—I’d be honored to share this with the community!

Best regards,
Jim

@jymchng jymchng changed the title added my own blog post to this-week-in-rust Compile-time Hex Strings Validation in Rust Jan 12, 2025
Copy link
Contributor

@mariannegoldin mariannegoldin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the interesting article and welcome to TWIR. Readers interested in correctness will certainly appreciate this walkthru. Approved!

@mariannegoldin mariannegoldin merged commit 8856589 into rust-lang:master Jan 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants