py-rs 0.1.1

generate python bindings from rust types
Documentation
1
2
3
4
5
6
7
use tokio::sync::{Mutex, OnceCell, RwLock};

use super::{impl_wrapper, TypeVisitor, PY};

impl_wrapper!(impl<T: PY> PY for Mutex<T>);
impl_wrapper!(impl<T: PY> PY for OnceCell<T>);
impl_wrapper!(impl<T: PY> PY for RwLock<T>);