Skip to content

Commit

Permalink
Change deps on OCaml version to avoid ocaml >= 5.0.0 and < 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrm committed Dec 4, 2024
1 parent 52db3ec commit db0c7a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(name saturn)
(synopsis "Collection of concurent-safe data structures for Multicore OCaml")
(depends
(ocaml (>= 4.14))
(ocaml (or (and (>= 4.14) (< 5.0.0)) (>= 5.2.0)))
(backoff (>= 0.1.1))
(multicore-magic (>= 2.3.0))
(alcotest (and (>= 1.7.0) :with-test))
Expand Down
2 changes: 1 addition & 1 deletion saturn.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ doc: "https://ocaml-multicore.github.io/saturn/"
bug-reports: "https://github.com/ocaml-multicore/saturn/issues"
depends: [
"dune" {>= "3.14"}
"ocaml" {>= "4.14"}
"ocaml" {>= "4.14" & < "5.0.0" | >= "5.2.0"}
"backoff" {>= "0.1.1"}
"multicore-magic" {>= "2.3.0"}
"alcotest" {>= "1.7.0" & with-test}
Expand Down
7 changes: 5 additions & 2 deletions src/saturn.mli
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Copyright (c) 2017, Nicolas ASSOUAD <[email protected]>
########
*)

(** Lock-free data structures for Multicore OCaml *)
(** Concurrent-safe data structures for Multicore OCaml. *)

(** {1 Data structures} *)

Expand All @@ -41,7 +41,10 @@ module Single_prod_single_cons_queue = Spsc_queue
module Single_prod_single_cons_queue_unsafe = Spsc_queue_unsafe
module Single_consumer_queue = Mpsc_queue
module Skiplist = Skiplist
module Size = Size
module Htbl = Htbl
module Htbl_unsafe = Htbl_unsafe
module Bag = Bag

(** {1 Tools} *)

module Size = Size

0 comments on commit db0c7a0

Please sign in to comment.