Add support for using TOML as configuration file format

Add basic support for trojan-grpc nodes.
Refactor codes.
This commit is contained in:
Tindy X
2021-09-20 17:02:13 +08:00
parent bc0a8dc925
commit 9797197c85
35 changed files with 2345 additions and 531 deletions

View File

@@ -38,6 +38,12 @@ install -d /usr/include/date/
install -m644 libcron/externals/date/include/date/* /usr/include/date/
cd ..
git clone https://github.com/ToruNiina/toml11 --depth=1
cd toml11
cmake .
make install -j4
cd ..
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
cmake -DCMAKE_BUILD_TYPE=Release .
make -j2