Skip to content

Commit fa16caa

Browse files
authored
Merge pull request #305 from hannesm/no-stdcompat-require-4.13
Remove stdcompat dependency (fixes #304), require OCaml 4.13
2 parents 545ab35 + 9025b81 commit fa16caa

File tree

8 files changed

+5
-13
lines changed

8 files changed

+5
-13
lines changed

.github/workflows/workflow.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ jobs:
1717
- windows-latest
1818
ocaml-compiler:
1919
# Decision on version matrix informed by https://discuss.ocaml.org/t/which-ocaml-compiler-versions-should-we-run-against-in-ci/7933/2
20-
# But has gradually inched up due to signs of bitrot on earlier versions
21-
# such as https://github.com/thierry-martinez/stdcompat/issues/26
22-
- 4.08.0
20+
- 4.13.x
2321
- 4.14.x
2422
include:
2523
- ocaml-compiler: 5.0.x

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $ make test
5555
Dependencies
5656
------------
5757

58-
The minimum version of OCaml required is 4.08.
58+
The minimum version of OCaml required is 4.13.
5959

6060
Dependencies are tracked in the [dune-project](./dune-project) and can be
6161
installed by running:

dune-project

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ extension mechanism, and some other features. Note that the opam
2525
package installs both the OMD library and the command line tool `omd`.")
2626
(tags (org:ocamllabs org:mirage))
2727
(depends
28-
(ocaml (>= 4.08))
29-
stdcompat
28+
(ocaml (>= 4.13))
3029
uutf
3130
uucp
3231
uunf

omd.opam

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ homepage: "https://github.com/ocaml/omd"
2222
bug-reports: "https://github.com/ocaml/omd/issues"
2323
depends: [
2424
"dune" {>= "2.7"}
25-
"ocaml" {>= "4.08"}
26-
"stdcompat"
25+
"ocaml" {>= "4.13"}
2726
"uutf"
2827
"uucp"
2928
"uunf"

src/dune

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(library
22
(name omd)
33
(public_name omd)
4-
(libraries uutf uucp uunf stdcompat))
4+
(libraries uutf uucp uunf))
55

66
(rule
77
(with-stdout-to

src/parser.ml

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
open Ast.Impl
2-
open Stdcompat
32

43
type 'attr link_def =
54
{ label : string

src/strSlice.ml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open Stdcompat
2-
31
type t =
42
{ base : string
53
; off : int

src/toc.ml

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
open Ast.Util
2-
open Stdcompat
32

43
let rec remove_links inline =
54
match inline with

0 commit comments

Comments
 (0)