mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
11b1e901ad
Adds support for passing and returning structs as buffers to FFI. This does not implement fastapi support for structs. Needed for certain system APIs such as AppKit on macOS.
25 lines
604 B
TOML
25 lines
604 B
TOML
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_ffi"
|
|
version = "0.70.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
description = "Dynamic library ffi for deno"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
deno_core.workspace = true
|
|
dlopen.workspace = true
|
|
dynasmrt = "1.2.3"
|
|
libffi = "3.1.0"
|
|
serde.workspace = true
|
|
tokio.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { workspace = true, features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] }
|