A simple CLI application to parse connection strings.
bash $ connection-string-parser $DATABASE_URL --part scheme postgresql
This library is just a CLI wrapper around the excellent Url crate.