sapling/eden/scm/lib/hgcommits/Cargo.toml
Shayne Fletcher 38db03ad7f Implement a Rust FFI for embedding bytecode generation in C++
Summary:
Bytecode generation entry point `compile_ffi::compile_from_text_cpp_ffi(...)` and a driver to exercise it:  `hh_single_compile_cpp`.

What we get here is a C FFI for generating HHAS from source text. We can tweak the interface as we need to going forward but this will do for a first version and I think has roughly feature parity with the OCaml FFI:
- `compile_ffi.rs` defines the function;
- `compile_ffi.h` defines the C interface;
- `hh_single_compile_cpp.cpp` provides a C++ CLI that calls the function.

Reviewed By: shiqicao

Differential Revision: D25979967

fbshipit-source-id: 4b46f9af23c61150dda6c33f9fa14e2c455c54c2
2021-01-27 08:08:38 -08:00

25 lines
742 B
TOML

# @generated by autocargo from //eden/scm/lib/hgcommits:hgcommits
[package]
name = "hgcommits"
edition = "2018"
version = "0.1.0"
include = ["src/**/*.rs"]
[dependencies]
dag = { path = "../dag", features = ["for-tests", "indexedlog-backend"] }
edenapi = { path = "../edenapi" }
gitdag = { path = "../dag/gitdag" }
metalog = { path = "../metalog" }
minibytes = { path = "../minibytes" }
revlogindex = { path = "../revlogindex" }
streams = { path = "../streams" }
zstore = { path = "../zstore" }
anyhow = "1.0"
async-trait = "0.1.29"
futures = { version = "0.3.5", features = ["async-await", "compat"] }
parking_lot = "0.10.2"
serde = { version = "1.0", features = ["derive", "rc"] }
thiserror = "1.0"
tracing = "0.1"
tracing-futures = "0.2"