Rast: A Language for Resource-Aware Session Types (Logical Methods in Computer Science, 2022)