3 unstable releases

0.2.1 May 23, 2022
0.2.0 May 16, 2022
0.1.0 May 16, 2022

#1758 in Parser implementations

44 downloads per month

MIT/Apache

16KB
121 lines

procfile

Crate Version Documentation License Continuous Delivery Continuous Integration

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

  • rayon - Enables rayon support (enabled by default)
  • serde - Enables serde support

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

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–12MB
~103K SLoC