Stéphane Glondu pushed to branch upstream at Debian OCaml Maintainers / ocaml-base64
Commits:
-
18e5458f
by Stephane Glondu at 2025-09-23T08:59:31+02:00
6 changed files:
Changes:
| 1 | +### v3.5.2 (2025-09-19)
|
|
| 2 | + |
|
| 3 | +- Add `x-maintenance-intent` into the OPAM file (@hannesm, #54)
|
|
| 4 | +- Remove the support of OCaml 4.07 (@copy, #55)
|
|
| 5 | + |
|
| 1 | 6 | ### v3.5.1 (2023-01-24)
|
| 2 | 7 | |
| 3 | 8 | - Few fixes about benchmarks and tests (#51, @tbrk, @dinosaure)
|
| ... | ... | @@ -15,8 +15,8 @@ binary data in an ASCII string format by translating it into a radix-64 |
| 15 | 15 | representation. It is specified in RFC 4648.
|
| 16 | 16 | """
|
| 17 | 17 | depends: [
|
| 18 | - "ocaml" {>= "4.03.0"}
|
|
| 19 | - "dune" {>= "2.0"}
|
|
| 18 | + "ocaml" {>= "4.07.0"}
|
|
| 19 | + "dune" {>= "2.3"}
|
|
| 20 | 20 | "fmt" {with-test & >= "0.8.7"}
|
| 21 | 21 | "bos" {with-test}
|
| 22 | 22 | "rresult" {with-test}
|
| ... | ... | @@ -27,3 +27,4 @@ build: [ |
| 27 | 27 | ["dune" "build" "-p" name "-j" jobs]
|
| 28 | 28 | ["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
| 29 | 29 | ]
|
| 30 | +x-maintenance-intent: [ "(latest)" ] |
| ... | ... | @@ -32,7 +32,8 @@ let unsafe_get_uint8 t off = Char.code (String.unsafe_get t off) |
| 32 | 32 | |
| 33 | 33 | let unsafe_set_uint8 t off v = Bytes.unsafe_set t off (Char.chr v)
|
| 34 | 34 | |
| 35 | -let unsafe_set_uint16 = Unsafe.unsafe_set_uint16
|
|
| 35 | +external unsafe_set_uint16 : bytes -> int -> int -> unit = "%caml_bytes_set16u"
|
|
| 36 | + [@@noalloc]
|
|
| 36 | 37 | |
| 37 | 38 | external unsafe_get_uint16 : string -> int -> int = "%caml_string_get16u"
|
| 38 | 39 | [@@noalloc]
|
| 1 | 1 | (library
|
| 2 | 2 | (name base64)
|
| 3 | - (modules unsafe base64)
|
|
| 3 | + (modules base64)
|
|
| 4 | 4 | (public_name base64))
|
| 5 | 5 | |
| 6 | -(rule
|
|
| 7 | - (copy %{read:../config/which-unsafe-file} unsafe.ml))
|
|
| 8 | - |
|
| 9 | 6 | (library
|
| 10 | 7 | (name base64_rfc2045)
|
| 11 | 8 | (modules base64_rfc2045)
|
| 1 | -external unsafe_set_uint16 : bytes -> int -> int -> unit = "%caml_string_set16u"
|
|
| 2 | - [@@noalloc] |
| 1 | -external unsafe_set_uint16 : bytes -> int -> int -> unit = "%caml_bytes_set16u"
|
|
| 2 | - [@@noalloc] |