Crates.io | ara_source |
lib.rs | ara_source |
version | 0.2.0 |
source | src |
created_at | 2022-12-28 12:35:41.691749 |
updated_at | 2023-01-01 13:06:04.884258 |
description | A Source library for Ara Programming Language 🗃 |
homepage | https://github.com/ara-lang/source |
repository | https://github.com/ara-lang/source |
max_upload_size | |
id | 746814 |
size | 27,497 |
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
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.