procfile

Crates.ioprocfile
lib.rsprocfile
version0.2.1
sourcesrc
created_at2022-05-16 09:45:44.415686
updated_at2022-05-23 01:59:50.216178
descriptionProcfile parser for Rust
homepage
repositoryhttps://github.com/devtomio/procfile
max_upload_size
id587578
size43,585
Tomio (devtomio)

documentation

https://docs.rs/procfile

README

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.

Commit count: 24

cargo fmt