What is the code coverage in Rust? #3902
Answered
by
satoshiotomakan
Rimantovas
asked this question in
Q&A
-
In a 2023 article you mentioned about migrating your existing C++ codebase to Rust. How much have you migrated so far? Is it best to use the C++ implementations or is Rust a viable solution? |
Beta Was this translation helpful? Give feedback.
Answered by
satoshiotomakan
Jun 20, 2024
Replies: 1 comment 2 replies
-
Hello @Rimantovas there is our current KPI in Rust:
Whenever u can we recommend the usage of Rust API, however even with 100% Rust, C++ Interface will still be available. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Rimantovas,
We do have plans to publish our crates to crates.io, but you can still use our Rust crates directly.
You only need to clone the whole https://github.com/trustwallet/wallet-core/ repository (no matter where to clone it).
Then you can import all required crates in Cargo.toml like this:
And then:
Please note that Rust crates have limited number of supported blockchains yet