pilota
pilota copied to clipboard
Make `pilota.rust_wrapper_arc` annotation wrapper Arc outside
Feature Request
Motivation
Can pilota.rust_wrapper_arc annotation support wrapper Arc like this:
struct B {
1: required list<string> a(pilota.rust_wrapper_arc="inner"),
2: required list<string> b(pilota.rust_wrapper_arc="outer"),
}
Generated:
pub struct B {
a: ::std::collections::Vec<::std::sync::Arc<::pilota::FastStr>>,
b: ::std::sync::Arc<::std::collections::Vec<::pilota::FastStr>>,
}