diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b3844b..f71f6c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +- Expose `CargoNewConfig` and `HttpConfig`. + ## [0.1.31] - 2024-12-21 - Remove dependency on `home` to restore the MSRV on Windows. diff --git a/Cargo.toml b/Cargo.toml index 3ad2519..0e4a251 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,6 +64,7 @@ rust_2018_idioms = "warn" single_use_lifetimes = "warn" unexpected_cfgs = { level = "warn", check-cfg = [ ] } +unnameable_types = "warn" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "warn" [workspace.lints.clippy] diff --git a/src/lib.rs b/src/lib.rs index e815191..c8c5f0b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -80,9 +80,9 @@ mod walk; pub use crate::de::{Color, Frequency, RegistriesProtocol, VersionControlSoftware, When}; pub use crate::{ easy::{ - BuildConfig, Config, DocConfig, EnvConfigValue, Flags, FutureIncompatReportConfig, - NetConfig, PathAndArgs, RegistriesConfigValue, RegistryConfig, StringList, TargetConfig, - TermConfig, TermProgressConfig, + BuildConfig, CargoNewConfig, Config, DocConfig, EnvConfigValue, Flags, + FutureIncompatReportConfig, HttpConfig, NetConfig, PathAndArgs, RegistriesConfigValue, + RegistryConfig, StringList, TargetConfig, TermConfig, TermProgressConfig, }, error::Error, resolve::{CargoVersion, ResolveOptions, RustcVersion, TargetTriple, TargetTripleRef}, diff --git a/src/resolve.rs b/src/resolve.rs index 6391132..1768b70 100644 --- a/src/resolve.rs +++ b/src/resolve.rs @@ -144,6 +144,7 @@ impl ResolveOptions { } #[doc(hidden)] // Not public API. +#[allow(unknown_lints, unnameable_types)] // Not public API. unnameable_types is available on Rust 1.79+ #[derive(Debug, Clone)] #[must_use] pub struct ResolveContext {