From 7748139d75560cfb3b00c99c9592c0f8f98945d7 Mon Sep 17 00:00:00 2001 From: swrup Date: Thu, 20 Nov 2025 23:14:16 +0100 Subject: [PATCH] rename to lib/ --- {src => lib}/amount.ml | 0 {src => lib}/amount.mli | 0 {src => lib}/b32.ml | 0 {include => lib}/dune | 12 +++++++++++- {include => lib}/parse_config.ml | 0 {include => lib}/taler_signatures.ml | 0 src/dune | 13 +------------ 7 files changed, 12 insertions(+), 13 deletions(-) rename {src => lib}/amount.ml (100%) rename {src => lib}/amount.mli (100%) rename {src => lib}/b32.ml (100%) rename {include => lib}/dune (54%) rename {include => lib}/parse_config.ml (100%) rename {include => lib}/taler_signatures.ml (100%) diff --git a/src/amount.ml b/lib/amount.ml similarity index 100% rename from src/amount.ml rename to lib/amount.ml diff --git a/src/amount.mli b/lib/amount.mli similarity index 100% rename from src/amount.mli rename to lib/amount.mli diff --git a/src/b32.ml b/lib/b32.ml similarity index 100% rename from src/b32.ml rename to lib/b32.ml diff --git a/include/dune b/lib/dune similarity index 54% rename from include/dune rename to lib/dune index 6873d83e..9860760b 100644 --- a/include/dune +++ b/lib/dune @@ -4,7 +4,17 @@ (modules taler_signatures) (libraries)) -(library ; todo: should I have a /lib? +(library (name parse_config) (modules parse_config) (libraries mirage-crypto-ec ptime fmt angstrom uri amount b32)) + +(library ; crockford base32 + (name b32) + (modules b32) + (libraries base32)) + +(library + (name amount) + (modules amount) + (libraries angstrom fmt zarith)) diff --git a/include/parse_config.ml b/lib/parse_config.ml similarity index 100% rename from include/parse_config.ml rename to lib/parse_config.ml diff --git a/include/taler_signatures.ml b/lib/taler_signatures.ml similarity index 100% rename from include/taler_signatures.ml rename to lib/taler_signatures.ml diff --git a/src/dune b/src/dune index db08080e..e5263d0d 100644 --- a/src/dune +++ b/src/dune @@ -7,11 +7,10 @@ (library (name mte) (wrapped false) - (modules :standard \ mte b32 amount) + (modules :standard \ mte) (libraries amount b32 - ; include parse_config ; @@ -31,16 +30,6 @@ cohttp ptime)) -(library ; crockford base32 - (name b32) - (modules b32) - (libraries base32)) - -(library - (name amount) - (modules amount) - (libraries angstrom fmt zarith)) - (rule (target assets_crunch.ml) (deps