Skip to content

Commit 7de20ce

Browse files
authored
readme: add known uses of c2rust transpile (#1327)
Let me know if I missed any others and I can add them.
2 parents a43f778 + cdbc97d commit 7de20ce

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,23 @@ The translator and refactoring tool support both macOS and Linux.
300300
Other features, such as cross checking the functionality
301301
between C and Rust code, are currently limited to Linux hosts.
302302
303+
## Uses of `c2rust transpile`
304+
305+
This is a list of all significant uses of `c2rust transpile` that we know of:
306+
307+
| Rust | C | By | Safety | Description |
308+
| - | -- | - | - | - |
309+
| [`rav1d`](https://github.com/memorysafety/rav1d/) | [`dav1d`](https://code.videolan.org/videolan/dav1d) | @memorysafety, @immunant | fully safe | AV1 decoder |
310+
| [`rexpat`](https://github.com/immunant/rexpat) | [`libexpat`](https://github.com/libexpat/libexpat) | @immunant | safety unfinished | streaming XML parser |
311+
| [`unsafe-libyaml`](https://github.com/dtolnay/unsafe-libyaml) | [`libyaml`](https://github.com/yaml/libyaml) | @dtolnay | minor cleanup, fully unsafe | YAML parser and writer used by [`serde_yaml`](https://github.com/dtolnay/serde-yaml)
312+
| [`libyaml-safer`](https://github.com/simonask/libyaml-safer) | [`libyaml`](https://github.com/yaml/libyaml) | @simonask | fully safe | safe fork of [`unsafe-libyaml`](https://github.com/dtolnay/unsafe-libyaml) |
313+
| [`libbzip2-rs`](https://github.com/trifectatechfoundation/libbzip2-rs) | [`bzip2`](https://gitlab.com/bzip2/bzip2) | @trifectatechfoundation | fully safe | file compression |
314+
| [`tsuki`](https://github.com/ultimaweapon/tsuki) | [`lua`](https://www.lua.org/source/5.4/) | @ultimaweapon | fully safe | Lua interpreter |
315+
| [`spiro.rlib`](https://github.com/MFEK/spiro.rlib) | [`spiro`](https://github.com/raphlinus/spiro) | @ctrlcctrlv | fully safe | spline interpolation |
316+
| [`sapp-kms`](https://crates.io/crates/sapp-kms) | [`sokol`](https://github.com/floooh/sokol) | @not-fl3 | cleaned up, still unsafe | application rendering library |
317+
318+
If any other project successfully uses `c2rust`, feel free to add your ported project here.
319+
303320
## Acknowledgements and Licensing
304321
305322
This material is available under the BSD-3 style license as found in the

0 commit comments

Comments
 (0)