Skip to content

Commit

Permalink
meta: update dune-project to fix opam-repo comments (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcello Seri <[email protected]>
  • Loading branch information
mseri authored Aug 22, 2023
1 parent 2f75465 commit 81b040d
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 30 deletions.
24 changes: 9 additions & 15 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
(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"))
(dune (>= "3.5"))
(ocamlformat (>= "0.17.0"))
(ppx_inline_test (>= "0.16.0"))
))
Expand All @@ -30,20 +29,18 @@
(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"))
(dune (>= "3.5"))
(ppxlib (>= "0.28.0"))
(ppx_deriving (>= "5.2.1"))
(serde (= "0.0.1"))
(serde (= :version))
))

(package
(name serde_sexpr)
(synopsis "S-expression format support for Serde")
(depends
(ocaml (>= "4.12.0"))
(dune (>= "3.5"))
(serde (= "0.0.1"))
(serde_derive (= "0.0.1"))
(serde (= :version))
(serde_derive (= :version))
(sexplib (>= "0.16.0"))
))

Expand All @@ -52,9 +49,8 @@
(synopsis "JSON format support for Serde")
(depends
(ocaml (>= "4.12.0"))
(dune (>= "3.5"))
(serde (= "0.0.1"))
(serde_derive (= "0.0.1"))
(serde (= :version))
(serde_derive (= :version))
(yojson (>= "2.1.0"))
))

Expand All @@ -63,9 +59,8 @@
(synopsis "XML format support for Serde")
(depends
(ocaml (>= "4.12.0"))
(dune (>= "3.5"))
(serde (= "0.0.1"))
(serde_derive (= "0.0.1"))
(serde (= :version))
(serde_derive (= :version))
(tyxml (>= "4.5.0"))
))

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

0 comments on commit 81b040d

Please sign in to comment.