diff --git a/demo/billing/src/main.rs b/demo/billing/src/main.rs index c828370bbb22..e9e4aa337bb3 100644 --- a/demo/billing/src/main.rs +++ b/demo/billing/src/main.rs @@ -16,7 +16,7 @@ //! Further details can be found on the Materialize docs: //! -#![deny(missing_debug_implementations, missing_docs)] +#![warn(missing_debug_implementations, missing_docs)] use std::process; use std::sync::Arc; diff --git a/src/aws-util/src/lib.rs b/src/aws-util/src/lib.rs index 15cd00835d7f..0063757b1f84 100644 --- a/src/aws-util/src/lib.rs +++ b/src/aws-util/src/lib.rs @@ -9,7 +9,7 @@ //! Internal AWS utility library for Materialize. -#![deny(missing_docs, missing_debug_implementations)] +#![warn(missing_docs, missing_debug_implementations)] pub mod aws; pub mod client; diff --git a/src/ccsr/src/lib.rs b/src/ccsr/src/lib.rs index a422250ccb38..550ad674da1c 100644 --- a/src/ccsr/src/lib.rs +++ b/src/ccsr/src/lib.rs @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. -#![deny(missing_debug_implementations)] +#![warn(missing_debug_implementations)] //! The `ccsr` crate provides an ergonomic API client for Confluent-compatible //! schema registries (CCSRs). diff --git a/src/coord/src/session.rs b/src/coord/src/session.rs index 86976a8a0df5..3ab3830b031e 100644 --- a/src/coord/src/session.rs +++ b/src/coord/src/session.rs @@ -9,7 +9,7 @@ //! Per-connection configuration parameters and state. -#![forbid(missing_docs)] +#![warn(missing_docs)] use std::collections::HashMap; use std::mem; diff --git a/src/dataflow/src/lib.rs b/src/dataflow/src/lib.rs index 803ed9839f21..17aef3df83ff 100644 --- a/src/dataflow/src/lib.rs +++ b/src/dataflow/src/lib.rs @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. -#![forbid(missing_docs)] +#![warn(missing_docs)] //! Driver for timely/differential dataflow. diff --git a/src/expr/src/lib.rs b/src/expr/src/lib.rs index 29b492ec558a..c8d7d5b9591e 100644 --- a/src/expr/src/lib.rs +++ b/src/expr/src/lib.rs @@ -9,7 +9,7 @@ //! Core expression language. -#![deny(missing_debug_implementations)] +#![warn(missing_debug_implementations)] use std::fmt; use std::ops::Deref; diff --git a/src/expr/src/relation/mod.rs b/src/expr/src/relation/mod.rs index 9d437e4a931b..4e627b3c98b1 100644 --- a/src/expr/src/relation/mod.rs +++ b/src/expr/src/relation/mod.rs @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. -#![deny(missing_docs)] +#![warn(missing_docs)] use std::cmp::Ordering; use std::collections::HashSet; diff --git a/src/http-proxy/src/lib.rs b/src/http-proxy/src/lib.rs index 54bae8aa38e6..a68f075aceec 100644 --- a/src/http-proxy/src/lib.rs +++ b/src/http-proxy/src/lib.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#![deny(missing_docs)] +#![warn(missing_docs)] #![cfg_attr(nightly_doc_features, feature(doc_cfg))] //! [](https://materialize.com) diff --git a/src/interchange/src/lib.rs b/src/interchange/src/lib.rs index 0b1544ea1648..312fbb1d4ac1 100644 --- a/src/interchange/src/lib.rs +++ b/src/interchange/src/lib.rs @@ -9,7 +9,7 @@ //! Translations for various data serialization formats. -#![deny(missing_debug_implementations)] +#![warn(missing_debug_implementations)] pub mod avro; pub mod encode; diff --git a/src/kafka-util/src/lib.rs b/src/kafka-util/src/lib.rs index f2a0a8aecee5..9d0c8edf3d47 100644 --- a/src/kafka-util/src/lib.rs +++ b/src/kafka-util/src/lib.rs @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. -#![deny(missing_docs)] +#![warn(missing_docs)] //! Utilities for working with Kafka. diff --git a/src/metabase/src/lib.rs b/src/metabase/src/lib.rs index 4fa1ac7acdfd..5e83a2c1e1e7 100644 --- a/src/metabase/src/lib.rs +++ b/src/metabase/src/lib.rs @@ -18,7 +18,7 @@ //! //! [Metabase]: https://metabase.com -#![deny(missing_debug_implementations)] +#![warn(missing_debug_implementations)] use std::fmt; use std::time::Duration; diff --git a/src/ore/src/lib.rs b/src/ore/src/lib.rs index b79e6c12b8e2..b47d93a6d7c2 100644 --- a/src/ore/src/lib.rs +++ b/src/ore/src/lib.rs @@ -19,7 +19,7 @@ //! Modules are included in this crate when they are broadly useful but too //! small to warrant their own crate. -#![deny(missing_docs, missing_debug_implementations)] +#![warn(missing_docs, missing_debug_implementations)] #[cfg(feature = "test")] pub mod assert; diff --git a/src/pgrepr/src/lib.rs b/src/pgrepr/src/lib.rs index ff595cb0dbfc..88dee89e2827 100644 --- a/src/pgrepr/src/lib.rs +++ b/src/pgrepr/src/lib.rs @@ -16,8 +16,8 @@ //! `Value`s are easily converted to and from [`repr::Datum`]s. See, for //! example, the [`values_from_row`] function. -#![deny(clippy::as_conversions)] -#![deny(missing_docs)] +#![warn(clippy::as_conversions)] +#![warn(missing_docs)] mod format; mod types; diff --git a/src/pgwire/src/lib.rs b/src/pgwire/src/lib.rs index a3b4554849c7..09d2ae2ba552 100644 --- a/src/pgwire/src/lib.rs +++ b/src/pgwire/src/lib.rs @@ -20,7 +20,7 @@ //! * [CockroachDB pgwire implementation](https://github.com/cockroachdb/cockroach/tree/master/pkg/sql/pgwire) //! * ["Postgres on the wire" PGCon talk](https://www.pgcon.org/2014/schedule/attachments/330_postgres-for-the-wire.pdf) -#![deny(clippy::as_conversions)] +#![warn(clippy::as_conversions)] mod codec; mod message; diff --git a/src/protoc/src/lib.rs b/src/protoc/src/lib.rs index 982e6b21813d..e6b7da1f442f 100644 --- a/src/protoc/src/lib.rs +++ b/src/protoc/src/lib.rs @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. -#![forbid(missing_docs)] +#![warn(missing_docs)] //! A pure Rust protobuf compiler. //! diff --git a/src/repr/src/lib.rs b/src/repr/src/lib.rs index 589a692f3caf..5e9c5a22d10c 100644 --- a/src/repr/src/lib.rs +++ b/src/repr/src/lib.rs @@ -20,7 +20,7 @@ //! * [`RelationDesc`] describes what it takes to extend a `Row` vertically, and //! corresponds most closely to what is returned from querying our dataflows -#![deny(missing_debug_implementations)] +#![warn(missing_debug_implementations)] mod relation; mod row; diff --git a/src/sql/src/catalog.rs b/src/sql/src/catalog.rs index 7e9ea1798718..ea033834f2b2 100644 --- a/src/sql/src/catalog.rs +++ b/src/sql/src/catalog.rs @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0. -#![forbid(missing_docs)] +#![warn(missing_docs)] //! Catalog abstraction layer. diff --git a/src/sql/src/lib.rs b/src/sql/src/lib.rs index 9f6bac97861d..1b544a6d464f 100644 --- a/src/sql/src/lib.rs +++ b/src/sql/src/lib.rs @@ -63,7 +63,7 @@ //! //! [`Plan`]: crate::plan::Plan -#![deny(missing_debug_implementations)] +#![warn(missing_debug_implementations)] macro_rules! unsupported { ($feature:expr) => { diff --git a/src/testdrive/src/lib.rs b/src/testdrive/src/lib.rs index 9e123676e7f0..93d98402d1a5 100644 --- a/src/testdrive/src/lib.rs +++ b/src/testdrive/src/lib.rs @@ -9,7 +9,7 @@ //! Integration test driver for Materialize. -#![deny(missing_docs)] +#![warn(missing_docs)] use std::fs::File; use std::io::{self, Read}; diff --git a/src/transform/src/lib.rs b/src/transform/src/lib.rs index 8820b9ba017b..4ea28aaaa0ef 100644 --- a/src/transform/src/lib.rs +++ b/src/transform/src/lib.rs @@ -18,8 +18,8 @@ //! The crate also contains the beginnings of whole-dataflow optimization, //! which uses the same analyses but spanning multiple dataflow elements. -#![forbid(missing_docs)] -#![deny(missing_debug_implementations)] +#![warn(missing_docs)] +#![warn(missing_debug_implementations)] use std::collections::HashMap; use std::error::Error; diff --git a/test/performance/perf-upsert/src/main.rs b/test/performance/perf-upsert/src/main.rs index 5f31d59cd3f1..d5ad806000d5 100644 --- a/test/performance/perf-upsert/src/main.rs +++ b/test/performance/perf-upsert/src/main.rs @@ -9,7 +9,7 @@ //! Performance test for Materialize Upsert sources -#![deny(missing_debug_implementations, missing_docs)] +#![warn(missing_debug_implementations, missing_docs)] use std::process; use std::sync::Arc; diff --git a/test/smith/src/main.rs b/test/smith/src/main.rs index d7cf3f6111e2..d0a346c26481 100644 --- a/test/smith/src/main.rs +++ b/test/smith/src/main.rs @@ -10,7 +10,7 @@ //! Fuzz test Materialize using the Smith fuzzer //! available at -#![deny(missing_debug_implementations, missing_docs)] +#![warn(missing_debug_implementations, missing_docs)] use std::process;