Skip to content

Commit

Permalink
meta: bump min ocaml to 4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
leostera committed Aug 25, 2023
1 parent 81b040d commit 087acdd
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 18 deletions.
19 changes: 10 additions & 9 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
(synopsis "A serialization framework for OCaml")
(description "Serde is a serialization framework for OCaml that runs on the principle of maximum efficiency and user ergonomics while maintaining format flexibility. Internally Serde uses an intermediate language that can be cheaply mapped to and from different target formats like JSON, XML, or S-expressions, which makes Serde good for transcoding data as well.")
(depends
(ocaml (>= "4.12.0"))
(ocamlformat (>= "0.17.0"))
(ppx_inline_test (>= "0.16.0"))
(ocaml (>= "4.14.0"))
(ppx_inline_test (>= "v0.16.0"))
))

(package
(name serde_derive)
(synopsis "Derive-macros for the Serde serialization framework")
(description "These macros help derive serializers and deserializers for your existing types and provide all the functionality you expect to plug in different data-formats.")
(depends
(ocaml (>= "4.12.0"))
(ocaml (>= "4.14.0"))
(ppxlib (>= "0.28.0"))
(ppx_deriving (>= "5.2.1"))
(serde (= :version))
Expand All @@ -38,27 +37,29 @@
(name serde_sexpr)
(synopsis "S-expression format support for Serde")
(depends
(ocaml (>= "4.12.0"))
(ocaml (>= "4.14.0"))
(serde (= :version))
(serde_derive (= :version))
(sexplib (>= "0.16.0"))
(ppx_inline_test (>= "v0.16.0"))
(sexplib (>= "v0.16.0"))
))

(package
(name serde_json)
(synopsis "JSON format support for Serde")
(depends
(ocaml (>= "4.12.0"))
(ocaml (>= "4.14.0"))
(serde (= :version))
(serde_derive (= :version))
(ppx_inline_test (>= "v0.16.0"))
(yojson (>= "2.1.0"))
))

(package
(name serde_xml)
(synopsis "XML format support for Serde")
(depends
(ocaml (>= "4.12.0"))
(ocaml (>= "4.14.0"))
(serde (= :version))
(serde_derive (= :version))
(tyxml (>= "4.5.0"))
Expand All @@ -68,7 +69,7 @@
(name serde_debug)
(synopsis "A human-friendly format for Serde that helps you debug any data during development")
(depends
(ocaml (>= "4.12.0"))
(ocaml (>= "4.14.0"))
(serde (= :version))
(serde_derive (= :version))
))
5 changes: 2 additions & 3 deletions serde.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ homepage: "https://github.com/leostera/serde.ml"
bug-reports: "https://github.com/leostera/serde.ml/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.12.0"}
"ocamlformat" {>= "0.17.0"}
"ppx_inline_test" {>= "0.16.0"}
"ocaml" {>= "4.14.0"}
"ppx_inline_test" {>= "v0.16.0"}
"odoc" {with-doc}
]
build: [
Expand Down
2 changes: 1 addition & 1 deletion serde_debug.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage: "https://github.com/leostera/serde.ml"
bug-reports: "https://github.com/leostera/serde.ml/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.12.0"}
"ocaml" {>= "4.14.0"}
"serde" {= version}
"serde_derive" {= version}
"odoc" {with-doc}
Expand Down
2 changes: 1 addition & 1 deletion serde_derive.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage: "https://github.com/leostera/serde.ml"
bug-reports: "https://github.com/leostera/serde.ml/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.12.0"}
"ocaml" {>= "4.14.0"}
"ppxlib" {>= "0.28.0"}
"ppx_deriving" {>= "5.2.1"}
"serde" {= version}
Expand Down
3 changes: 2 additions & 1 deletion serde_json.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ homepage: "https://github.com/leostera/serde.ml"
bug-reports: "https://github.com/leostera/serde.ml/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.12.0"}
"ocaml" {>= "4.14.0"}
"serde" {= version}
"serde_derive" {= version}
"ppx_inline_test" {>= "v0.16.0"}
"yojson" {>= "2.1.0"}
"odoc" {with-doc}
]
Expand Down
5 changes: 3 additions & 2 deletions serde_sexpr.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ homepage: "https://github.com/leostera/serde.ml"
bug-reports: "https://github.com/leostera/serde.ml/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.12.0"}
"ocaml" {>= "4.14.0"}
"serde" {= version}
"serde_derive" {= version}
"sexplib" {>= "0.16.0"}
"ppx_inline_test" {>= "v0.16.0"}
"sexplib" {>= "v0.16.0"}
"odoc" {with-doc}
]
build: [
Expand Down
2 changes: 1 addition & 1 deletion serde_xml.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage: "https://github.com/leostera/serde.ml"
bug-reports: "https://github.com/leostera/serde.ml/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.12.0"}
"ocaml" {>= "4.14.0"}
"serde" {= version}
"serde_derive" {= version}
"tyxml" {>= "4.5.0"}
Expand Down

0 comments on commit 087acdd

Please sign in to comment.