Andrej Mihajlov
a27dc674f1
Kit: move types from WireGuardKit to WireGuardKitTypes.
...
This prevents linking against wg-go when 3rd-party application needs to
use the WireGuardKit types from within the main bundle, therefore
prevents wg-go from spinning off Golang threads where not applicable.
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2022-03-11 14:21:40 +01:00
Andrej Mihajlov
820fa55380
SPM: update exclude rules
...
Fixes missing excluded file warning in Xcode. api-ios.go was renamed to api-apple.go.
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2021-06-16 15:23:11 +02:00
Andrej Mihajlov
9f9d1ffed8
WireGuardKit: Rename WireGuardKitSwift -> WireGuardKit
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:25 +01:00
Andrej Mihajlov
101a45b6f1
WireGuardKit: Add wireguard-go files to exclude list to eliminate SwiftPM warnings
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:25 +01:00
Andrej Mihajlov
fd527f73e6
WireGuardKit: Set publicHeadersPath = "." to flatten public headers structure
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:24 +01:00
Andrej Mihajlov
ec57408570
Move all source files to Sources/ and rename WireGuardKit targets
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:24 +01:00
Andrej Mihajlov
ddf8ade9c6
WireGuardKit: Add WireGuardKitCTarget with private C sources
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-02 11:08:08 +01:00
Andrej Mihajlov
57f66f16f8
WireGuardKit: Add swift package scaffolding
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-02 11:08:08 +01:00