# Serialize and deserialize Decimal in Rust Driver, open source contribution

**URL:** <https://forum.scylladb.com/t/serialize-and-deserialize-decimal-in-rust-driver-open-source-contribution/4523>\
**Category:** ScyllaDB\
**Tags:** data-model, rust-driver, community\
**Created:** [February 20, 2025, 11:30am UTC](https://forum.scylladb.com/t/serialize-and-deserialize-decimal-in-rust-driver-open-source-contribution/4523 "2025-02-20T11:30:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [February 20, 2025, 11:30am UTC](https://forum.scylladb.com/t/serialize-and-deserialize-decimal-in-rust-driver-open-source-contribution/4523/1 "2025-02-20T11:30:53Z")

</div>

> [@](#):
>
> [**Originally from the User Slack**](https://scylladb-users.slack.com/)
> 
> ![erik404](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/4/439e289ccc7434e52870b6a6f538b223165d7f00.jpeg) **@erik404:** Hi all! New user here! I’ve been using the ScyllaDB Rust driver since a couple of months now in a project that does algorithm optimizations. Before I had build my own storage system that managed data but eventually this failed after we reached 10 million+ simulations/hour.
> 
> So far ScyllaDB seems to hold up very well! And I am pleased with the state of the driver so far! Thanks for all the hard work!
> 
> I had some issues with (de)serializing rust\_decimal::Decimal to ScyllaDB and back without having to write boiler code all the time so I made a Crate that wraps that Decimal in a DecimalCql that implements (De)SerializeValue so I can easily use (De)SerializeRow on my structs.
> 
> I am not a frequent opensource contributor, or someone who works in large teams of programmers at all. So all feedback is welcome!
> 
> [https://crates.io/crates/rust\_decimal\_cql/](https://crates.io/crates/rust_decimal_cql/)
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** oh nice! @Wojciech\_Przytuła maybe we could make its consumption easier as a feature somehow?
> 
> ![Guy](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/c3526ba4b34ff18302ea8d05feac40e4524d4577.png) **@Guy:** Interesting, thanks!
