Remove some unused pub functions (#3872)

## Summary

I wrote a bad Python script to find these.
This commit is contained in:
Charlie Marsh 2024-05-28 11:58:13 -04:00 committed by GitHub
parent 1fc6a59707
commit cedd18e4c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 3 additions and 174 deletions

View file

@ -2,7 +2,6 @@
//! [installer][`uv_installer`] and [build][`uv_build`] through [`BuildDispatch`]
//! implementing [`BuildContext`].
use std::ffi::OsStr;
use std::ffi::OsString;
use std::path::Path;
@ -90,21 +89,6 @@ impl<'a> BuildDispatch<'a> {
self.options = options;
self
}
/// Set the environment variables to be used when building a source distribution.
#[must_use]
pub fn with_build_extra_env_vars<I, K, V>(mut self, sdist_build_env_variables: I) -> Self
where
I: IntoIterator<Item = (K, V)>,
K: AsRef<OsStr>,
V: AsRef<OsStr>,
{
self.build_extra_env_vars = sdist_build_env_variables
.into_iter()
.map(|(key, value)| (key.as_ref().to_owned(), value.as_ref().to_owned()))
.collect();
self
}
}
impl<'a> BuildContext for BuildDispatch<'a> {