diff --git a/diesel.toml b/diesel.toml index d5424ef..dde8559 100644 --- a/diesel.toml +++ b/diesel.toml @@ -1,6 +1,8 @@ # For documentation on how to configure this file, -# see diesel.rs/guides/configuring-diesel-cli +# see https://diesel.rs/guides/configuring-diesel-cli [print_schema] file = "src/schema.rs" #filter = { only_tables = [ "User", "UserRole" ] } +# includes the "#![allow(missing_docs)]" +patch_file = "src/missing_docs.patch" \ No newline at end of file diff --git a/src/missing_docs.patch b/src/missing_docs.patch new file mode 100644 index 0000000..326d3e9 --- /dev/null +++ b/src/missing_docs.patch @@ -0,0 +1,8 @@ +--- src/schema.rs.orig 2020-06-30 13:35:01.826955973 +0200 ++++ src/schema.rs 2020-06-30 13:35:26.640286611 +0200 +@@ -1,3 +1,5 @@ ++#![allow(missing_docs)] ++ + table! { + claims (id) { + id -> Integer,