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<()> {
5454}
5555```
5656
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+
5764## Safety
5865
5966These crates use ` #![forbid(unsafe_code)] ` to ensure everything is implemented in 100% safe Rust.
@@ -69,13 +76,6 @@ at your option.
6976
7077PostgreSQL is covered under [ The PostgreSQL License] ( https://opensource.org/licenses/postgresql ) .
7178
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-
7979## Contribution
8080
8181Unless 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 {
2727 }
2828 }
2929
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.
3232 fn register ( & mut self , supports_fn : SupportsFn , matcher_fn : MatcherFn ) {
3333 self . matchers . insert (
3434 0 ,
@@ -73,8 +73,8 @@ impl Default for MatchersRegistry {
7373 }
7474}
7575
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.
7878///
7979/// # Errors
8080/// * 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
134134environment variable. The repository must contain the releases with archives in same structure as
135135[ theseus-rs/postgresql_binaries] ( https://github.com/theseus-rs/postgresql-binaries ) .
136136
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+
137144## Safety
138145
139146This crate uses ` #![forbid(unsafe_code)] ` to ensure everything is implemented in 100% safe Rust.
@@ -147,11 +154,6 @@ Licensed under either of
147154
148155at your option.
149156
150- ## Notes
151-
152- Uses PostgreSQL binaries from [ theseus-rs/postgresql-binaries] ( https://github.com/theseus-rs/postgresql_binaries ) by
153- default.
154-
155157## Contribution
156158
157159Unless 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