Async Rust called from Python!

Опубликовано: 04 Ноябрь 2024
на канале: Duane Bester
124
3

In this tutorial we look at how we can take an Async Rust library (calls starwars api via OpenAPI generator) and use it in other languages (Python) via the UniFFI tool!

Github Repo: https://github.com/duanebester/rust-f...

00:00 Intro
00:43 New Rust Library
01:33 SWAPI and OpenAPI
04:31 Generate Rust Client with OpenAPI
08:00 Creating the Rust Library
10:00 Testing the Http Request
12:08 Adding UniFFI
18:57 Generate Python Bindings
23:46 Writing Test Python Script
25:36 Success! Call Async Rust from Python
26:57 Explanation of failing tests