Skip to content

Commit d513708

Browse files
authored
Add remote and local listener support (#83)
* Add remote and local listener support * Update PostgresNativeDriver.kt * Use Ktor instead implementing cancellation support with self-piping * Fix canceling * Add license * Make ScopedListenerSupport internal, we could make it public later if needed Co-authored-by: hfhbd <[email protected]>
1 parent fd217ab commit d513708

File tree

14 files changed

+908
-9
lines changed

14 files changed

+908
-9
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ sqldelight {
3232

3333
Apache 2
3434

35+
This library uses some socket native code from [ktor](https://github.com/ktorio/ktor), licensed under Apache 2.
36+
3537
## Contributing
3638

3739
You need libpq installed: https://formulae.brew.sh/formula/libpq#default

postgres-native-sqldelight-driver/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ kotlin {
3333
sourceSets {
3434
commonMain {
3535
dependencies {
36+
api("io.ktor:ktor-network:2.1.2")
37+
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
3638
api("app.cash.sqldelight:runtime:2.0.0-alpha04")
3739
api("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
3840
api("app.softwork:kotlinx-uuid-core:0.0.17")

0 commit comments

Comments
 (0)