ConsentOS — a privacy-first cookie consent management platform. Self-hosted, source-available alternative to OneTrust, Cookiebot, and CookieYes. Full standards coverage (IAB TCF v2.2, GPP v1, Google Consent Mode v2, GPC, Shopify Customer Privacy API), multi-tenant architecture with role-based access, configuration cascade (system → org → group → site → region), dark-pattern detection in the scanner, and a tamper-evident consent record audit trail. This is the initial public release. Prior development history is retained internally. See README.md for the feature list, architecture overview, and quick-start instructions. Licensed under the Elastic Licence 2.0 — self-host freely; do not resell as a managed service.
39 lines
975 B
Swift
39 lines
975 B
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "ConsentOS",
|
|
platforms: [
|
|
.iOS(.v15),
|
|
.macOS(.v12) // macOS target for running tests via `swift test`
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "ConsentOSCore",
|
|
targets: ["ConsentOSCore"]
|
|
),
|
|
.library(
|
|
name: "ConsentOSUI",
|
|
targets: ["ConsentOSUI"]
|
|
)
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "ConsentOSCore",
|
|
path: "Sources/ConsentOSCore"
|
|
),
|
|
.target(
|
|
name: "ConsentOSUI",
|
|
dependencies: ["ConsentOSCore"],
|
|
path: "Sources/ConsentOSUI"
|
|
),
|
|
.testTarget(
|
|
name: "ConsentOSCoreTests",
|
|
dependencies: ["ConsentOSCore"],
|
|
path: "Tests/ConsentOSCoreTests"
|
|
)
|
|
]
|
|
)
|