For Nokogiri
Some adjustments for Rust