You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces a new --temporal option to choose temporal type mapping:
- numeric (default): primitive types for backward compatibility
- time: uses time crate (time::Date, time::OffsetDateTime, time::Duration)
- chrono: uses chrono crate (chrono::NaiveDate, chrono::DateTime, etc.)
- Adds support for ClickHouse Time and Time64(precision) types.
Updated all snapshots.
Copy file name to clipboardExpand all lines: README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ An auxiliary utility for generating Rust structures from ClickHouse DB schemas f
8
8
cargo install ch2rs
9
9
```
10
10
11
-
The crate enables `rustls-tls`[client](https://github.com/ClickHouse/clickhouse-rs/blob/main/Cargo.toml) feature by default, which allows to work with HTTPS URLs.
11
+
The crate enables `rustls-tls`[client](https://github.com/ClickHouse/clickhouse-rs/blob/main/Cargo.toml) feature by default, which allows to work with HTTPS URLs.
12
12
If `rustls-tls` does not work in your use case, you can install the crate with `native-tls` instead:
13
13
14
14
```sh
@@ -43,12 +43,36 @@ OPTIONS:
43
43
--derive <trait>... Add `#[derive(<trait>)]` to the generated types
44
44
-T <types>... Override the type, e.g. 'Decimal(18, 9)=fixnum::FixedPoint<i64, typenum::U9>'
0 commit comments