@@ -537,6 +537,28 @@ library
537
537
hs-source-dirs : src
538
538
exposed-modules :
539
539
Database.LSMTree
540
+ Database.LSMTree.Simple
541
+
542
+ build-depends :
543
+ , base >= 4.16 && < 4.22
544
+ , blockio ^>= 0.1
545
+ , contra-tracer ^>= 0.1 || ^>= 0.2
546
+ , deepseq ^>= 1.4 || ^>= 1.5
547
+ , fs-api ^>= 0.4
548
+ , io-classes ^>= 1.6 || ^>= 1.7 || ^>= 1.8.0.1
549
+ , io-classes :strict-mvar
550
+ , lsm-tree :control
551
+ , lsm-tree :core
552
+ , primitive ^>= 0.9
553
+ , random ^>= 1.0 || ^>= 1.1 || ^>= 1.2 || ^>= 1.3
554
+ , text ^>= 2.1.1
555
+ , vector ^>= 0.13
556
+
557
+ library core
558
+ import : language, warnings, wno-x-partial
559
+ visibility : private
560
+ hs-source-dirs : src-core
561
+ exposed-modules :
540
562
Database.LSMTree.Internal.Arena
541
563
Database.LSMTree.Internal.Assertions
542
564
Database.LSMTree.Internal.BitMath
@@ -593,27 +615,25 @@ library
593
615
Database.LSMTree.Internal.WriteBufferBlobs
594
616
Database.LSMTree.Internal.WriteBufferReader
595
617
Database.LSMTree.Internal.WriteBufferWriter
596
- Database.LSMTree.Simple
597
618
598
619
build-depends :
599
620
, base >= 4.16 && < 4.22
600
621
, bitvec ^>= 1.1
601
622
, blockio ^>= 0.1
602
- , bloomfilter-blocked
623
+ , bloomfilter-blocked ^ >= 0.1
603
624
, bytestring ^>= 0.11.4.0 || ^>= 0.12.1.0
604
625
, cborg ^>= 0.2.10.0
605
626
, containers ^>= 0.6 || ^>= 0.7
606
627
, contra-tracer ^>= 0.1 || ^>= 0.2
607
628
, crc32c ^>= 0.2.1
608
629
, deepseq ^>= 1.4 || ^>= 1.5
609
- , filepath
630
+ , filepath ^ >= 1.5
610
631
, fs-api ^>= 0.4
611
632
, io-classes ^>= 1.6 || ^>= 1.7 || ^>= 1.8.0.1
612
633
, io-classes :strict-mvar
613
634
, lsm-tree :control
614
635
, lsm-tree :kmerge
615
636
, primitive ^>= 0.9
616
- , random ^>= 1.0 || ^>= 1.1 || ^>= 1.2 || ^>= 1.3
617
637
, serialise ^>= 0.2
618
638
, text ^>= 2.1.1
619
639
, utf8-string ^>= 1.0
@@ -656,6 +676,7 @@ library extras
656
676
, io-classes :strict-stm
657
677
, lsm-tree
658
678
, lsm-tree :control
679
+ , lsm-tree :core
659
680
, lsm-tree :kmerge
660
681
, lsm-tree :prototypes
661
682
, nonempty-containers
@@ -668,10 +689,10 @@ library extras
668
689
, wide-word
669
690
670
691
test-suite lsm-tree-test
671
- import : language, warnings, wno-x-partial
672
- type : exitcode-stdio-1.0
673
- hs-source-dirs : test
674
- main-is : Main.hs
692
+ import : language, warnings, wno-x-partial
693
+ type : exitcode-stdio-1.0
694
+ hs-source-dirs : test
695
+ main-is : Main.hs
675
696
other-modules :
676
697
Database.LSMTree.Class
677
698
Database.LSMTree.Class.Common
@@ -735,6 +756,7 @@ test-suite lsm-tree-test
735
756
Test.Util.RawPage
736
757
Test.Util.TypeFamilyWrappers
737
758
759
+ autogen-modules : Paths_lsm_tree
738
760
build-depends :
739
761
, ansi-terminal
740
762
, barbies
@@ -761,6 +783,7 @@ test-suite lsm-tree-test
761
783
, io-sim
762
784
, lsm-tree
763
785
, lsm-tree :control
786
+ , lsm-tree :core
764
787
, lsm-tree :extras
765
788
, lsm-tree :prototypes
766
789
, mtl
@@ -787,7 +810,7 @@ test-suite lsm-tree-test
787
810
, vector-algorithms
788
811
, wide-word
789
812
790
- ghc-options : -threaded
813
+ ghc-options : -threaded
791
814
792
815
benchmark lsm-tree-micro-bench
793
816
import : language, warnings, wno-x-partial
@@ -818,6 +841,7 @@ benchmark lsm-tree-micro-bench
818
841
, fs-api
819
842
, lsm-tree
820
843
, lsm-tree :control
844
+ , lsm-tree :core
821
845
, lsm-tree :extras
822
846
, QuickCheck
823
847
, random
@@ -834,7 +858,7 @@ benchmark lsm-tree-bench-bloomfilter
834
858
build-depends :
835
859
, base < 5
836
860
, bloomfilter-blocked
837
- , lsm-tree
861
+ , lsm-tree :core
838
862
, lsm-tree :extras
839
863
, random
840
864
, time
@@ -855,8 +879,8 @@ benchmark lsm-tree-bench-lookups
855
879
, deepseq
856
880
, fs-api
857
881
, io-classes
858
- , lsm-tree
859
882
, lsm-tree :control
883
+ , lsm-tree :core
860
884
, lsm-tree :extras
861
885
, primitive
862
886
, random
@@ -993,8 +1017,8 @@ library kmerge
993
1017
994
1018
build-depends :
995
1019
, base < 5
996
- , indexed-traversable
997
- , primitive
1020
+ , indexed-traversable ^ >= 0.1
1021
+ , primitive ^ >= 0.9
998
1022
999
1023
test-suite kmerge-test
1000
1024
import : language, warnings, wno-x-partial
@@ -1042,7 +1066,7 @@ test-suite map-range-test
1042
1066
, base >= 4.16 && < 4.22
1043
1067
, bytestring
1044
1068
, containers
1045
- , lsm-tree
1069
+ , lsm-tree :core
1046
1070
, QuickCheck
1047
1071
, tasty
1048
1072
, tasty-hunit
0 commit comments