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
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ We test to ensure [compatibility](https://github.com/stac-utils/stac-rs/blob/mai
132
132
133
133
## Development
134
134
135
-
Get [Rust](https://rustup.rs/), [uv](https://docs.astral.sh/uv/getting-started/installation/), and [libduckdb](https://duckdb.org/docs/installation/index) (for more on setting up **libduckdb**, [see this](#duckdb)).
135
+
Get [Rust](https://rustup.rs/), [uv](https://docs.astral.sh/uv/getting-started/installation/), and (optionally) [libduckdb](https://duckdb.org/docs/installation/index).
136
136
Then:
137
137
138
138
```shell
@@ -143,10 +143,6 @@ scripts/test
143
143
144
144
See [CONTRIBUTING.md](./CONTRIBUTING.md) for more information about contributing to this project.
145
145
146
-
> [!TIP]
147
-
> We ship our wheels with **libduckdb** so users don't have to worry about having it installed.
148
-
> You only need it if you're doing development.
149
-
150
146
### DuckDB
151
147
152
148
By default, this package expects **libduckdb** to be present on your system.
@@ -163,8 +159,14 @@ If you're using [homebrew](https://brew.sh/), that might look like this:
163
159
export DUCKDB_LIB_DIR=/opt/homebrew/lib
164
160
```
165
161
166
-
> [!NOTE]
167
-
> We used to use the [bundled](https://github.com/duckdb/duckdb-rs?tab=readme-ov-file#notes-on-building-duckdb-and-libduckdb-sys) feature of DuckDB, but it was making our build times intolerably slow.
162
+
Alternatively, you can use the `duckdb-bundled` feature to build DuckDB bindings into the Rust library:
163
+
164
+
```shell
165
+
maturin dev --uv -F duckdb-bundled && pytest
166
+
```
167
+
168
+
> [!WARNING]
169
+
> Building DuckDB [bundled](https://github.com/duckdb/duckdb-rs?tab=readme-ov-file#notes-on-building-duckdb-and-libduckdb-sys) takes a long while.
0 commit comments