This repository has been archived by the owner on Sep 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Optimize 'serokell-util' dependencies #34
Comments
DanielRrr
pushed a commit
that referenced
this issue
Feb 21, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 21, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 21, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 23, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 23, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 23, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
…ded deps in ../../../serokell-util.cabal #34
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
…ed deps in serokell-util.cabal #34
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
…ed deps in serokell-util.cabal #34
chshersh
pushed a commit
that referenced
this issue
Feb 26, 2018
* erased redundant dependencies from serokell-util.cabal #34 * deleted ../Util/Base.hs and monad-control #34 * erased some rubbish from OptParse.hs #34 * erased fromStr from src/Serokell/Util/OptParse.hs and erased not-needed deps in serokell-util.cabal #34 * resolve conflict #34 * updated CHANGES.md #34
Okay, since most bardaq and svalka is polished, here I will describe more detailed way to cleanup dependencies:
|
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 26, 2018
DanielRrr
pushed a commit
that referenced
this issue
Feb 27, 2018
Looks like |
DanielRrr
pushed a commit
that referenced
this issue
Apr 17, 2018
chshersh
pushed a commit
that referenced
this issue
Apr 17, 2018
* erased yaml from serokell-util #34 remove optparse-appicative from dependecies and OptParse.hs #34 remove JsonByteStringDeprecated from src/Serokell/Util/Base64.hs #34 lens -> microlens #34 [SRK-91] reimplementations in src/Serokell/Util/Base16.hs and src/Serokell/Util/Base64.hs #34 * Remove aeson-options from dependencies * Prettify microlens dependencies and usage * Final dependency cleanup * Trying to fix Travis CI
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
serokell-util
has a lot of dependencies which make it not pleasant to use in most of the projects. What can be optimized:acid-state
&safecopy
: issue Move 'acid-state' utils into our own fork of 'acid-state' #23time-unts
: issue Move 'threadDelay' and 'time-units' utils into separate package #22formatting
&text-format
: issues Deprecate some useless functions in 'Serokell.Util.Text' #29, Switch from 'text-format' to 'Display' #40. Also described below.Looks like we need.ansi-terminal
: do we really need this module?parsec
: should move utility function intocardano-sl
.semigroups
:Semigroup
type class is inbase
now.QuickCheck
&quickcheck-instances
: it's better to use Hedgehog library nowadayscardano-sl
still usesQuickCheck
.yaml
: we haveaeson
, it should be sufficient. And I don't really understand why we needyaml
..We needlens
: better to replace it withmicrolens-*
family.lens
due to isomorphisms.Looks likelog-warper
: it's a shame thatserokell-util
depends onlog-warper
. It should be vice versa. This was done this way because we wantlog-warper
to be small andserokell-util
was too heavy... After dependencies are optimized, we can useserokell-util
inlog-warper
again.serokell-util
is not going to be smaller any time soon.monad-control
: is this function really used in many projects?MonadBaseControl
is anti-pattern in general. And I don't think it worth it to have this function inserokell-util
.extra
: we haveuniversum
, I think it should be enough.base16-bytestring
&base64-bytestring
: I guess those formatters can be moved directly intobase*-*
libraries or infmt
package.optparse-applicative
: looks to me that last version ofoptparse-applicative
contains everything we have inserokell-uti
. Also see below.For reference:
The text was updated successfully, but these errors were encountered: