do not re-export stuff, unhide Format.formatter
All checks were successful
build / build (push) Successful in 59s

This commit is contained in:
zapashcanon 2025-01-28 17:18:19 +01:00
parent 2cb6b40909
commit ac56576828
Signed by: zapashcanon
GPG Key ID: 8981C3C62D1D28F1
4 changed files with 4 additions and 19 deletions

View File

@ -29,9 +29,5 @@
(depends
(ocaml
(>= 4.13))
bos
cmdliner
fmt
fpath
(ocamlformat :with-dev-setup)
(odoc :with-dev-setup)))

View File

@ -12,10 +12,6 @@ bug-reports: "https://git.zapashcanon.fr/zapashcanon/prelude/issues"
depends: [
"dune" {>= "3.0"}
"ocaml" {>= "4.13"}
"bos"
"cmdliner"
"fmt"
"fpath"
"ocamlformat" {with-dev-setup}
"odoc" {with-dev-setup}
"odoc" {with-doc}

View File

@ -3,7 +3,4 @@
(modules prelude)
(wrapped false)
(libraries
(re_export bos)
(re_export cmdliner)
(re_export fmt)
(re_export fpath)))
(re_export fmt)))

View File

@ -275,17 +275,13 @@ end
(* Use the fmt library instead. *)
module Printf = Empty
module Fmt = struct
type formatter = Format.formatter
include Fmt
(* USe the fmt library instead. *)
module Format = struct
type nonrec formatter = Format.formatter
end
module Format = Empty
(* Use Cmdliner instead. *)
module Arg = Empty
module Cmdliner = Cmdliner
(* Use unlabeled version instead. *)
module ArrayLabels = Empty