rust compatibility updates