clickhouse.rs
clickhouse.rs copied to clipboard
Support for `Int256`
Wasn't sure whether to comment on https://github.com/loyd/clickhouse.rs/issues/48 or not. Do you have any suggestions on how to handle Clickhouse's Int256 in Rust?
These wrappers are convenient, but ethers_core is much bigger than just numeric types.
@loyd You're right, it is much bigger. If not integrate these types into this lib, any advise on how to use outside of the lib?
You can implement Serialize and Deserialize (either by creating a custom wrapper type or using serde(with) attribute) in similar way as U256 in https://github.com/loyd/clickhouse.rs/issues/48.