The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #49 from kit-ty-kate/patch-1

Remove indirect dependency on ocamlfind

authored by

Calascibetta Romain and committed by
GitHub
598c040d da644ab1

+26 -23
+1 -1
vendor/opam/base64/.ocamlformat
··· 1 - version = 0.14.1 1 + version = 0.16.0 2 2 break-infix = fit-or-vertical 3 3 parse-docstrings = true 4 4 indicate-multiline-delimiters=no
+3 -4
vendor/opam/base64/base64.opam
··· 15 15 representation. It is specified in RFC 4648. 16 16 """ 17 17 depends: [ 18 - "ocaml" {>="4.03.0"} 19 - "base-bytes" 18 + "ocaml" {>= "4.03.0"} 20 19 "dune" {>= "2.0"} 21 20 "bos" {with-test} 22 21 "rresult" {with-test} 23 22 "alcotest" {with-test} 24 23 ] 25 24 build: [ 26 - ["dune" "subst"] 25 + ["dune" "subst"] {dev} 27 26 ["dune" "build" "-p" name "-j" jobs] 28 - ["dune" "runtest" "-p" name] {with-test} 27 + ["dune" "runtest" "-p" name "-j" jobs] {with-test} 29 28 ]
+22 -18
vendor/opam/base64/src/base64_rfc2045.mli
··· 39 39 (** [decoder src] is a decoder that inputs from [src]. *) 40 40 41 41 val decode : decoder -> decode 42 - (** [decode d] is: {ul {- [`Await] if [d] has a [`Manual] input source and 43 - awaits for more input. The client must use {!src} to provide it.} {- [`End] 44 - if the end of input was reached} {- [`Malformed bytes] if the [bytes] 45 - sequence is malformed according to the decoded base64 encoding scheme. If 46 - you are interested in a best-effort decoding, you can still continue to 47 - decode after an error until the decode synchronizes again on valid bytes.} 48 - {- [`Flush data] if a [data] sequence value was decoded.} {- 49 - [`Wrong_padding] if decoder retrieve a wrong padding at the end of the 50 - input.}} 42 + (** [decode d] is: 51 43 52 - {b Note}. Repeated invocation always eventually returns [`End], even in 53 - case of errors. *) 44 + - [`Await] if [d] has a [`Manual] input source and awaits for more input. 45 + The client must use {!src} to provide it. 46 + - [`End] if the end of input was reached 47 + - [`Malformed bytes] if the [bytes] sequence is malformed according to the 48 + decoded base64 encoding scheme. If you are interested in a best-effort 49 + decoding, you can still continue to decode after an error until the decode 50 + synchronizes again on valid bytes. 51 + - [`Flush data] if a [data] sequence value was decoded. 52 + - [`Wrong_padding] if decoder retrieve a wrong padding at the end of the 53 + input. 54 + 55 + {b Note}. Repeated invocation always eventually returns [`End], even in case 56 + of errors. *) 54 57 55 58 val decoder_byte_count : decoder -> int 56 59 (** [decoder_byte_count d] is the number of characters already decoded on [d] ··· 79 82 (** [encoder dst] is an encoder for Base64 (RFC2045) that outputs to [dst]. *) 80 83 81 84 val encode : encoder -> encode -> [ `Ok | `Partial ] 82 - (** [encode e v]: is {ul {- [`Partial] iff [e] has a [`Manual] destination and 83 - needs more output storage. The client must use {!dst} to provide a new 84 - buffer and then call {!encode} with [`Await] until [`Ok] is returned.} {- 85 - [`Ok] when the encoder is ready to encode a new [`Char] or 86 - [`End]}} 85 + (** [encode e v]: is 86 + 87 + - [`Partial] iff [e] has a [`Manual] destination and needs more output 88 + storage. The client must use {!dst} to provide a new buffer and then call 89 + {!encode} with [`Await] until [`Ok] is returned. 90 + - [`Ok] when the encoder is ready to encode a new [`Char] or [`End] 87 91 88 92 For [`Manual] destination, encoding [`End] always return [`Partial], the 89 93 client should continue as usual with [`Await] until [`Ok] is returned at 90 94 which point {!dst_rem} [encoder] is guaranteed to be the size of the last 91 95 provided buffer (i.e. nothing was written). 92 96 93 - {b Raises.} [Invalid_argument] if a [`Char] or [`End] is 94 - encoded after a [`Partial] encode. *) 97 + {b Raises.} [Invalid_argument] if a [`Char] or [`End] is encoded after a 98 + [`Partial] encode. *) 95 99 96 100 val encoder_dst : encoder -> dst 97 101 (** [encoder_dst encoder] is [encoder]'s output destination. *)