You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the library_modegenerate_bindings calls cargo to retrieve metadata about the project for which bindings are being generated: e.g. generate_bindings starts with this line:
let cargo_metadata = MetadataCommand::new()
.exec()
.context("error running cargo metadata")?;
This means uniffi-rs does not work for projects that use a different build system, where cargo is not available and/or where the project is missing a Cargo.toml file.
It would be nice if uniffi-rs was generalized to not be reliant on cargo.
The text was updated successfully, but these errors were encountered:
Currently, the
library_mode
generate_bindings
callscargo
to retrieve metadata about the project for which bindings are being generated: e.g.generate_bindings
starts with this line:This means
uniffi-rs
does not work for projects that use a different build system, wherecargo
is not available and/or where the project is missing aCargo.toml
file.It would be nice if
uniffi-rs
was generalized to not be reliant oncargo
.The text was updated successfully, but these errors were encountered: