Fix version in docs

This commit is contained in:
konstin 2019-03-28 12:58:19 +01:00
parent 8acc5289cc
commit 7086141f85
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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`: