Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions ouroboros-network/ouroboros-network.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,27 @@ library
if flag(txsubmission-delay)
cpp-options: -DTXSUBMISSION_DELAY

library traces
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
library traces
library trace-dispatcher-instances

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't cardano-diffusion be a better home for these instances?

import: ghc-options
visibility: public
hs-source-dirs: traces
exposed-modules:
Ouroboros.Network.Traces
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Ouroboros.Network.Traces
Ouroboros.Network.Trace.TraceDispatcher

other-modules:
reexported-modules:
default-language: Haskell2010
other-extensions:
build-depends:
aeson,
base >=4.14 && <4.22,
ouroboros-network,
-- Needs: `instance ToJSON UseLedgerPeers`
ouroboros-network:orphan-instances,
text,
trace-dispatcher ^>= 2.10.0
if flag(asserts)
ghc-options: -fno-ignore-asserts

library orphan-instances
import: ghc-options
visibility: public
Expand Down
Loading