network-bsd: POSIX network database (<netdb.h>) API
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
This package provides Haskell bindings to the the POSIX network database (<a href="netdb.h">netdb.h</a>) API.
Relationship to the network
package
The network
package version 2.* series provides Network.BSD but
it is removed starting with network
version 3.0.
This package provides the Network.BSD module split off from the network package.
If in addition to the network
's modules also Network.BSD is
necessary, add network-bsd
to your dependencies like so:
library build-depends: network >= 2.7 && < 3.1 , network-bsd >= 2.7 && < 2.9
I.e. you can control the version of the network
package
independently.
NOTE: Starting with network-bsd-2.8.1.0
the APIs of network
and network-bsd
evolve differently, and consequently the
versioning doesn't match up anymore! Moreover, also starting with
version network-bsd-2.8.1.0
this package requires network >= 3
in order to avoid module name clashes with network < 3
's
Network.BSD module.
However, network-bsd-2.7.0.0
and network-bsd-2.8.0.0
passes thru
the Network.BSD module from network-2.7.*
and network-2.8.*
respectively in a non-clashing way via Cabal's
reexported-modules
feature while ensuring a well-defined
API versioning of the observable API of
network-bsd
. This is why the example above supporting a wide range
of network
versions works by including version 2.7.0.0 in the
required version range of network-bsd
.
Properties
Versions | 2.7.0.0, 2.8.0.0, 2.8.1.0, 2.8.1.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.7 && <5), deepseq (>=1.3.0.0 && <1.5), network (>=3.0.0.0 && <3.0.1) [details] |
License | BSD-3-Clause |
Author | |
Maintainer | Kazu Yamamoto, Herbert Valerio Riedel |
Category | Network |
Home page | https://github.com/haskell/network-bsd |
Bug tracker | https://github.com/haskell/network-bsd/issues |
Source repo | head: git clone git://github.com/haskell/network-bsd.git |
Uploaded | by HerbertValerioRiedel at 2019-01-19T23:53:23Z |
Modules
[Index] [Quick Jump]
- Network
Downloads
- network-bsd-2.8.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees