[][src]Function tdb_cli::client_from_env

pub fn client_from_env() -> TectonicClient

Creates a new connection to TectonicDB, using configuration values from environment or defaults to localhost:9001 if none are set.

"TDB_HOSTNAME", "localhost"); "TDB_PORT", "9001");