From: Matt Corallo Date: Mon, 31 Oct 2022 01:37:43 +0000 (+0000) Subject: Provide an MSRV of 1.48 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=d5f75d82e2ba1d4bede3f5b049cc5e0890210a60;p=ldk-sample Provide an MSRV of 1.48 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ad6ccd..4763a83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,13 @@ jobs: strategy: matrix: platform: [ ubuntu-latest, macos-latest, windows-latest ] - toolchain: [ stable, beta ] + toolchain: [ stable, 1.48.0 ] include: - toolchain: stable check-fmt: true + exclude: + - platform: macos-latest + toolchain: 1.48.0 runs-on: ${{ matrix.platform }} steps: - name: Checkout source code diff --git a/src/cli.rs b/src/cli.rs index 0638b95..99a4378 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -181,7 +181,7 @@ pub(crate) async fn poll_for_user_input( io::stdout().flush().unwrap(); // Without flushing, the `>` doesn't print let mut line = String::new(); if let Err(e) = io::stdin().read_line(&mut line) { - break println!("ERROR: {e:#}"); + break println!("ERROR: {}", e); } if line.len() == 0 {