mirror of
https://github.com/danog/strum.git
synced 2024-11-26 20:14:40 +01:00
Re-Enable Travis via travis.com (#112)
* Enable travis * add build.r to re-enable try_from
This commit is contained in:
parent
b517f232aa
commit
1d2778842b
@ -3,7 +3,7 @@ rust:
|
|||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
- 1.26.0
|
- 1.31.1
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Strum
|
# Strum
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/Peternator7/strum.svg?branch=master)](https://travis-ci.org/Peternator7/strum)
|
[![Build Status](https://travis-ci.com/Peternator7/strum.svg?branch=master)](https://travis-ci.com/Peternator7/strum)
|
||||||
|
[![Build status](https://ci.appveyor.com/api/projects/status/ji4f6n2m5lvu11xt?svg=true)](https://ci.appveyor.com/project/Peternator7/strum)
|
||||||
[![Latest Version](https://img.shields.io/crates/v/strum.svg)](https://crates.io/crates/strum)
|
[![Latest Version](https://img.shields.io/crates/v/strum.svg)](https://crates.io/crates/strum)
|
||||||
[![Rust Documentation](https://docs.rs/strum/badge.svg)](https://docs.rs/strum)
|
[![Rust Documentation](https://docs.rs/strum/badge.svg)](https://docs.rs/strum)
|
||||||
|
![Crates.io](https://img.shields.io/crates/l/strum)
|
||||||
|
![Crates.io](https://img.shields.io/crates/d/strum)
|
||||||
|
|
||||||
Strum is a set of macros and traits for working with enums and strings easier in Rust.
|
Strum is a set of macros and traits for working with enums and strings easier in Rust.
|
||||||
|
|
||||||
|
7
strum_tests/build.rs
Normal file
7
strum_tests/build.rs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
fn main() {
|
||||||
|
// Check if version of rustc is >= 1.34
|
||||||
|
if let Some(true) = version_check::is_min_version("1.34.0") {
|
||||||
|
println!("cargo:rustc-cfg=try_from");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user