Carbonate-templated self-assembly of an alkylthiolate-bridged cadmium macrocycle.