]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Provide an MSRV of 1.48
authorMatt Corallo <git@bluematt.me>
Mon, 31 Oct 2022 01:37:43 +0000 (01:37 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 31 Oct 2022 23:38:21 +0000 (23:38 +0000)
.github/workflows/build.yml
src/cli.rs

index 2ad6ccd7d65c72733c91be2df98691b099aca30d..4763a8354b10955c5a4b21cd77b97d9820f43461 100644 (file)
@@ -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
index 0638b95e5efc42a3d85306b31e2761debfa046e6..99a43784cb69ad55b2aabd9598f6c47d6db3a9be 100644 (file)
@@ -181,7 +181,7 @@ pub(crate) async fn poll_for_user_input<E: EventHandler>(
                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 {