Mark items as internal_api to make them public iff the internal-api feature is enabled.
Note this doesn’t work for inline module definitions (see internal_mod! macro in delta_kernel
crate - can’t export macro_rules! from proc macro crate).
Ref: https://github.com/rust-lang/rust/issues/54727
Derive a delta_kernel::schemas::ToSchema implementation for the annotated struct. The actual
field names in the schema (and therefore of the struct members) are all mandated by the Delta
spec, and so the user of this macro is responsible for ensuring that
e.g. Metadata::schema_string is the snake_case-ified version of schemaString from Delta’s
Change Metadata
action (this macro allows the use of standard rust snake_case, and will convert to the correct
delta schema camelCase version).