A facile gaseous sulfur treatment strategy for Li-rich and Ni-rich cathode materials with high cycling and rate performance