alamb commented on code in PR #9865:
URL: https://github.com/apache/arrow-datafusion/pull/9865#discussion_r1545339920
##########
dev/depcheck/src/main.rs:
##########
@@ -15,18 +15,38 @@
// specific language governing permissions and limitations
// under the License.
+extern crate cargo;
+
+use cargo::CargoResult;
/// Check for circular dependencies between DataFusion crates
use std::collections::{HashMap, HashSet};
use std::env;
use std::path::Path;
use cargo::util::config::Config;
-#[test]
-fn test_deps() -> Result<(), Box<dyn std::error::Error>> {
+
+/// Verifies that there are no circular dependencies between DataFusion crates
+/// (which prevents publishing on crates.io) by parsing the Cargo.toml files
and
+/// checking the dependency graph.
+///
+/// See https://github.com/apache/arrow-datafusion/issues/9278 for more details
+fn main() -> CargoResult<()> {
Review Comment:
note this check is not new, it just now runs in a separate binary
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]