Attribute macros for api-parity-rs (port-side plugin).
Domain-agnostic: the path value can name a PySpark API, a REST
endpoint, a TypeScript type — anything api-parity can left-join on.
Two forms:
#[parity_impl(...)]on animplblock. Itspath(if any) acts as a prefix for relative child paths; ifpathANDstatusare both present, an entry is also registered for the impl itself, with the implementation set to the type name (e.g.SparkSession).#[parity(...)]on a method or freefn. Inside an#[parity_impl], a leading.inpath(e.g..builder) is replaced at compile time withparent_path + child(e.g.pyspark.sql.session.SparkSession.builder).
Recognized arguments:
path = "..."(required to emit an entry).status = Implemented | Partial | Unimplemented(required to emit an entry).since = "...",comment = "...",issue = 42(optional).status = Unimplementedrequires acomment— the whole point of a stub is that the comment explains why it's unimplemented.