-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (27 loc) · 947 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
[package]
name = "wmjtyd-libstock-ffi"
description = "The official foreign function interface (FFI) of libstock"
version = "0.1.0-dev"
edition = "2021"
readme = "README.md"
license-file = "LICENSE"
[lib]
crate-type = [
"staticlib", # Ensure it gets compiled as a (static) C library
# "cdylib", # If you want a shared/dynamic C library (advanced)
"lib", # For downstream Rust dependents: `examples/`, `tests/` etc.
]
[dependencies]
anyhow = { version = "1.0.59" }
log = "0.4.17"
safer-ffi = { version = "0.1.0", git = "https://github.com/getditto/safer_ffi.git", features = [
"log",
], rev = "acbf214e9e0dff35f97b1c83d2face8dc629a6c4" }
strum = { version = "0.24.1", features = ["derive"] }
wmjtyd-libstock = { git = "https://github.com/wmjtyd/libstock", branch = "develop", version = "0.4.0-dev" }
[features]
default = ["headers"]
headers = ["safer-ffi/headers"]
[[bin]]
name = "gen-header"
required-features = ["headers"]