Skip to content

Commit

Permalink
Remove all references to Yojson in the runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
andersfugmann committed Mar 21, 2024
1 parent c457110 commit 578c4c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ocaml_protoc_plugin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(public_name ocaml-protoc-plugin)
(synopsis "Serialization and deserialization of protobuf types")
(inline_tests)
(libraries yojson base64 ptime)
(libraries base64 ptime)
(preprocess (pps ppx_expect))
(instrumentation (backend bisect_ppx))
)
6 changes: 3 additions & 3 deletions src/ocaml_protoc_plugin/spec.ml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ module type Message = sig
val to_proto: t -> Writer.t
val to_proto': Writer.t -> t -> unit
val merge: t -> t -> t
val to_json: Json_options.t -> t -> Yojson.Basic.t
val from_json_exn: Yojson.Basic.t -> t
val from_json: Yojson.Basic.t -> t Result.t
val to_json: Json_options.t -> t -> Json.t
val from_json_exn: Json.t -> t
val from_json: Json.t -> t Result.t
end

module Make(T : T) = struct
Expand Down

0 comments on commit 578c4c9

Please sign in to comment.