From 7086141f8517d635bbdc75bf911c233acf3ad8e3 Mon Sep 17 00:00:00 2001 From: konstin Date: Thu, 28 Mar 2019 12:58:19 +0100 Subject: [PATCH] Fix version in docs --- guide/src/building-and-distribution.md | 4 ++-- guide/src/get_started.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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`: