GitShow/facebook/ocamlrep
facebook

ocamlrep

Sets of libraries and tools to write applications and libraries mixing OCaml and Rust. These libraries will help keeping your types and data structures synchronized, and enable seamless exchange between OCaml and Rust

by facebook
Star on GitHubFork

Rust

145 stars28 forks283 contributorsActive · 4h agoSince 2022MIT

Meet the team

See all 283 on GitHub →
chatura-atapattu
chatura-atapattu138 contributions
JakobDegen
JakobDegen134 contributions
stepancheg
stepancheg134 contributions
shayne-fletcher
shayne-fletcher112 contributions
andrewjcg
andrewjcg98 contributions
milend
milend86 contributions
blackm00n
blackm00n81 contributions
ndmitchell
ndmitchell75 contributions

Languages

View on GitHub →
Rust66.7%
Starlark23.9%
OCaml5.6%
C3%
Shell0.5%
Python0.3%

Commit activity

Last 12 weeks · 129 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 6 in progress · Last activity 4h ago
See all on GitHub →
podgorskiy
Update third-party Rust crate versionsOpenPR

Summary: Bump versions and add new Rust third-party crate dependencies needed by ripgrep. Version bumps: 1.0.98 → 1.0.100 1.0 → 1.0.4 0.4.27 → 0.4.28 2.7.5 → 2.7.6 1.0.140 → 1.0.145 New crate dependencies added to Cargo.toml: 1.4.2 0.8.6 0.9.18 0.8.21 1.4.2 0.1.5 0.6.1 (package: tikv-jemalloc-sys) 0.1.34 0.2.10 1.0.23 1.0.6 1.0.228 1.0.1+wasi-0.2.4 0.1.11 0.1.1 0.46.0 Note for OSS projects: if you are reading this from GitHub pull requests, then it does not mean all of these crates will be added or updates, but only some subset that is used in the project. Differential Revision: D93193734

podgorskiy · 6mo ago
ship-it-ship-it
update regex crate: 1.11.1 -> 1.12.2OpenPR

Summary: Primarily updating for https://docs.rs/regex/latest/regex/struct.Captures.html#method.get_match to avoid explicit in production code https://github.com/rust-lang/regex/blob/master/CHANGELOG.md Differential Revision: D87950658

ship-it-ship-it · 9mo ago

Recent fixes

View closed PRs →
rootkiller6788
Fix build failure when registering multiple zero-arg OCaml functionsMergedPR

Summary fails to build when two or more zero-argument functions are declared: The zero-argument rule of implemented its wrapper by recursing through the single-argument rule. That rule generates its function with , so the recursively generated helper -- always named -- was exported as a global symbol. With two zero-argument functions two symbols were defined and the build failed during codegen; even a single zero-argument function leaked an exported symbol. This change writes the zero-argument expansion out in full instead of recursing, matching how already handles the zero-argument case. No helper symbol is exported. Single-argument and multi-argument registered functions are unchanged. Test plan Verified against the real macro rules (expanded from in a standalone crate): the existing ocamlpool test invocation plus a second zero-argument function fails to build before this change and builds cleanly after; the symbol is no longer exported. The ocamlpool test now declares and calls a second zero-argument function (, registered from ) as regression coverage.

rootkiller6788 · 1d ago
zbowling
refresh 10 crates to latest compatible versionsMergedPR

Summary: X-link: https://github.com/facebook/buck2/pull/1335 X-link: https://github.com/meta-pytorch/monarch/pull/4193 Refreshes 10 third-party Rust crates to their latest semver-compatible versions. These are dependencies used by the hzdb/metavr CLI () that were behind in the shared lockfile; the bumps apply repo-wide since is shared. (additively vendors as a new transitive of ) All are patch/minor (semver-compatible) bumps requiring no first-party code changes. Mirrored the applicable bumps into the github shim manifest () for , , , , , , and . Regenerated with , which also refreshed 255 first-party manifests via autocargo. No first-party Rust source changes were needed. Differential Revision: D107740437

zbowling · 1mo ago
shayne-fletcher
use macos-14 runnerMergedPR

Differential Revision: D76433417

shayne-fletcher · 1y ago
Structured data for AI agents

Repository: facebook/ocamlrep. Description: Sets of libraries and tools to write applications and libraries mixing OCaml and Rust. These libraries will help keeping your types and data structures synchronized, and enable seamless exchange between OCaml and Rust Stars: 145, Forks: 28. Primary language: Rust. Languages: Rust (66.7%), Starlark (23.9%), OCaml (5.6%), C (3%), Shell (0.5%). License: MIT. Open PRs: 6, open issues: 0. Last activity: 4h ago. Community health: 75%. Top contributors: chatura-atapattu, JakobDegen, stepancheg, shayne-fletcher, andrewjcg, milend, blackm00n, ndmitchell, cjhopman, rmaz and others.

·@ofershap

Replace github.com with gitshow.dev