libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 9c2f860582bbcbec1b49ee4652e1b9c6fd0ea221
parent 3903dd7360afe1cc96d7675e3b183fd80796cb1e
Author: Antoine A <>
Date:   Fri, 23 Oct 2026 12:50:10 +0200

common: update dependencies and skip unused doctests

Diffstat:
MCargo.lock | 32++++++++++++++++----------------
Mlibeufin-bank/Cargo.toml | 3+++
Dlibeufin-common/src/test/kotlin/CliExitTest.kt | 55-------------------------------------------------------
Mlibeufin-ebics/Cargo.toml | 3+++
Mlibeufin-ebisync/Cargo.toml | 3+++
Mlibeufin-nexus/Cargo.toml | 3+++
Mtestbench/Cargo.toml | 3+++
7 files changed, 31 insertions(+), 71 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -393,9 +393,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877bf67ac8e52449eb2f9e98a344ea163beb70dd1f9eebe3cc5357dcfeaee4df" +checksum = "86e055fa6e3e40ad6187ba25b6855eeb635d5271f8e0f0e1e9a5826b8d75bea0" dependencies = [ "find-msvc-tools", "jobserver", @@ -723,9 +723,9 @@ dependencies = [ [[package]] name = "ctutils" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0" dependencies = [ "cmov", ] @@ -1365,7 +1365,7 @@ dependencies = [ [[package]] name = "http-client" version = "1.5.0" -source = "git+git://git.taler.net/taler-rust.git/#a0099119dc8c6cb95324f2b3b0283bd1ffc8fea5" +source = "git+git://git.taler.net/taler-rust.git/#910a017ab307ecb3c6bb222e8ea49d1ba3a6355a" dependencies = [ "futures-util", "http", @@ -3398,7 +3398,7 @@ dependencies = [ [[package]] name = "taler-api" version = "1.5.0" -source = "git+git://git.taler.net/taler-rust.git/#a0099119dc8c6cb95324f2b3b0283bd1ffc8fea5" +source = "git+git://git.taler.net/taler-rust.git/#910a017ab307ecb3c6bb222e8ea49d1ba3a6355a" dependencies = [ "aws-lc-rs", "axum", @@ -3428,12 +3428,12 @@ dependencies = [ [[package]] name = "taler-build" version = "1.5.0" -source = "git+git://git.taler.net/taler-rust.git/#a0099119dc8c6cb95324f2b3b0283bd1ffc8fea5" +source = "git+git://git.taler.net/taler-rust.git/#910a017ab307ecb3c6bb222e8ea49d1ba3a6355a" [[package]] name = "taler-common" version = "1.5.0" -source = "git+git://git.taler.net/taler-rust.git/#a0099119dc8c6cb95324f2b3b0283bd1ffc8fea5" +source = "git+git://git.taler.net/taler-rust.git/#910a017ab307ecb3c6bb222e8ea49d1ba3a6355a" dependencies = [ "anyhow", "aws-lc-rs", @@ -3465,7 +3465,7 @@ dependencies = [ [[package]] name = "taler-macros" version = "1.5.0" -source = "git+git://git.taler.net/taler-rust.git/#a0099119dc8c6cb95324f2b3b0283bd1ffc8fea5" +source = "git+git://git.taler.net/taler-rust.git/#910a017ab307ecb3c6bb222e8ea49d1ba3a6355a" dependencies = [ "proc-macro2", "quote", @@ -3475,7 +3475,7 @@ dependencies = [ [[package]] name = "taler-test-utils" version = "1.5.0" -source = "git+git://git.taler.net/taler-rust.git/#a0099119dc8c6cb95324f2b3b0283bd1ffc8fea5" +source = "git+git://git.taler.net/taler-rust.git/#910a017ab307ecb3c6bb222e8ea49d1ba3a6355a" dependencies = [ "aws-lc-rs", "axum", @@ -3969,9 +3969,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.28.0" +version = "1.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" +checksum = "4a0e2d11620c50695fe12bbbfde96b3477fe606e7284c22d505c12ce51214514" dependencies = [ "getrandom 0.4.3", "js-sys", @@ -4119,18 +4119,18 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb" +checksum = "e49d0e65abc00c142e8f9428da991da9f1a250c39be97459901eb12b9b49f62a" dependencies = [ "rustls-pki-types", ] [[package]] name = "webpki-roots" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" +checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171" dependencies = [ "rustls-pki-types", ] diff --git a/libeufin-bank/Cargo.toml b/libeufin-bank/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true repository.workspace = true rust-version.workspace = true +[lib] +doctest = false + [features] test-utils = [] diff --git a/libeufin-common/src/test/kotlin/CliExitTest.kt b/libeufin-common/src/test/kotlin/CliExitTest.kt @@ -1,55 +0,0 @@ -/* - * This file is part of LibEuFin. - * Copyright (C) 2026 Taler Systems S.A. - * - * LibEuFin is free software; you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation; either version 3, or - * (at your option) any later version. - * - * LibEuFin is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General - * Public License for more details. - * - * You should have received a copy of the GNU Affero General Public - * License along with LibEuFin; see the file COPYING. If not, see - * <http://www.gnu.org/licenses/> - */ - -import com.github.ajalt.clikt.core.ProgramResult -import com.github.ajalt.clikt.testing.test -import org.slf4j.LoggerFactory -import tech.libeufin.common.TalerCmd -import tech.libeufin.common.TalerConfigError -import java.net.ConnectException -import kotlin.test.Test -import kotlin.test.assertEquals - -class CliExitTest { - private fun status(failure: Throwable): Int { - val cmd = object : TalerCmd("exit-test") { - override fun run() = cliCmd(LoggerFactory.getLogger("exit-test")) { - throw failure - } - } - return cmd.test("").statusCode - } - - @Test - fun configurationFailureStopsService() { - assertEquals(6, status(TalerConfigError.generic("Missing service configuration"))) - } - - @Test - fun dependencyOutageCanRestart() { - assertEquals(1, status(ConnectException("Connection refused"))) - } - - @Test - fun explicitResultsSurvive() { - for (code in listOf(0, 1, 6, 9)) { - assertEquals(code, status(ProgramResult(code))) - } - } -} diff --git a/libeufin-ebics/Cargo.toml b/libeufin-ebics/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true repository.workspace = true rust-version.workspace = true +[lib] +doctest = false + [features] codegen = ["dep:calamine"] diff --git a/libeufin-ebisync/Cargo.toml b/libeufin-ebisync/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true repository.workspace = true rust-version.workspace = true +[lib] +doctest = false + [dependencies] libeufin-ebics.workspace = true tower-http.workspace = true diff --git a/libeufin-nexus/Cargo.toml b/libeufin-nexus/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true repository.workspace = true rust-version.workspace = true +[lib] +doctest = false + [dependencies] libeufin-ebics.workspace = true tokio.workspace = true diff --git a/testbench/Cargo.toml b/testbench/Cargo.toml @@ -7,6 +7,9 @@ authors.workspace = true homepage.workspace = true repository.workspace = true +[lib] +doctest = false + [dependencies] tokio.workspace = true tracing.workspace = true