thrift-compiler 0.1.0.1 → 0.2.0.0
raw patch · 3 files changed
+16/−6 lines, 3 filesdep ~fb-utildep ~text
Dependency ranges changed: fb-util, text
Files
- CHANGELOG.md +5/−0
- Thrift/Compiler/GenConst.hs +6/−1
- thrift-compiler.cabal +5/−5
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for thrift-compiler +## 0.2.0.0++* The folly dependency is now bundled in the Hackage package folly-clib,+ so that hsthrift and Glean can be built entirely by cabal.+ ## 0.1.0.1 * Builds with GHC 9.8.x
Thrift/Compiler/GenConst.hs view
@@ -20,7 +20,12 @@ import Thrift.Compiler.Types genConstImports :: HS Const -> Set.Set Import-genConstImports Const{..} = typeToImport constResolvedType+genConstImports Const{..} =+ Set.union baseImports (typeToImport constResolvedType)+ where+ baseImports = Set.fromList+ [ QImport "Data.Default" "Default"+ ] genConstDecl :: HS Const -> [HS.Decl ()] genConstDecl Const{..} =
thrift-compiler.cabal view
@@ -3,7 +3,7 @@ -- Copyright (c) Facebook, Inc. and its affiliates. name: thrift-compiler-version: 0.1.0.1+version: 0.2.0.0 synopsis: A compiler from the Thrift Interface Definition Language (IDL) to Haskell homepage: https://github.com/facebookincubator/hsthrift bug-reports: https://github.com/facebookincubator/hsthrift/issues@@ -14,8 +14,8 @@ copyright: (c) Facebook, All Rights Reserved category: Thrift build-type: Simple-extra-source-files: CHANGELOG.md,- test/fixtures/**/*.ast,+extra-doc-files: CHANGELOG.md+extra-source-files: test/fixtures/**/*.ast, test/fixtures/gen-hs2/**/*.hs, test/if/*.thrift, tests/if/*.thrift,@@ -97,7 +97,7 @@ aeson-pretty >= 0.8.10 && < 0.9, either >= 5.0.2 && < 5.1, extra >= 1.8 && < 1.9,- fb-util >= 0.1.0 && < 0.2,+ fb-util >= 0.1.0 && < 0.3, some >= 1.0.6 && < 1.1, text-show >= 3.10.5 && < 3.11, haskell-src-exts >=1.20.3 && <1.24,@@ -106,7 +106,7 @@ async ^>=2.2.1, filepath ^>=1.4.2, containers >=0.5.11 && <0.7,- text ^>=1.2.3.0,+ text >= 1.2.3.0 && < 2.2, transformers >= 0.5.6 && < 0.7, bytestring >=0.10.8.2 && <0.13, unordered-containers ^>=0.2.9.0,