3 unstable releases
0.2.1 | May 23, 2022 |
---|---|
0.2.0 | May 16, 2022 |
0.1.0 | May 16, 2022 |
#1919 in Parser implementations
16KB
121 lines
procfile
Procfile parser for Rust
Example Usage
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);
}
Cargo Features
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Tomio 💻 📖 💡 🚇 🚧 |
This project follows the all-contributors specification. Contributions of any kind welcome!
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Contribution
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.
Dependencies
~4–10MB
~105K SLoC