-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (35 loc) · 983 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "ocaml-lwt-interop"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["staticlib", "cdylib", "rlib"]
path = "src/lib.rs"
[dependencies]
thiserror = "1.0.64"
# panic hook in ocaml-rs is considered harmful...
# see https://github.com/zshipko/ocaml-rs/issues/138
ocaml = {version = "1.1.0", features=["no-panic-hook"] }
static_assertions = "1.1.0"
async-executor = "1.13"
waker-fn = "1.2"
futures-lite = "2.3"
ocaml-gen = "0.1.5"
highway = "1.2.0"
tokio = { version="1.40.0", features=["rt","rt-multi-thread"] }
ocaml-rs-smartptr = { version = "0.1.0" }
ocaml-lwt-interop-macro = { path="macro", version = "0.1.0" }
[workspace]
members = [
".",
"macro",
"rust-staticlib",
"test-stubs",
"stubs-gen",
]
[patch.crates-io]
ocaml-rs-smartptr = { git = "https://github.com/Lupus/ocaml-rs-smartptr.git" }
ocaml-gen = { git = "https://github.com/Lupus/ocaml-gen.git" }
# See https://github.com/dtolnay/linkme/issues/61
[profile.dev]
lto = "thin"