nim-chronos/README.md

43 lines
1.9 KiB
Markdown
Raw Normal View History

2019-02-06 16:43:27 +01:00
# Chronos - An Efficient library for asynchronous programming
2019-02-06 18:57:33 +02:00
[![Build Status (Travis)](https://img.shields.io/travis/status-im/nim-chronos/master.svg?label=Linux%20/%20macOS "Linux/macOS build status (Travis)")](https://travis-ci.org/status-im/nim-chronos)
[![Windows build status (Appveyor)](https://img.shields.io/appveyor/ci/nimbus/nim-asyncdispatch2/master.svg?label=Windows "Windows build status (Appveyor)")](https://ci.appveyor.com/project/nimbus/nim-asyncdispatch2)
2018-09-04 21:36:14 -06:00
[![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
2018-09-04 21:27:01 -06:00
![Stability: experimental](https://img.shields.io/badge/stability-experimental-orange.svg)
2018-05-22 01:15:34 +03:00
## Introduction
Chronos is an efficient library for asynchronous programming and an alternative to Nim's asyncdispatch.
2018-05-30 06:34:58 +03:00
## Documentation
You can find more documentation, notes and examples in [Wiki](https://github.com/status-im/nim-chronos/wiki).
2018-05-30 06:34:58 +03:00
2018-05-30 06:32:47 +03:00
## Installation
You can use Nim official package manager `nimble` to install `chronos`. The most recent version of the library can be installed via:
2018-05-29 02:35:15 +03:00
2018-05-30 06:32:47 +03:00
```
$ nimble install https://github.com/status-im/nim-chronos.git
2018-05-30 06:32:47 +03:00
```
2018-05-29 02:35:15 +03:00
2018-05-30 06:32:47 +03:00
## TODO
* Pipe/Subprocess Transports.
* Multithreading Stream/Datagram servers
* Future[T] cancelation
## Contributing
When submitting pull requests, please add test cases for any new features or fixes and make sure `nimble test` is still able to execute the entire test suite successfully.
2018-05-29 02:35:15 +03:00
2018-09-04 21:36:14 -06:00
## License
2018-09-05 12:45:22 -06:00
Licensed and distributed under either of
* MIT license: [LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT
2019-01-02 14:53:00 +01:00
or
* Apache License, Version 2.0, ([LICENSE-APACHEv2](LICENSE-APACHEv2) or http://www.apache.org/licenses/LICENSE-2.0)
2018-09-04 21:36:14 -06:00
2019-01-02 14:53:00 +01:00
at your option. This file may not be copied, modified, or distributed except according to those terms.