-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (30 loc) · 1.43 KB
/
Copy pathCargo.toml
File metadata and controls
35 lines (30 loc) · 1.43 KB
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
[package]
name = "echo-python-loadable-plugin"
version = "0.1.0"
edition = "2021"
publish = false
# Standalone workspace so this crate doesn't get pulled into the main
# workspace build (and so the cdylib doesn't pollute the main `target/`
# dir for unrelated work).
[workspace]
[lib]
crate-type = ["cdylib", "rlib"]
# Minimum-viable Python loadable plugin. Validates the
# `python_plugin_export!` macro shape end-to-end without depending on
# torch / transformers — embedded Python is a trivial echo node.
#
# The companion to `loadable-export-smoke` for the Python-plugin path
# (Task 4 in `openspec/changes/add-loadable-python-nodes/`).
[dependencies]
# The `python-plugin` feature pulls in include_dir, py-env-manager,
# dirs, sha2, hex. Default-feature plugin-sdk doesn't carry them.
remotemedia-plugin-sdk = { git = "https://github.com/RemoteMedia-SDK/remotemedia-plugin-sdk", rev = "1e2083be5330dc8ceca2b86d659100ebff3e3b4c", features = ["python-plugin"] }
# `abi_stable` must be a direct dep so the attribute macros expanded
# by `plugin_export!()` (`#[sabi_extern_fn]`, `#[export_root_module]`)
# can resolve `::abi_stable` at the crate root. Plugin code itself
# never names abi_stable types — that's all inside the SDK.
abi_stable = "0.11"
# Proc macros can't be re-exported through plugin-sdk, so the plugin
# author calls include_dir! directly. The SDK macro takes the resulting
# `&'static Dir<'static>` by reference.
include_dir = "0.7"