A Source library for Ara Programming Language 🗃
Add ara_source
to your Cargo.toml
, and you're good to go!
[dependencies]
ara_source = "0.2.0"
use ara_source::loader;
fn main() {
let root = format!(
"{}/examples/fixture/",
std::env::var("CARGO_MANIFEST_DIR").unwrap()
);
let result = loader::load_directories(root, vec!["src", "vendor/foo", "vendor/bar"])?;
println!("{:#?}", map);
}
see examples directory for more examples.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.