CF Services
This library is aimed at removing the boilerplate code and let developers just worry about using actually connecting to the services they have bounded to their app.
Retrieving VCAP_SERVICES
Simply use cf_services::get_services_from_env().
use get_services_from_env;
Retrieving Credentials of a Service
Call cf_services::get_service_credentials(..) by passing the VCAP_SERVICES marshalled JSON and the name of the
service to retrieve the credentials for. If VCAP_SERVICES is guaranteed to be an environment variable
use cf_services::get_service_cred_from_env(..)
instead.
use ;