Skip to content

Commit 9be7d9f

Browse files
committed
docstrings: add info about num_bigint features
1 parent 5d4bb9d commit 9be7d9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scylla-cql/src/frame/value.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ impl std::hash::Hash for CqlTimeuuid {
222222
/// implementation of `varint` type - independent of any
223223
/// external crates and crate features.
224224
///
225+
/// The type is not very useful in most use cases.
226+
/// However, users can make use of more complex types
227+
/// such as `num_bigint::BigInt` (v0.3/v0.4).
228+
/// The library support (e.g. conversion from [`CqlValue`]) for these types is
229+
/// enabled via `num-bigint-03` and `num-bigint-04` crate features.
230+
///
225231
/// # DB data format
226232
/// Notice that [constructors](CqlVarint#impl-CqlVarint)
227233
/// don't perform any normalization on the provided data.

0 commit comments

Comments
 (0)