pub fn generate_scaffold_with_warnings(
config: &ScaffoldConfig,
) -> Result<Scaffold, ExtensionError>Expand description
Generates the project files, and the warnings about the configuration.
§Errors
Returns ExtensionError if the extension name, license, version (which
must be semver, as it is also the Cargo package version),
description, maintainer, GitHub repository, git ref, excluded platforms or
target DuckDB version is invalid — including a hyphenated name, which
DuckDB could never load, a name DuckDB itself uses (see
validate_community_extension_name), a license that is not an SPDX
expression (one that is, but names an identifier outside
COMMON_SPDX_LICENSES, is a
warning), a version component Cargo cannot read, and an excluded platform
the community build does not build (a group such as wasm included).