A template for kick starting a Rust project using rust-native-1c (complex) or native_api_1c (simple).
- Zip
-
rustup target add i686-pc-windows-gnu x86_64-pc-windows-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu
-
rustup target add i686-pc-windows-msvc x86_64-pc-windows-msvc x86_64-unknown-linux-gnu i686-unknown-linux-gnu
❓ Use cargo cross? (
true
/false)
❓ Use cargo insta? (
true
/false)
cargo generate --git https://github.com/Toveal/native_api_1c_template
cd my-project
cargo make pack
cargo make pack-release
cargo make test
out/
├── {{crate_name}}_x32.dll
├── {{crate_name}}_x64.dll
├── {{crate_name}}_x32.so
├── {{crate_name}}_x64.so
├── Manifest.xml
├── {{crate_name}}.zip