2026-06-15 01:36:04 +03:00
|
|
|
[package]
|
|
|
|
|
name = "ocs_plugin_api"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
description = "Stable, dependency-free contract for Open CAD Studio add-on packages: plugin manifest, version handshake, and ribbon/CadModule types."
|
|
|
|
|
license = "GPL-3.0-only"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2026-06-17 11:31:05 +03:00
|
|
|
# Pulled in only by the `host` feature, which adds the `acadrust`-typed
|
|
|
|
|
# `HostApi` runtime surface. The default crate stays dependency-free so engine
|
|
|
|
|
# crates and external tooling can depend on the manifest/ribbon contract cheaply.
|
|
|
|
|
acadrust = { version = "0.3.4", optional = true }
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
# Enables the runtime host surface (`HostApi` trait). The OpenCADStudio binary
|
|
|
|
|
# turns this on; pure-data consumers leave it off.
|
|
|
|
|
host = ["dep:acadrust"]
|