-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from qchateau/v2
V2
- Loading branch information
Showing
224 changed files
with
13,573 additions
and
3,495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,36 @@ class PackioConan(ConanFile): | |
license = "MPL-2.0" | ||
author = "Quentin Chateau <[email protected]>" | ||
url = "https://github.com/qchateau/packio" | ||
description = "C++ implementation of msgpack-RPC" | ||
topics = ("rpc", "msgpack", "cpp17", "cpp20", "coroutine") | ||
description = "Asynchrnous msgpack-RPC and JSON-RPC server and client" | ||
topics = ( | ||
"rpc", | ||
"async", | ||
"msgpack", | ||
"json", | ||
"msgpack-rpc", | ||
"json-rpc", | ||
"cpp17", | ||
"cpp20", | ||
"coroutine", | ||
) | ||
exports_sources = "include/*" | ||
no_copy_source = True | ||
options = {"standalone_asio": [True, False]} | ||
default_options = {"standalone_asio": False} | ||
options = { | ||
"standalone_asio": [True, False], | ||
"msgpack": [True, False], | ||
"nlohmann_json": [True, False], | ||
} | ||
default_options = { | ||
"standalone_asio": False, | ||
"msgpack": True, | ||
"nlohmann_json": True, | ||
} | ||
|
||
def requirements(self): | ||
self.requires("msgpack/3.2.1") | ||
if self.options.msgpack: | ||
self.requires("msgpack/3.2.1") | ||
if self.options.nlohmann_json: | ||
self.requires("nlohmann_json/3.9.1") | ||
|
||
if self.options.standalone_asio: | ||
self.requires("asio/[>=1.13.0]") | ||
|
Oops, something went wrong.