Skip to content

Commit

Permalink
Move HttpClient to unleash-client-haskell
Browse files Browse the repository at this point in the history
  • Loading branch information
evenbrenden committed Jan 26, 2023
1 parent 6c3c569 commit d060741
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 135 deletions.
9 changes: 2 additions & 7 deletions README.md
@@ -1,9 +1,8 @@
# unleash-client-haskell-core

This is the core functionality for an [Unleash](https://www.getunleash.io/) Haskell client. It currently meets all [client specifications per v4.2.2](https://github.com/Unleash/client-specification/releases/tag/v4.2.2) and exports:
This is the core functionality for an [Unleash](https://www.getunleash.io/) Haskell client. It currently meets all [client specifications per v4.2.2](https://github.com/Unleash/client-specification/releases/tag/v4.2.2).

- `Unleash`: Data structures and functions for getting features and variants.
- `Unleash.HttpClient`: HTTP client for interacting with an Unleash server.
The `Unleash` module provides data structures and functions for getting features and variants.

See [unleash-client-haskell](https://github.com/finn-no/unleash-client-haskell) for a ready-to-use client.

Expand Down Expand Up @@ -37,12 +36,8 @@ cabal test
- bytestring (BSD-3-Clause)
- containers (BSD-3-Clause)
- hspec (MIT)
- http-client (MIT)
- http-media (MIT)
- murmur3 (MIT)
- random (BSD-3-Clause)
- servant (BSD-3-Clause)
- servant-client (BSD-3-Clause)
- text (BSD-2-Clause)
- text-show (BSD-3-Clause)
- time (BSD-2-Clause)
Expand Down
94 changes: 0 additions & 94 deletions src/Unleash/HttpClient.hs

This file was deleted.

25 changes: 0 additions & 25 deletions test/UnleashHttpClientSpec.hs

This file was deleted.

9 changes: 0 additions & 9 deletions unleash-client-haskell-core.cabal
Expand Up @@ -36,22 +36,16 @@ library
import: all
exposed-modules:
Unleash
Unleash.HttpClient
Unleash.Internal.DomainTypes
Unleash.Internal.JsonTypes
Unleash.Internal.Predicates
other-modules:
Paths_unleash_client_haskell_core
hs-source-dirs: src
build-depends:
aeson,
containers,
http-media,
murmur3,
random,
versions,
servant,
servant-client,
text,
text-show,
time
Expand All @@ -64,7 +58,6 @@ test-suite unleash-client-haskell-core-test
hs-source-dirs: test
other-modules:
UnleashClientSpecificationRoundtripSpec
UnleashHttpClientSpec
UnleashSpecificationJsonTypes
UnleashSpecificationSpec
build-depends:
Expand All @@ -74,6 +67,4 @@ test-suite unleash-client-haskell-core-test
attoparsec,
bytestring,
hspec,
http-client,
servant-client,
text

0 comments on commit d060741

Please sign in to comment.