Skip to content

Commit

Permalink
[no ci]update readme (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Mar 26, 2023
1 parent b8b82a7 commit eff8948
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<p align="center">
<h1 align="center">yaLanTingLibs</h1>
<h6 align="center">A Collection of C++20 libraries, include struct_pack, struct_json, struct_pb, coro_rpc, coro_http and async_simple </h6>
<h6 align="center">A Collection of C++20 libraries, include struct_pack, struct_json, struct_pb, easylog, coro_rpc, coro_http and async_simple </h6>
</p>
<p align="center">
<img alt="license" src="https://img.shields.io/github/license/alibaba/async_simple?style=flat-square">
<img alt="language" src="https://img.shields.io/github/languages/top/alibaba/yalantinglibs?style=flat-square">
<img alt="last commit" src="https://img.shields.io/github/last-commit/alibaba/async_simple?style=flat-square">
</p>

yaLanTingLibs is a collection of C++20 libraries, now it contains struct_pack, struct_json, struct_pb, coro_rpc, coro_http and [async_simple](https://github.com/alibaba/async_simple), more and more cool libraries will be added into yaLanTingLibs(such as http.) in the future.
yaLanTingLibs is a collection of C++20 libraries, now it contains struct_pack, struct_json, struct_pb, easylog, coro_rpc, coro_http and [async_simple](https://github.com/alibaba/async_simple), more and more cool libraries will be added into yaLanTingLibs(such as http.) in the future.

The target of yaLanTingLibs: provide very easy and high performance C++20 libraries for C++ developers, it can help to quickly build high performance applications.

Expand Down Expand Up @@ -215,6 +215,13 @@ async_simple::coro::Lazy<void> download_files(coro_http_client &client) {
A C++ 20 coroutine library offering simple, light-weight and easy-to-use components to write asynchronous codes.
See [async_simple](https://github.com/alibaba/async_simple)
## compiler requirements
make sure you have such compilers:
- clang11 and libstdc++-8 above;
- or gcc10 and g++10 above;
- or msvc2019 above
## Quick Start
- clone repo
Expand All @@ -231,14 +238,13 @@ mkdir build && cd build
cmake ..
# You can use those option to skip build unit-test & benchmark & example:
# cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_BENCHMARK=OFF -DBUILD_UNIT_TESTS=OFF
make -j
make
make install
```

- run tests

```shell
cd tests
ctest .
```

Expand All @@ -250,7 +256,7 @@ ctest .
cd yalantinglibs/src/coro_rpc/examples/helloworld
mkdir build && cd build
cmake ..
make -j
make
# For more detail, see Cmakelist.txt in helloworld.
```

Expand Down

0 comments on commit eff8948

Please sign in to comment.