Skip to content

Commit 99364c2

Browse files
committed
Updates nanomsg dependency to 0.6.0
1 parent 97ed144 commit 99364c2

File tree

7 files changed

+19
-18
lines changed

7 files changed

+19
-18
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ target/
3131
*.tar.gz
3232
nanomsg-0.4-beta
3333
nanomsg-0.5-beta
34+
nanomsg-0.6-beta
3435
Cargo.lock

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "nanomsg"
3-
version = "0.3.4"
3+
version = "0.4.0"
44
authors = [
55
"Daniel Fagnan <[email protected]>",
66
"Jason E. Aten",
77
"David C. Bishop",
88
"Dennis Lawler",
99
"Zachary Tong",
1010
"Dan Burkert",
11-
"Benoît Labaere"
11+
"Benoît Labaere <[email protected]>"
1212
]
1313

1414
description = "A high-level, Rust idiomatic wrapper around nanomsg."
@@ -21,7 +21,7 @@ license = "MIT"
2121

2222
[dependencies.nanomsg-sys]
2323
path = "./nanomsg_sys"
24-
version = "0.1.4"
24+
version = "0.2.0"
2525

2626
[dependencies]
27-
libc = "0.1.7"
27+
libc = "0.1.8"

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
deps:
2-
wget http://download.nanomsg.org/nanomsg-0.5-beta.tar.gz
3-
tar -xvzf nanomsg-0.5-beta.tar.gz
4-
cd nanomsg-0.5-beta && ./configure && make && sudo make install
2+
wget https://github.com/nanomsg/nanomsg/releases/download/0.6-beta/nanomsg-0.6-beta.tar.gz
3+
tar -xvzf nanomsg-0.6-beta.tar.gz
4+
cd nanomsg-0.6-beta && ./configure && make && sudo make install
55
sudo ldconfig
66

77
clean:
88
rm -rf target
9-
rm -rf nanomsg-0.5-beta
10-
rm nanomsg-0.5-beta.tar.gz
9+
rm -rf nanomsg-0.6-beta
10+
rm nanomsg-0.6-beta.tar.gz
1111

1212
.PHONY: clean deps

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Nanomsg
22

3-
![Cargo 0.3.4](http://img.shields.io/badge/cargo-0.3.4-orange.svg?style=flat)
3+
![Cargo 0.4.0](http://img.shields.io/badge/cargo-0.4.0-orange.svg?style=flat)
44
![MIT License](http://img.shields.io/npm/l/express.svg?style=flat)
55
[![Build Status](https://travis-ci.org/thehydroimpulse/nanomsg.rs.svg?branch=master)](https://travis-ci.org/thehydroimpulse/nanomsg.rs)
66
[![Build status](https://ci.appveyor.com/api/projects/status/hwfjigfwyomc56u1?svg=true)](https://ci.appveyor.com/project/thehydroimpulse/nanomsg-rs)
@@ -15,7 +15,7 @@ Nanomsg is a modern messaging library that is the successor to ZeroMQ, written i
1515

1616
### Requirements
1717

18-
* Nanomsg 0.5.0
18+
* Nanomsg 0.6.0
1919

2020
Installing nanomsg:
2121

@@ -27,7 +27,7 @@ make deps
2727

2828
```toml
2929
[dependencies]
30-
nanomsg = "^0.3.4"
30+
nanomsg = "^0.4.0"
3131
```
3232

3333
Simply import the crate to use it:

nanomsg_sys/Cargo.toml

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

33
name = "nanomsg-sys"
4-
version = "0.1.4"
4+
version = "0.2.0"
55
authors = [
66
"Daniel Fagnan <[email protected]>",
7-
"Benoît Labaere"
7+
"Benoît Labaere <[email protected]>"
88
]
99

1010
license = "MIT"
@@ -17,4 +17,4 @@ links = "nanomsg"
1717
build = "build.rs"
1818

1919
[dependencies]
20-
libc = "0.1.7"
20+
libc = "0.1.8"

nanomsg_sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fn main() {
2-
println!("cargo:rustc-flags=-L ../nanomsg-0.5-beta/.libs -l nanomsg");
2+
println!("cargo:rustc-flags=-L ../nanomsg-0.6-beta/.libs -l nanomsg");
33
}

nanomsg_sys/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pub const NN_SUB: c_int = NN_PROTO_PUBSUB * 16 + 1;
2727
pub const NN_SUB_SUBSCRIBE: c_int = 1;
2828
pub const NN_SUB_UNSUBSCRIBE: c_int = 2;
2929
pub const NN_PROTO_SURVEY: c_int = 6;
30-
pub const NN_SURVEYOR: c_int = NN_PROTO_SURVEY * 16 + 0;
31-
pub const NN_RESPONDENT: c_int = NN_PROTO_SURVEY * 16 + 1;
30+
pub const NN_SURVEYOR: c_int = NN_PROTO_SURVEY * 16 + 2;
31+
pub const NN_RESPONDENT: c_int = NN_PROTO_SURVEY * 16 + 3;
3232
pub const NN_SURVEYOR_DEADLINE: c_int = 1;
3333

3434

0 commit comments

Comments
 (0)