File tree Expand file tree Collapse file tree 3 files changed +18
-16
lines changed
postgresql_archive/src/matcher Expand file tree Collapse file tree 3 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,13 @@ async fn main() -> Result<()> {
54
54
}
55
55
```
56
56
57
+ ## Notes
58
+
59
+ Supports using PostgreSQL binaries from:
60
+
61
+ * [ theseus-rs/postgresql-binaries] ( https://github.com/theseus-rs/postgresql-binaries ) (default)
62
+ * [ zonkyio/embedded-postgres-binaries] ( https://github.com/zonkyio/embedded-postgres-binaries )
63
+
57
64
## Safety
58
65
59
66
These crates use ` #![forbid(unsafe_code)] ` to ensure everything is implemented in 100% safe Rust.
@@ -69,13 +76,6 @@ at your option.
69
76
70
77
PostgreSQL is covered under [ The PostgreSQL License] ( https://opensource.org/licenses/postgresql ) .
71
78
72
- ## Notes
73
-
74
- Supports using PostgreSQL binaries from:
75
-
76
- * [ theseus-rs/postgresql-binaries] ( https://github.com/theseus-rs/postgresql-binaries ) (default)
77
- * [ zonkyio/embedded-postgres-binaries] ( https://github.com/zonkyio/embedded-postgres-binaries )
78
-
79
79
## Contribution
80
80
81
81
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ impl MatchersRegistry {
27
27
}
28
28
}
29
29
30
- /// Registers a matcher for a supports function. Newly registered matchers with the take
31
- /// precedence over existing ones.
30
+ /// Registers a matcher for a supports function. Newly registered matchers will take precedence
31
+ /// over existing ones.
32
32
fn register ( & mut self , supports_fn : SupportsFn , matcher_fn : MatcherFn ) {
33
33
self . matchers . insert (
34
34
0 ,
@@ -73,8 +73,8 @@ impl Default for MatchersRegistry {
73
73
}
74
74
}
75
75
76
- /// Registers a matcher for a supports function. Newly registered matchers with the take
77
- /// precedence over existing ones.
76
+ /// Registers a matcher for a supports function. Newly registered matchers will take precedence over
77
+ /// existing ones.
78
78
///
79
79
/// # Errors
80
80
/// * If the registry is poisoned.
Original file line number Diff line number Diff line change @@ -134,6 +134,13 @@ The PostgreSQL binaries can also be obtained from a different GitHub source by s
134
134
environment variable. The repository must contain the releases with archives in same structure as
135
135
[ theseus-rs/postgresql_binaries] ( https://github.com/theseus-rs/postgresql-binaries ) .
136
136
137
+ ## Notes
138
+
139
+ Supports using PostgreSQL binaries from:
140
+
141
+ * [ theseus-rs/postgresql-binaries] ( https://github.com/theseus-rs/postgresql-binaries ) (default)
142
+ * [ zonkyio/embedded-postgres-binaries] ( https://github.com/zonkyio/embedded-postgres-binaries )
143
+
137
144
## Safety
138
145
139
146
This crate uses ` #![forbid(unsafe_code)] ` to ensure everything is implemented in 100% safe Rust.
@@ -147,11 +154,6 @@ Licensed under either of
147
154
148
155
at your option.
149
156
150
- ## Notes
151
-
152
- Uses PostgreSQL binaries from [ theseus-rs/postgresql-binaries] ( https://github.com/theseus-rs/postgresql_binaries ) by
153
- default.
154
-
155
157
## Contribution
156
158
157
159
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as
You can’t perform that action at this time.
0 commit comments