daml/compiler/daml-lf-proto
Moritz Kiefer dbbb05fe2e
Split daml-lf encode/decode Haskell libraries (#11906)
* Split daml-lf encode/decode Haskell libraries

I was working on limiting the supported input versions in damlc. This
requires the list of stable package ids so we can allow those to be
decoded even if they are older.

However that leads to a cyclical dependency:
To get the package ids of the stable packages, I need to encode
them. The version check is in the decoder. If those live in the same
package, I now end up with a cyclical dependency and
Bazel (understandably) gets very sad.

This PR splits decoding/encoding into two libraries with the
generation of stable packages only depending on encoding.

changelog_begin
changelog_end

* Fix dependants

changelog_begin
changelog_end
2021-11-29 12:49:02 +00:00
..
src/DA/Daml/LF Split daml-lf encode/decode Haskell libraries (#11906) 2021-11-29 12:49:02 +00:00
BUILD.bazel Split daml-lf encode/decode Haskell libraries (#11906) 2021-11-29 12:49:02 +00:00
daml-lf-proto.cabal DEL-8657 update version info for Haskell LF libraries (#10160) 2021-07-02 09:46:53 +10:00