[package]
name = "{{ crate_name }}-dart"
version = "{{ version }}"
edition = "2024"
license = "{{ license }}"

[package.metadata.cargo-machete]
# Umbrella + sibling crates are pulled in so flutter_rust_bridge can resolve
# every referenced type, but the generated Rust wrapper only `use`s a subset.
ignored = [{{ machete_ignored_list }}]

[lib]
crate-type = ["cdylib", "staticlib"]
{% if cfg_features_table %}
{{ cfg_features_table }}
{% endif %}
[dependencies]
{{ extra_deps }}{{ target_override_blocks }}
[lints.rust]
# flutter_rust_bridge uses #[cfg(frb_expand)] internally during macro expansion.
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] }
