Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Apr 2, 2023
1 parent f4b8e8d commit a2174ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/build_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use ignore::overrides::{Override, OverrideBuilder};
use indexmap::IndexMap;
use lddtree::Library;
use normpath::PathExt;
use pep508_rs::Requirement;
use platform_info::*;
use sha2::{Digest, Sha256};
use std::collections::{HashMap, HashSet};
Expand All @@ -29,7 +30,6 @@ use std::fmt::{Display, Formatter};
use std::io;
use std::path::{Path, PathBuf};
use std::str::FromStr;
use pep508_rs::Requirement;

/// The way the rust code is used in the wheel
#[derive(Clone, Debug, PartialEq, Eq)]
Expand Down Expand Up @@ -893,7 +893,8 @@ impl BuildContext {
if !self
.metadata21
.requires_dist
.iter().any(|requirement| requirement.name == "cffi")
.iter()
.any(|requirement| requirement.name == "cffi")
{
eprintln!(
"⚠️ Warning: missing cffi package dependency, please add it to pyproject.toml. \
Expand Down

0 comments on commit a2174ae

Please sign in to comment.