Crates.io | procfile |
lib.rs | procfile |
version | 0.2.1 |
source | src |
created_at | 2022-05-16 09:45:44.415686 |
updated_at | 2022-05-23 01:59:50.216178 |
description | Procfile parser for Rust |
homepage | |
repository | https://github.com/devtomio/procfile |
max_upload_size | |
id | 587578 |
size | 43,585 |
Procfile parser for Rust
Cargo.toml
[dependencies]
procfile = "0.2"
The code:
use procfile;
fn main() {
let procfile = "web: node hello-world.js --verbose";
let parsed = procfile::parse(procfile).expect("Failed parsing procfile");
let web = parsed.get("web").expect("Failed getting web process");
println!("{}", web);
}
Thanks goes to these wonderful people (emoji key):
Tomio 💻 📖 💡 🚇 🚧 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Licensed under either of
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.