diff --git a/Cargo.toml b/Cargo.toml index 1ac6cfc..3dee677 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc" -version = "0.10.0" +version = "0.11.0" authors = ["Adam Wright ", "Tim Kuehn "] license = "MIT" documentation = "https://docs.rs/tarpc" diff --git a/README.md b/README.md index 3e6db48..bf0e0a2 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ arguments to tarpc fns. Add to your `Cargo.toml` dependencies: ```toml -tarpc = "0.10.0" +tarpc = "0.11.0" tarpc-plugins = "0.2.0" ``` diff --git a/RELEASES.md b/RELEASES.md index a77ac8f..694f03d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,8 @@ +## 0.10.0 (2018-04-08) + +## Breaking Changes +Fixed rustc breakage in tarpc-plugins. These changes require a recent version of rustc. + ## 0.10.0 (2018-03-26) ## Breaking Changes diff --git a/examples/concurrency.rs b/examples/concurrency.rs index 865ec05..e3ff5ca 100644 --- a/examples/concurrency.rs +++ b/examples/concurrency.rs @@ -3,7 +3,7 @@ // Licensed under the MIT License, . // This file may not be copied, modified, or distributed except according to those terms. -#![feature(conservative_impl_trait, plugin, never_type, use_extern_macros)] +#![feature(plugin, never_type, use_extern_macros)] #![plugin(tarpc_plugins)] extern crate chrono; diff --git a/rustfmt.toml b/rustfmt.toml index 60f7208..44148a2 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,2 +1 @@ -ideal_width = 100 reorder_imports = true diff --git a/src/macros.rs b/src/macros.rs index e819c72..3ba4e06 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -634,7 +634,7 @@ mod functional_test { let buf = include_bytes!("../test/root-ca.der"); let cert = unwrap!(Certificate::from_der(buf)); let mut connector = unwrap!(TlsConnector::builder()); - connector.add_root_certificate(cert); + connector.add_root_certificate(cert).unwrap(); Context { domain: DOMAIN.into(), diff --git a/src/plugins/src/lib.rs b/src/plugins/src/lib.rs index d008699..d415b0b 100644 --- a/src/plugins/src/lib.rs +++ b/src/plugins/src/lib.rs @@ -126,7 +126,7 @@ fn ty_snake_to_camel(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree]) -> Box