File tree Expand file tree Collapse file tree 6 files changed +21
-11
lines changed Expand file tree Collapse file tree 6 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased]
4
4
5
- [ Unreleased ] : https://github.com/dgrunwald/rust-cpython/compare/0.5.2...HEAD
5
+ [ Unreleased ] : https://github.com/dgrunwald/rust-cpython/compare/0.6.0...HEAD
6
+
7
+ ## 0.6.0 - 2021-04-15
8
+ - the minimum supported Rust version is now 1.41.1
9
+ - on Python 3, [ strings now directly use the UTF-8 representation stored inside the Python string] [ 247 ]
10
+ - [ visibility keywords are now permitted on classes and functions] [ 250 ] (PR by [ @tdyas ] )
11
+ - [ the ` PyNone ` type can be used as a marker representing None in Python] [ 253 ] (PR by [ @markbt ] )
12
+
13
+ [ 247 ] : https://github.com/dgrunwald/rust-cpython/pull/247
14
+ [ 250 ] : https://github.com/dgrunwald/rust-cpython/pull/250
15
+ [ @tdyas ] : https://github.com/tdyas
16
+ [ 253 ] : https://github.com/dgrunwald/rust-cpython/pull/253
6
17
7
18
## 0.5.2 - 2020-12-16
8
19
- [ add a way to disable converting ` PyString ` to unicode on Python 2] [ 240 ] (PR by [ @quark-zju ] )
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " cpython"
4
- version = " 0.5.2 "
4
+ version = " 0.6.0 "
5
5
description = " Bindings to Python"
6
6
authors = [" Daniel Grunwald <daniel@danielgrunwald.de>" ]
7
7
readme = " README.md"
@@ -48,12 +48,12 @@ serde_cbor = { version = "0.11" }
48
48
[dependencies .python27-sys ]
49
49
optional = true
50
50
path = " python27-sys"
51
- version = " 0.5.2 "
51
+ version = " 0.6.0 "
52
52
53
53
[dependencies .python3-sys ]
54
54
optional = true
55
55
path = " python3-sys"
56
- version = " 0.5.2 "
56
+ version = " 0.6.0 "
57
57
58
58
[features ]
59
59
default = [" python3-sys" ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ rust-cpython [ 2015-2020 Daniel Grunwald.
11
+ Copyright (c) 2015-2021 Daniel Grunwald.
12
12
Rust-cpython is licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) .
13
13
Python is licensed under the [ Python License] ( https://docs.python.org/2/license.html ) .
14
14
@@ -24,7 +24,7 @@ To use `cpython`, add this to your `Cargo.toml`:
24
24
25
25
``` toml
26
26
[dependencies ]
27
- cpython = " 0.5 "
27
+ cpython = " 0.6 "
28
28
```
29
29
30
30
#### Example program displaying the value of ` sys.version ` :
@@ -70,7 +70,7 @@ name = "rust2py"
70
70
crate-type = [" cdylib" ]
71
71
72
72
[dependencies .cpython ]
73
- version = " 0.5 "
73
+ version = " 0.6 "
74
74
features = [" extension-module" ]
75
75
```
76
76
@@ -121,4 +121,3 @@ To test the crate, run: `make test`
121
121
122
122
Note: This crate has several files that are auto-generated using scripts. Using the Makefile ensures that these
123
123
files are re-generated as needed.
124
- >>>>>>> 9ce2de8 (Add comment explaining how to regenerate)
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " hello"
3
- version = " 0.5.2 "
3
+ version = " 0.6.0 "
4
4
authors = [" Daniel Grunwald <daniel@danielgrunwald.de>" ]
5
5
edition = " 2018"
6
6
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " python27-sys"
3
- version = " 0.5.2 "
3
+ version = " 0.6.0 "
4
4
description = " FFI Declarations for Python 2.7"
5
5
readme = " README.md"
6
6
keywords = [
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " python3-sys"
3
- version = " 0.5.2 "
3
+ version = " 0.6.0 "
4
4
description = " FFI Declarations for Python 3"
5
5
readme = " README.md"
6
6
keywords = [
You can’t perform that action at this time.
0 commit comments