Expand description
§procfile
A rust library for parsing Procfile(s).
§Examples
let my_procfile = "web: cargo run";
let parsed = procfile::parse(my_procfile).expect("Failed parsing procfile");
let web_process = parsed.get("web").expect("Failed getting web process");
assert_eq!("cargo", web_process.command);
assert_eq!(vec!["run"], web_process.options);
Structs§
- Process
- Represents a single process.
Functions§
- parse
- Parses a Procfile string.