Use pyo3 0.2 in docs

This commit is contained in:
messense 2017-08-15 09:30:55 +08:00
parent ac27eb8b6d
commit 70c7b4a2a2
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ To use `pyo3`, add this to your `Cargo.toml`:
```toml
[dependencies]
pyo3 = "0.1"
pyo3 = "0.2"
```
Example program displaying the value of `sys.version`:

View File

@ -17,7 +17,7 @@ name = "rust2py"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.1", features = ["extension-module"] }
pyo3 = { version = "0.2", features = ["extension-module"] }
```
Now you can write your module, for example

View File

@ -21,7 +21,7 @@ To use `pyo3`, add this to your `Cargo.toml`:
```toml
[dependencies]
pyo3 = "0.1"
pyo3 = "0.2"
```
Example program displaying the value of `sys.version`: