added rust support (#50)

* added rust support

* move binding files to their respective directories

* updated README.md

* updated pypi ci package-dir

* add ruapu::rua() for rust
This commit is contained in:
Cocoa
2024-02-28 23:34:26 +08:00
committed by GitHub
parent 8d3ffb0e60
commit 550a9caa0f
13 changed files with 214 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
extern crate ruapu;
fn main() {
println!("supports neon: {}", ruapu::supports("neon").unwrap());
println!("supports avx2: {}", ruapu::supports("avx2").unwrap());
println!("rua: {:?}", ruapu::rua());
}