summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md6
-rw-r--r--Cargo.toml2
-rw-r--r--README.md2
-rw-r--r--RELEASE_PROCEDURE.md9
-rw-r--r--src/sys/socket/consts.rs1
5 files changed, 15 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 209da157..4238ed74 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,9 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
+## [0.7.0] 2016-09-09
+
### Added
- Added `lseek` and `lseek64` in `::nix::unistd`
([#377](https://github.com/nix-rust/nix/pull/377))
+- Added `mkdir` and `getcwd` in `::nix::unistd`
+ ([#416](https://github.com/nix-rust/nix/pull/416))
- Added accessors `sigmask_mut` and `sigmask` to `UContext` in
`::nix::ucontext`.
([#370](https://github.com/nix-rust/nix/pull/370))
@@ -29,6 +33,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Added method `revents()` to `PollFd` in `::nix::poll`, in order to provide
read access to formerly public member `revents`.
([#399](https://github.com/nix-rust/nix/pull/399))
+- Added `MSG_CMSG_CLOEXEC` to `MsgFlags` in `::nix::sys::socket` for _linux_ only.
+ ([#422](https://github.com/nix-rust/nix/pull/422))
### Changed
- Replaced the reexported integer constants for signals by the enumeration
diff --git a/Cargo.toml b/Cargo.toml
index 86027b2c..9302181c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
name = "nix"
description = "Rust friendly bindings to *nix APIs"
-version = "0.6.1-pre"
+version = "0.7.1-pre"
authors = ["Carl Lerche <me@carllerche.com>"]
homepage = "https://github.com/nix-rust/nix"
repository = "https://github.com/nix-rust/nix"
diff --git a/README.md b/README.md
index d9d1dbfb..20753af7 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ To use `nix`, first add this to your `Cargo.toml`:
```toml
[dependencies]
-nix = "0.6.0"
+nix = "0.7.0"
```
Then, add this to your crate root:
diff --git a/RELEASE_PROCEDURE.md b/RELEASE_PROCEDURE.md
index 80972d5b..14496f23 100644
--- a/RELEASE_PROCEDURE.md
+++ b/RELEASE_PROCEDURE.md
@@ -9,17 +9,19 @@ some Rust versions counts as a breaking change, and requires a major bump.
The release is prepared as follows:
+- Ask for a new libc version if, necessary. It usually is.
- Make a commit with a message like "Release v0.8.3" with the following
changes:
- In `CHANGELOG.md`, rename the Unreleased section to the new version
followed by the date of the release.
- In `Cargo.toml`, update the version to the new version.
+ - In `Cargo.toml`, change the libc dependency to the latest version.
- In `README.md`, update the version in the Usage section to the new
version.
- Make a pull request.
-- Once the PR is merged, tag the merge commit, eg `git tag v0.8.3
+- Once the PR is merged, tag the merge commit, e.g. `git tag v0.8.3
$MERGE_COMMIT_SHA1`.
-- Push the tag, eg `git push v0.8.3`.
+- Push the tag, e.g. `git push origin v0.8.3`.
# Create Release
@@ -32,7 +34,8 @@ After the release a commit with the following changes is added to the master
branch.
- Add a new Unreleased section header to CHANGELOG.md.
-- In `Cargo.toml`, update the version to the next `-dev` version, eg
+- In `Cargo.toml`, update the version to the next `-dev` version, e.g.
`v0.8.4-dev`.
+- In `Cargo.tml`, revert the libc dependency to its git master branch.
- Commit with a message like "Bump to v0.8.4-dev"
- Make a pull request.
diff --git a/src/sys/socket/consts.rs b/src/sys/socket/consts.rs
index aeeea5c3..63eaf28a 100644
--- a/src/sys/socket/consts.rs
+++ b/src/sys/socket/consts.rs
@@ -98,6 +98,7 @@ mod os {
const MSG_DONTWAIT = 0x0040,
const MSG_EOR = 0x0080,
const MSG_ERRQUEUE = 0x2000,
+ const MSG_CMSG_CLOEXEC = 0x40000000,
}
}