@@ -103,10 +103,10 @@ impl<S: CompilerSettings> CompilerCache<S> {
103103 /// # Examples
104104 #[ cfg_attr( not( feature = "svm-solc" ) , doc = "```ignore" ) ]
105105 /// ```no_run
106- /// use foundry_compilers::{artifacts::Settings, cache::CompilerCache , Project};
106+ /// use foundry_compilers::{cache::CompilerCache, solc::SolcSettings , Project};
107107 ///
108108 /// let project = Project::builder().build(Default::default())?;
109- /// let mut cache = CompilerCache::<Settings >::read(project.cache_path())?;
109+ /// let mut cache = CompilerCache::<SolcSettings >::read(project.cache_path())?;
110110 /// cache.join_artifacts_files(project.artifacts_path());
111111 /// # Ok::<_, Box<dyn std::error::Error>>(())
112112 /// ```
@@ -129,10 +129,10 @@ impl<S: CompilerSettings> CompilerCache<S> {
129129 /// # Examples
130130 #[ cfg_attr( not( feature = "svm-solc" ) , doc = "```ignore" ) ]
131131 /// ```no_run
132- /// use foundry_compilers::{artifacts::Settings, cache::CompilerCache , Project};
132+ /// use foundry_compilers::{cache::CompilerCache, solc::SolcSettings , Project};
133133 ///
134134 /// let project = Project::builder().build(Default::default())?;
135- /// let cache: CompilerCache<Settings > = CompilerCache::read_joined(&project.paths)?;
135+ /// let cache: CompilerCache<SolcSettings > = CompilerCache::read_joined(&project.paths)?;
136136 /// # Ok::<_, Box<dyn std::error::Error>>(())
137137 /// ```
138138 pub fn read_joined < L > ( paths : & ProjectPathsConfig < L > ) -> Result < Self > {
@@ -210,13 +210,11 @@ impl<S: CompilerSettings> CompilerCache<S> {
210210 #[ cfg_attr( not( feature = "svm-solc" ) , doc = "```ignore" ) ]
211211 /// ```no_run
212212 /// use foundry_compilers::{
213- /// artifacts::{contract::CompactContract, Settings},
214- /// cache::CompilerCache,
215- /// Project,
213+ /// artifacts::contract::CompactContract, cache::CompilerCache, solc::SolcSettings, Project,
216214 /// };
217215 ///
218216 /// let project = Project::builder().build(Default::default())?;
219- /// let cache: CompilerCache<Settings > =
217+ /// let cache: CompilerCache<SolcSettings > =
220218 /// CompilerCache::read(project.cache_path())?.with_stripped_file_prefixes(project.root());
221219 /// let artifact: CompactContract = cache.read_artifact("src/Greeter.sol".as_ref(), "Greeter")?;
222220 /// # Ok::<_, Box<dyn std::error::Error>>(())
@@ -237,10 +235,10 @@ impl<S: CompilerSettings> CompilerCache<S> {
237235 /// # Examples
238236 #[ cfg_attr( not( feature = "svm-solc" ) , doc = "```ignore" ) ]
239237 /// ```no_run
240- /// use foundry_compilers::{artifacts::Settings, cache::CompilerCache , Project};
238+ /// use foundry_compilers::{cache::CompilerCache, solc::SolcSettings , Project};
241239 ///
242240 /// let project = Project::builder().build(Default::default())?;
243- /// let cache: CompilerCache<Settings > = CompilerCache::read_joined(&project.paths)?;
241+ /// let cache: CompilerCache<SolcSettings > = CompilerCache::read_joined(&project.paths)?;
244242 /// cache.find_artifact_path("/Users/git/myproject/src/Greeter.sol".as_ref(), "Greeter");
245243 /// # Ok::<_, Box<dyn std::error::Error>>(())
246244 /// ```
@@ -256,13 +254,11 @@ impl<S: CompilerSettings> CompilerCache<S> {
256254 #[ cfg_attr( not( feature = "svm-solc" ) , doc = "```ignore" ) ]
257255 /// ```no_run
258256 /// use foundry_compilers::{
259- /// artifacts::{contract::CompactContract, Settings},
260- /// cache::CompilerCache,
261- /// Project,
257+ /// artifacts::contract::CompactContract, cache::CompilerCache, solc::SolcSettings, Project,
262258 /// };
263259 ///
264260 /// let project = Project::builder().build(Default::default())?;
265- /// let cache = CompilerCache::<Settings >::read_joined(&project.paths)?;
261+ /// let cache = CompilerCache::<SolcSettings >::read_joined(&project.paths)?;
266262 /// let artifact: CompactContract =
267263 /// cache.read_artifact("/Users/git/myproject/src/Greeter.sol".as_ref(), "Greeter")?;
268264 /// # Ok::<_, Box<dyn std::error::Error>>(())
@@ -288,13 +284,12 @@ impl<S: CompilerSettings> CompilerCache<S> {
288284 #[ cfg_attr( not( feature = "svm-solc" ) , doc = "```ignore" ) ]
289285 /// ```no_run
290286 /// use foundry_compilers::{
291- /// artifacts::{contract::CompactContractBytecode, Settings},
292- /// cache::CompilerCache,
287+ /// artifacts::contract::CompactContractBytecode, cache::CompilerCache, solc::SolcSettings,
293288 /// Project,
294289 /// };
295290 ///
296291 /// let project = Project::builder().build(Default::default())?;
297- /// let cache: CompilerCache<Settings > = CompilerCache::read_joined(&project.paths)?;
292+ /// let cache: CompilerCache<SolcSettings > = CompilerCache::read_joined(&project.paths)?;
298293 /// let artifacts = cache.read_artifacts::<CompactContractBytecode>()?;
299294 /// # Ok::<_, Box<dyn std::error::Error>>(())
300295 /// ```
0 commit comments