An abstract database component for Feather CMS.
Use at your own risk.
To add a dependency on the package, declare it in your Package.swift:
.package(url: "https://github.com/feather-framework/feather-database", .upToNextMinor(from: "0.4.0")),and to your application target, add FeatherDatabase to your dependencies:
.product(name: "FeatherDatabase", package: "feather-database")Example Package.swift file with FeatherDatabase as a dependency:
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "my-application",
dependencies: [
.package(url: "https://github.com/feather-framework/feather-database", .upToNextMinor(from: "0.4.0")),
],
targets: [
.target(name: "MyApplication", dependencies: [
.product(name: "FeatherDatabase", package: "feather-database")
]),
.testTarget(name: "MyApplicationTests", dependencies: [
.target(name: "MyApplication"),
]),
]
)