The stars of Terminator: Dark Fate and Yesterday are going to Eleven.

HBO Max’s upcoming 10-episode miniseries adaptation of Emily St. John Mandel’s 2014 post-apocalyptic novel Station Eleven will star Mackenzie Davis and Himesh Patel, according to Deadline.

Mandel’s book was named one of the Best Books of 2014 by Kirkus. It focuses on the survivors of a viral pandemic, which include a traveling troupe of actors and musicians. Davis—who, like Mandel, is Canadian—will play Kirsten Raymonde, a Canadian member of the troupe; Patel will play Jeevan Chaudhary, a paparazzo-turned-paramedic who first meets Kirsten when she’s a child, at the start of the epidemic.

Maniac’s Patrick Somerville will executive-produce and write the series for the HBO streaming service, which will launch next year. He’s also the writer and showrunner of another upcoming HBO Max series based on Alissa Nutting’s 2017 comic thriller Made for Love.

Mandel’s upcoming novel The Glass Hotel, set to be published in the United States in March, was optioned by NBCUniversal International Studios in August, and is currently being developed as a TV series.

Davis is best known for her roles in the 2016 Black Mirror episode “San Junipero” and the AMC TV series Halt and Catch Fire; she’ll also star in the SF/action movie sequel Terminator: Dark Fate, which premieres Nov. 1. She had a minor role in the 2015 film adaptation of Andy Weir’s 2011 bestseller The Martian, and she’ll also appear in the upcoming horror film The Turning, which will be a modern-day adaptation of Henry James’ classic 1898 novella The Turn of the Screw. Patel recently starred in this summer’s comedy film Yesterday, and Station Eleven will be his first appearance in a book adaptation.

David Rapp is the senior Indie editor.