parent
1359c315e7
commit
b4fe18bc02
@ -1,22 +0,0 @@
|
||||
From afac000c8b89059e3ea1d22477a22ec31d6f6856 Mon Sep 17 00:00:00 2001
|
||||
From: Marshall Pierce <marshall@mpierce.org>
|
||||
Date: Fri, 12 Jul 2019 11:54:33 -0600
|
||||
Subject: [PATCH] Fix compat issue with beta rust
|
||||
|
||||
---
|
||||
src/decode.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/decode.rs b/src/decode.rs
|
||||
index ae34230..9c9916c 100644
|
||||
--- a/src/decode.rs
|
||||
+++ b/src/decode.rs
|
||||
@@ -55,7 +55,7 @@ impl error::Error for DecodeError {
|
||||
}
|
||||
}
|
||||
|
||||
- fn cause(&self) -> Option<&error::Error> {
|
||||
+ fn cause(&self) -> Option<&dyn error::Error> {
|
||||
None
|
||||
}
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
From e923d5f45668e4dd8b8bc3109f4e1b664a386053 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?=
|
||||
<30413512+eclipseo@users.noreply.github.com>
|
||||
Date: Fri, 13 Sep 2019 18:13:37 +0200
|
||||
Subject: [PATCH] Bump criterion to 0.3
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
|
||||
---
|
||||
benches/benchmarks.rs | 4 ++--
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/benches/benchmarks.rs b/benches/benchmarks.rs
|
||||
index e6ae3d2..475dfdb 100644
|
||||
--- a/benches/benchmarks.rs
|
||||
+++ b/benches/benchmarks.rs
|
||||
@@ -124,7 +124,7 @@ fn encode_benchmarks(byte_sizes: &[usize]) -> ParameterizedBenchmark<usize> {
|
||||
ParameterizedBenchmark::new("encode", do_encode_bench, byte_sizes.iter().cloned())
|
||||
.warm_up_time(std::time::Duration::from_millis(500))
|
||||
.measurement_time(std::time::Duration::from_secs(3))
|
||||
- .throughput(|s| Throughput::Bytes(*s as u32))
|
||||
+ .throughput(|s| Throughput::Bytes(*s as u64))
|
||||
.with_function("encode_display", do_encode_bench_display)
|
||||
.with_function("encode_reuse_buf", do_encode_bench_reuse_buf)
|
||||
.with_function("encode_slice", do_encode_bench_slice)
|
||||
@@ -135,7 +135,7 @@ fn decode_benchmarks(byte_sizes: &[usize]) -> ParameterizedBenchmark<usize> {
|
||||
ParameterizedBenchmark::new("decode", do_decode_bench, byte_sizes.iter().cloned())
|
||||
.warm_up_time(std::time::Duration::from_millis(500))
|
||||
.measurement_time(std::time::Duration::from_secs(3))
|
||||
- .throughput(|s| Throughput::Bytes(*s as u32))
|
||||
+ .throughput(|s| Throughput::Bytes(*s as u64))
|
||||
.with_function("decode_reuse_buf", do_decode_bench_reuse_buf)
|
||||
.with_function("decode_slice", do_decode_bench_slice)
|
||||
}
|
||||
--
|
||||
2.21.0
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (base64-0.10.1.crate) = 674a8cbee95a41f755499a4e3bb93ebd3f80140c3e8e2d44a0b73890ee423754e7ba8abcd92132683cd54501ff5d14438d023a202eaf12776aecbe36df9e5535
|
||||
SHA512 (base64-0.11.0.crate) = 31b5f56d4907a5e4ae40e92ef1629a446126525186f5236afc2475829bf2e5e067554db200a18f7b3ab741d0cc9c01e20612e77cc0cbc1bc2a4a8d11c0fdbf33
|
||||
|
Loading…
Reference in new issue