Conversation
|
@Johnosezele (and anyone else that wants to give feedback) does moving the Cargo config to a non hidden path and verifying it in the pub.dev package manifest seem like the right fix, or is there a better Dart packaging convention we should use? |
|
I think moving the file is the right approach. Dart excludes hidden folders like We could keep Only small suggestion: make the CI check verify the exact archived file if possible, rather than matching any file named |
Johnosezele
left a comment
There was a problem hiding this comment.
Only tradeoff I see is that direct Cargo builds from native/ will no longer discover the config automatically, so those builds must also pass --config.
Pub.dev omits the hidden native/.cargo directory, but the build hook passes its config.toml path to Cargo, causing published-package builds to fail.
This moves the config to native/cargo-config.toml, updates the build references, and adds CI coverage confirming the file is included in the publish archive.