# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "extism-pdk" version = "1.3.0" authors = [ "The Extism Authors", "oss@extism.org", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Extism Plug-in Development Kit (PDK) for Rust" homepage = "https://extism.org" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/extism/rust-pdk" [lib] name = "extism_pdk" path = "src/lib.rs" [[example]] name = "count_vowels" path = "examples/count_vowels.rs" [[example]] name = "host_function" path = "examples/host_function.rs" [[example]] name = "http" path = "examples/http.rs" [[example]] name = "http_headers" path = "examples/http_headers.rs" [[example]] name = "reflect" path = "examples/reflect.rs" [[example]] name = "sum" path = "examples/sum.rs" [dependencies.anyhow] version = "1" [dependencies.base64] version = "0.22.1" [dependencies.extism-convert] version = "1.2.0" features = ["extism-pdk-path"] [dependencies.extism-manifest] version = "1.2.0" optional = true [dependencies.extism-pdk-derive] version = "1.3.0" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [features] default = [ "http", "msgpack", ] http = ["extism-manifest"] msgpack = ["extism-convert/msgpack"] protobuf = ["extism-convert/protobuf"]