Skip to content

Commit ecb4b73

Browse files
authored
Update README.md (#75)
1 parent f0af6e6 commit ecb4b73

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,6 @@ The following traits enable commonly-used SQLite features:
8080
> [!NOTE]
8181
> The `ENABLE_SESSION` trait also sets the `ENABLE_PREUPDATE_HOOK` trait.
8282
83-
### Using Traits
84-
85-
For example, to build using the SQLite recommended compile-time options except with default thread-safety and automatic library initialization, add the following dependency to your `Package.swift`:
86-
87-
```swift
88-
dependencies: [
89-
.package(
90-
url: "https://github.com/sbooth/CSQLite",
91-
from: "3.50.0"
92-
traits: Set<Package.Dependency.Trait>([.defaults])
93-
.subtracting([
94-
"THREADSAFE_0",
95-
"OMIT_AUTOINIT",
96-
])
97-
)
98-
],
99-
```
100-
10183
## License
10284

10385
SQLite is in the [public domain](https://sqlite.org/copyright.html).

0 commit comments

Comments
 (0)