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
New upstream version 3.5.2
- - - - -
6 changed files:
- CHANGES.md
- base64.opam
- src/base64.ml
- src/dune
- − src/unsafe_pre407.ml
- − src/unsafe_stable.ml
Changes:
=====================================
CHANGES.md
=====================================
@@ -1,3 +1,8 @@
+### v3.5.2 (2025-09-19)
+
+- Add `x-maintenance-intent` into the OPAM file (@hannesm, #54)
+- Remove the support of OCaml 4.07 (@copy, #55)
+
### v3.5.1 (2023-01-24)
- Few fixes about benchmarks and tests (#51, @tbrk, @dinosaure)
=====================================
base64.opam
=====================================
@@ -15,8 +15,8 @@ binary data in an ASCII string format by translating it into
a radix-64
representation. It is specified in RFC 4648.
"""
depends: [
- "ocaml" {>= "4.03.0"}
- "dune" {>= "2.0"}
+ "ocaml" {>= "4.07.0"}
+ "dune" {>= "2.3"}
"fmt" {with-test & >= "0.8.7"}
"bos" {with-test}
"rresult" {with-test}
@@ -27,3 +27,4 @@ build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
+x-maintenance-intent: [ "(latest)" ]
=====================================
src/base64.ml
=====================================
@@ -32,7 +32,8 @@ let unsafe_get_uint8 t off = Char.code (String.unsafe_get t
off)
let unsafe_set_uint8 t off v = Bytes.unsafe_set t off (Char.chr v)
-let unsafe_set_uint16 = Unsafe.unsafe_set_uint16
+external unsafe_set_uint16 : bytes -> int -> int -> unit = "%caml_bytes_set16u"
+ [@@noalloc]
external unsafe_get_uint16 : string -> int -> int = "%caml_string_get16u"
[@@noalloc]
=====================================
src/dune
=====================================
@@ -1,11 +1,8 @@
(library
(name base64)
- (modules unsafe base64)
+ (modules base64)
(public_name base64))
-(rule
- (copy %{read:../config/which-unsafe-file} unsafe.ml))
-
(library
(name base64_rfc2045)
(modules base64_rfc2045)
=====================================
src/unsafe_pre407.ml deleted
=====================================
@@ -1,2 +0,0 @@
-external unsafe_set_uint16 : bytes -> int -> int -> unit =
"%caml_string_set16u"
- [@@noalloc]
=====================================
src/unsafe_stable.ml deleted
=====================================
@@ -1,2 +0,0 @@
-external unsafe_set_uint16 : bytes -> int -> int -> unit = "%caml_bytes_set16u"
- [@@noalloc]
View it on GitLab:
https://salsa.debian.org/ocaml-team/ocaml-base64/-/commit/18e5458f3d3c4e6d9fde4a0c8c22c84acbd7ea98
--
View it on GitLab:
https://salsa.debian.org/ocaml-team/ocaml-base64/-/commit/18e5458f3d3c4e6d9fde4a0c8c22c84acbd7ea98
You're receiving this email because of your account on salsa.debian.org.