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
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,6 +210,16 @@ You can adjust this behavior in a number of ways:
210
210
options. The default when using vcpkg is to dynamically link,
211
211
which must be enabled by setting `VCPKGRS_DYNAMIC=1` environment variable before build.
212
212
213
+
### ICU extension and the bundled feature
214
+
215
+
When using the `bundled` feature, the ICU extension is not included due to crates.io's 10MB package size limit. This means some date/time operations (like `now() - interval '1 day'` or `ts::date` casts) will fail. You can load ICU at runtime:
216
+
217
+
```rust
218
+
conn.execute_batch("INSTALL icu; LOAD icu;")?;
219
+
```
220
+
221
+
Alternatively, link against libduckdb without the `bundled` feature (see build instructions above). The ICU extension will be built-in and pre-loaded in that case.
222
+
213
223
### Binding generation
214
224
215
225
We use [bindgen](https://crates.io/crates/bindgen) to generate the Rust
0 commit comments