diff --git a/guide/src/building-and-distribution.md b/guide/src/building-and-distribution.md index eb1cd7b1..97f22aad 100644 --- a/guide/src/building-and-distribution.md +++ b/guide/src/building-and-distribution.md @@ -14,7 +14,7 @@ If you have e.g. a library crate and a profiling crate alongside, you need to us ```toml [dependencies] -pyo3 = "0.5.2" +pyo3 = "0.6" [lib] name = "hyperjson" @@ -29,7 +29,7 @@ And this in the profiling crate: ```toml [dependencies] my_main_crate = { path = "..", default-features = false } -pyo3 = "0.5.2" +pyo3 = "0.6" ``` On linux/mac you might have to change `LD_LIBRARY_PATH` to include libpython, while on windows you might need to set `LIB` to include `pythonxy.lib` (where x and y are major and minor version), which is normally either in the `libs` or `Lib` folder of a python installation. diff --git a/guide/src/get_started.md b/guide/src/get_started.md index c20e286c..365a54f7 100644 --- a/guide/src/get_started.md +++ b/guide/src/get_started.md @@ -84,7 +84,7 @@ Add `pyo3` this to your `Cargo.toml`: ```toml [dependencies] -pyo3 = "0.5" +pyo3 = "0.6" ``` Example program displaying the value of `sys.version`: