Skip to content

Commit

Permalink
[cpprestsdk] use platform expressions in default-features (#32998)
Browse files Browse the repository at this point in the history
* [cpprestsdk] use platform expressions in default-features

* [microsoft-signalr] use platform expressions in default-features

* [signalrclient] fix dependencies
  • Loading branch information
autoantwort authored Aug 7, 2023
1 parent fe1369a commit 6da00e1
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 41 deletions.
27 changes: 6 additions & 21 deletions ports/cpprestsdk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cpprestsdk",
"version": "2.10.18",
"port-version": 2,
"port-version": 3,
"description": [
"C++11 JSON, REST, and OAuth library",
"The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services."
Expand Down Expand Up @@ -55,7 +55,11 @@
}
],
"default-features": [
"default-features"
{
"name": "brotli",
"platform": "windows"
},
"compression"
],
"features": {
"brotli": {
Expand All @@ -77,25 +81,6 @@
"zlib"
]
},
"default-features": {
"description": "Features installed by default",
"dependencies": [
{
"name": "cpprestsdk",
"default-features": false,
"features": [
"compression"
]
},
{
"name": "cpprestsdk",
"features": [
"brotli"
],
"platform": "windows"
}
]
},
"websockets": {
"description": "Websockets support",
"dependencies": [
Expand Down
20 changes: 5 additions & 15 deletions ports/microsoft-signalr/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "microsoft-signalr",
"version": "0.1.0-alpha4",
"port-version": 6,
"port-version": 7,
"description": "C++ Client for ASP.NET Core SignalR.",
"homepage": "https://github.com/aspnet/SignalR-Client-Cpp",
"dependencies": [
Expand All @@ -16,7 +16,10 @@
}
],
"default-features": [
"default-features"
{
"name": "cpprestsdk",
"platform": "!uwp"
}
],
"features": {
"cpprestsdk": {
Expand All @@ -25,24 +28,11 @@
{
"name": "cpprestsdk",
"features": [
"default-features",
"websockets"
]
}
]
},
"default-features": {
"description": "Features installed by default",
"dependencies": [
{
"name": "microsoft-signalr",
"features": [
"cpprestsdk"
],
"platform": "!uwp"
}
]
},
"messagepack": {
"description": "Add support for the messagepack hub protocol, must enable in code still",
"dependencies": [
Expand Down
3 changes: 1 addition & 2 deletions ports/signalrclient/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "signalrclient",
"version": "1.0.0-beta1-9",
"port-version": 4,
"port-version": 5,
"description": "C++ client for SignalR.",
"homepage": "https://github.com/SignalR/SignalR-Client-Cpp",
"dependencies": [
{
"name": "cpprestsdk",
"features": [
"default-features",
"websockets"
]
},
Expand Down
6 changes: 3 additions & 3 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@
},
"cpprestsdk": {
"baseline": "2.10.18",
"port-version": 2
"port-version": 3
},
"cppslippi": {
"baseline": "1.0.3.14",
Expand Down Expand Up @@ -5326,7 +5326,7 @@
},
"microsoft-signalr": {
"baseline": "0.1.0-alpha4",
"port-version": 6
"port-version": 7
},
"mikktspace": {
"baseline": "2020-10-06",
Expand Down Expand Up @@ -7574,7 +7574,7 @@
},
"signalrclient": {
"baseline": "1.0.0-beta1-9",
"port-version": 4
"port-version": 5
},
"sigslot": {
"baseline": "1.0.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cpprestsdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "53f896a9d80f0fd51e2645ee7deccbc0c955859a",
"version": "2.10.18",
"port-version": 3
},
{
"git-tree": "e1fb46f5d043e3a354bfbc6f77df5df3b321f74b",
"version": "2.10.18",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/microsoft-signalr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "777629bd31d9a4885b696623304b030c29b552c4",
"version": "0.1.0-alpha4",
"port-version": 7
},
{
"git-tree": "9a366b0a8f7b8177b0c91de00d652dfac38ed927",
"version": "0.1.0-alpha4",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/signalrclient.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "28135a6a807825f1fdfbb1e086c10569d385482c",
"version": "1.0.0-beta1-9",
"port-version": 5
},
{
"git-tree": "c2981e91dbe37fc7ab10d1c071d4a47b1388eb3b",
"version": "1.0.0-beta1-9",
Expand Down

0 comments on commit 6da00e1

Please sign in to comment.