There is also the Crosstrek and there are talks to intensify the collaboration even further. The obvious difference in size is possibly going to cause some problems, and Daihatsu, another one of those collaborations is a guide to how that could play out.
Subaru has a ton of engine and 4WD knowledge that would benefit Toyota, the other way around, Toyota has economies of scale and hybrid knowledge that Subaru will likely never have so both come out ahead of a partnership like this and the signs are that they are drawing closer to each other. Toyota has steadily expanded their stake in Subaru which today stands at 20%, and Subaru is now officially a part of the Toyota group.
Subaru: depending on which model can have a lot of Toyota parts.