Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
Created using spr 1.3.6-beta.1
  • Loading branch information
sunshowers committed Feb 15, 2024
2 parents d650b2b + d313f7f commit d0f5f74
Show file tree
Hide file tree
Showing 9 changed files with 318 additions and 26 deletions.
23 changes: 12 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static_assertions = "1.1.0"
# harder than expected to make breaking changes (even if you specify a specific
# SHA). Cut a new Steno release instead. See omicron#2117.
steno = "0.4.0"
strum = { version = "0.25", features = [ "derive" ] }
strum = { version = "0.26", features = [ "derive" ] }
subprocess = "0.2.9"
supports-color = "2.1.0"
swrite = "0.1.0"
Expand Down
10 changes: 7 additions & 3 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
disallowed-methods = [
# `ON CONFLICT ... WHERE ... DO UPDATE` does not work with CockroachDB --
# see https://github.com/oxidecomputer/omicron/issues/5047.
# `ON CONFLICT ... WHERE ... DO UPDATE` is easy to misuse.
#
# Instead, import diesel::query_dsl::methods::FilterDsl, then use
# If you mean a conditional upsert, import
# diesel::query_dsl::methods::FilterDsl, then use
# `do_update().set(...).filter(...)`. (This is not part of the
# documentation as of Diesel 2.1.4, but it works.)
#
# If you mean to specify a bound on a partial index, use the
# `IncompleteOnConflictExt::as_partial_index` in `nexus-db-queries`.
# See the documentation of that method for more.
"diesel::upsert::DecoratableTarget::filter_target",
]
Loading

0 comments on commit d0f5f74

Please sign in to comment.