Skip to content

Commit e211a68

Browse files
committed
Version 0.6.0
1 parent bf26f6c commit e211a68

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22

33
## [Unreleased]
44

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
617

718
## 0.5.2 - 2020-12-16
819
- [add a way to disable converting `PyString` to unicode on Python 2][240] (PR by [@quark-zju])

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "cpython"
4-
version = "0.5.2"
4+
version = "0.6.0"
55
description = "Bindings to Python"
66
authors = ["Daniel Grunwald <[email protected]>"]
77
readme = "README.md"
@@ -48,12 +48,12 @@ serde_cbor = { version = "0.11" }
4848
[dependencies.python27-sys]
4949
optional = true
5050
path = "python27-sys"
51-
version = "0.5.2"
51+
version = "0.6.0"
5252

5353
[dependencies.python3-sys]
5454
optional = true
5555
path = "python3-sys"
56-
version = "0.5.2"
56+
version = "0.6.0"
5757

5858
[features]
5959
default = ["python3-sys"]

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ rust-cpython [![Build Status](https://travis-ci.org/dgrunwald/rust-cpython.svg?b
88

99
---
1010

11-
Copyright (c) 2015-2020 Daniel Grunwald.
11+
Copyright (c) 2015-2021 Daniel Grunwald.
1212
Rust-cpython is licensed under the [MIT license](http://opensource.org/licenses/MIT).
1313
Python is licensed under the [Python License](https://docs.python.org/2/license.html).
1414

@@ -24,7 +24,7 @@ To use `cpython`, add this to your `Cargo.toml`:
2424

2525
```toml
2626
[dependencies]
27-
cpython = "0.5"
27+
cpython = "0.6"
2828
```
2929

3030
#### Example program displaying the value of `sys.version`:
@@ -70,7 +70,7 @@ name = "rust2py"
7070
crate-type = ["cdylib"]
7171

7272
[dependencies.cpython]
73-
version = "0.5"
73+
version = "0.6"
7474
features = ["extension-module"]
7575
```
7676

@@ -121,4 +121,3 @@ To test the crate, run: `make test`
121121

122122
Note: This crate has several files that are auto-generated using scripts. Using the Makefile ensures that these
123123
files are re-generated as needed.
124-
>>>>>>> 9ce2de8 (Add comment explaining how to regenerate)

extensions/hello/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hello"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Daniel Grunwald <[email protected]>"]
55
edition = "2018"
66

python27-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "python27-sys"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
description = "FFI Declarations for Python 2.7"
55
readme = "README.md"
66
keywords = [

python3-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "python3-sys"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
description = "FFI Declarations for Python 3"
55
readme = "README.md"
66
keywords = [

0 commit comments

Comments
 (0)