cdrs_helpers_derive

Crates.iocdrs_helpers_derive
lib.rscdrs_helpers_derive
version0.4.0
sourcesrc
created_at2018-06-12 19:49:09.760931
updated_at2021-01-29 21:36:32.029619
descriptionDerive CDRS helper traits
homepage
repository
max_upload_size
id69834
size15,049
Alex Pikalov (AlexPikalov)

documentation

README

cdrs-helpers-derive

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

The package is under hard development and is absolutely not stable.

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: 0

cargo fmt