lib.rs (488B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 use std::path::PathBuf; 6 7 pub struct Config; 8 9 pub struct Library { 10 pub include_paths: Vec<PathBuf>, 11 } 12 13 pub struct Error; 14 15 impl Config { 16 pub fn new() -> Config { 17 Config 18 } 19 20 pub fn probe(&mut self, _: &str) -> Result<Library, Error> { 21 Err(Error) 22 } 23 }