Skip to content

Commit 5ffd647

Browse files
committed
chore: add pyo3-log
1 parent d506991 commit 5ffd647

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Cargo.lock

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ crate-type = ["cdylib"]
1111
duckdb = { version = "1.1.1", features = ["bundled"] }
1212
geojson = "0.24.1"
1313
pyo3 = "0.23.3"
14+
pyo3-log = "0.12.1"
1415
pythonize = "0.23.0"
1516
serde_json = "1.0.134"
1617
stac = { version = "0.11.1", features = [

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type Result<T> = std::result::Result<T, Error>;
1717
/// A collection of functions for working with STAC, using Rust under the hood.
1818
#[pymodule]
1919
fn stacrs(m: &Bound<'_, PyModule>) -> PyResult<()> {
20+
pyo3_log::init();
2021
m.add_class::<duckdb::DuckdbClient>()?;
2122
m.add_function(wrap_pyfunction!(migrate::migrate, m)?)?;
2223
m.add_function(wrap_pyfunction!(migrate::migrate_href, m)?)?;

0 commit comments

Comments
 (0)