mirror of
https://github.com/extism/extism.git
synced 2026-04-23 03:00:11 -04:00
This includes three fixes: * link static library by absolute path (should fix static linking on Mac/ with `lld`) * link static library with `-framework Security` on Mac * link `libpthread` , this should be a no-op on systems with modern libc, but should fix static linking on systems with glibc pre 2.34 see https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread and error http://www.cpantesters.org/cpan/report/669fdfc8-25a4-11ef-9502-51fb6d8775ea --------- Co-authored-by: zach <zachshipko@gmail.com> Co-authored-by: zach <zach@dylibso.com>
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "extism"
|
|
description = "Extism runtime and Rust SDK"
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
|
|
[dependencies]
|
|
wasmtime = ">= 20.0.0, < 22.0.0"
|
|
wasmtime-wasi = ">= 20.0.0, < 22.0.0"
|
|
anyhow = "1"
|
|
serde = {version = "1", features = ["derive"]}
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
sha2 = "0.10"
|
|
tracing = "0.1"
|
|
tracing-subscriber = {version = "0.3.18", features = ["std", "env-filter", "fmt"]}
|
|
url = "2"
|
|
glob = "0.3"
|
|
ureq = {version = "2.5", optional=true}
|
|
extism-manifest = { workspace = true }
|
|
extism-convert = { workspace = true, features = ["extism-path"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
libc = "0.2"
|
|
|
|
[features]
|
|
default = ["http", "register-http", "register-filesystem"]
|
|
register-http = ["ureq"] # enables wasm to be downloaded using http
|
|
register-filesystem = [] # enables wasm to be loaded from disk
|
|
http = ["ureq"] # enables extism_http_request
|
|
|
|
[build-dependencies]
|
|
cbindgen = { version = "0.26", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.5.1"
|
|
quickcheck = "1"
|
|
rand = "0.8.5"
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|