Use pyo3 0.2 in docs
This commit is contained in:
parent
ac27eb8b6d
commit
70c7b4a2a2
|
@ -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`:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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`:
|
||||
|
|
Loading…
Reference in New Issue