# This is an example .env file
# This file is also used by tests/load.rs

# Lines can take a few forms, the difference will be explained below
# KEY = val
# KEY == val
# $KEY = val
# $KEY == val

# -- A simple example --

REDIS_PORT=6379
REDIS_PASSWORD=pLj#CfCUz&^Zjdzgxny4

# -- Comments --

# Comment out items as you normally would
# UNUSED = missing
    # Comments may have leading whitespace

# ^ Blank lines are allowed too ^
#
# ^ So are blank comments ^

# -- Variable names --

# `=` is optional for empty values
# These three lines are equivalent
DEBUG
DEBUG=
DEBUG==

# Variable names may be a single character
A=abc123
# Including a single underscore
_=def456

# -- Variable behavior --

# If a variable is defined more than once, the LAST one will be used
OVERWRITE=old
OVERWRITE=new

# Variables that already exist in the environment are not replaced
# This line will (probably) have no effect
PATH=/bin
# Variables beginning with `$` will overwrite the current environment
$PS1=~>

# -- Whitespace --

# Whitespace between the variable name and `=` is ignored
ELEMENT = carbon

# Whitespace before a variable name is ignored
# Whitespace after a variable value is ignored (unless `==` is used)
  STOVE   =   hot

# Whitespace after `==` is NOT ignored
WHITESPACE ==  1  2  3  4  
# To assign a value that begins with `=`, use `===` or `= =`
# These two lines are equivalent
FORMULA = =A + B
FORMULA ===A + B

# Whitespace within a variable's value is always preserved
# This line stores "the quick brown fox" in 'WORDS'
WORDS = the quick brown fox
