Tire clearance on 2019 Trek Crockett
Suggests that 19mm is the upper limit for 45mm tyres but should still work.

If you have any choice, 23mm wide rims would be better.  Depends if in the future you want larger than 45mm wide tyres, or smaller.