cdrs-tokio-helpers-derive

Crates.iocdrs-tokio-helpers-derive
lib.rscdrs-tokio-helpers-derive
version5.0.3
sourcesrc
created_at2020-11-17 06:12:30.271843
updated_at2023-10-02 07:41:44.061352
descriptionDerive CDRS helper traits
homepage
repositoryhttps://github.com/krojew/cdrs-tokio
max_upload_size
id313196
size20,231
Kamil Rojewski (krojew)

documentation

README

cdrs-tokio-helpers-derive

Procedural macros that derive helper traits for CDRS Cassandra to Rust types conversion back and forth

Features:

  • convert Cassandra primitive types (not lists, sets, maps, UDTs) into Rust
  • recursively convert Cassandra "collection" types (lists, sets, maps) into Rust
  • recursively convert Cassandra UDTs into Rust
  • recursively convert optional fields into Rust
  • convert Rust primitive types into Cassandra query values
  • convert Rust "collection" types into Cassandra query values
  • convert Rust structures into Cassandra query values
  • convert Option<T> into Cassandra query value
  • generates an insert method for a Rust struct type
Commit count: 1541

cargo fmt