Hmm seems like you might be able to implement the capabilities in rust. Man their docs really suck.
Discussion
They are couple of people cut them some slack, but yes you can implement whatever you want, but when something seems like a core logic you want to both reuse across platforms and more importantly test with ease, then you move it to the core.