Konstantin A. Olkhovskiy

Results 72 issues of Konstantin A. Olkhovskiy

It seems that ocaml-build expects Rust sources to be in "src" dir. That might not always the case and Cargo.toml can have alternative location in `path` config of a library.

good first issue

Serde allows [1] to sensibly add derived to a struct from other crate by checking that local copy matches the upstream one. Probably makes sense to add similar feature to...

It looks like currently it's not possible to add `[@@noalloc]` annotation with `#[ocaml::sig(...)]`. Also I didn't find any mentions on if it's safe to use `[@@noalloc]` with `#[ocaml::func]`-decorated functions.

It seems that the book already includes examples using features from beta 1.0.0 release, while cargo installs 0.22.4 and the examples do not work. Do you have any tentative timelines...

It seems protobuf tooling assumes that certain files are available to the compiler without being explicitly present in include paths, like [google/protobuf/descriptor.proto](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). `ocaml-protoc` is quite relaxed in terms of Proto...

For the below protobuf snippet: ```proto syntax = "proto2"; message Null {} message A { optional bool ignored = 1072; oneof foo { Null foo_not_set = 99999; bool bar =...

bug

I'm thinking that some expect tests should help with maintaining the `ocaml-protoc` codebase with less effort. At the cost of additional dependency, say `ppx_yojson_conv`, we could instrument all of internal...

According to [1]: > [Oneof fields](https://protobuf.dev/programming-guides/proto2#oneof) are encoded the same as if the fields were not in a oneof. The rules that apply to oneofs are independent of how they...

I'm trying to build a flow with some validation of protobuf types for my Twirp generator (proprietary, uses custom binary to manipulate the `compilerlib` library of `ocaml-protoc`). The most optimal...

Would be great to be able to specify the name of the module for specific .proto file using some option instead of deriving it by the file name. In large...