We've been discussing this for a while, we can now remove lbf dependencies in plutus-ledger-api-rust repo, making the flake evaluation lighter (removing circular dependency). This also makes sense from an architectural standpoint too.
Drawbacks:
unable to separate lbr-prelude and lbr-plutus because of the Rust orphan rule, theJson trait and it's implementations must be in the same package
cannot use the derive macro for Json, so we had to manually implement Json instances (I pasted in and refactored the derived code)
We've been discussing this for a while, we can now remove lbf dependencies in plutus-ledger-api-rust repo, making the flake evaluation lighter (removing circular dependency). This also makes sense from an architectural standpoint too.
Drawbacks:
lbr-prelude
andlbr-plutus
because of the Rust orphan rule, theJson
trait and it's implementations must be in the same package