typically crusting on the eyes in the morning is associated with conjunctivitis (pink eye).
there are several forms of conjunctivitis - most common are viral, bacterial and allergic. bacterial and allergic usually have thick green discharge and the eye may be matted shut in the morning.
you should have this examined by your doctor tomorrow as bacterial conjunctivitis can ultimately affect your eye sight if untreated.
I have included a link about conjunctivitis below.