Closed anth0nyleung closed 1 year ago
got a fix for this. Simple oversight from #103.
Also note, I updated your example above so it compiles and executes with what I assume your intent was. I didn't change it to specifically exercise serialization, other than keeping the #[derive(Serialize, Deserialize)]
, which definitely engages the serde
compile-time machinery!
got a fix for this. Simple oversight from https://github.com/tcdi/plrust/pull/103.
correction: it’s much more complex than I first thought. I think @thomcc and I have a path forward tho.
Resolved in v1.2.0.
PL/Rust does not handle using features for a dependencies quite well currently.
For instance, I have made serde an allowed dependency with the feature
derive
But when i try to define a function with serde as dependency and enable the
derive
marco, it errors out because it expect the value of a dependency to be a string not a toml table