Skip to content

Commit d20ba62

Browse files
committed
Workaround to make things compile on Rust 1.3
1 parent cb022de commit d20ba62

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: rust
22
rust:
3-
- 1.6.0
3+
- 1.3.0
44
- stable
55
- beta
66
- nightly

Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ regex-syntax = { path = "regex-syntax", version = "0.3.1" }
2424
# For compiling UTF-8 decoding into automata.
2525
utf8-ranges = "0.1.3"
2626

27+
# Workaround to make things compile on Rust 1.3
28+
void = "1.0"
29+
2730
[dev-dependencies]
2831
# For examples.
2932
lazy_static = "0.1"
@@ -36,6 +39,9 @@ rand = "0.3"
3639
# Enable to use the unstable pattern traits defined in std.
3740
pattern = []
3841

42+
# Workaround to make things compile on Rust 1.3
43+
default = ["void/std"]
44+
3945
[lib]
4046
# There are no benchmarks in the library code itself
4147
bench = false

0 commit comments

Comments
 (0)