Because Sodium hasn't released a NeoForge build for 1.21.9 or 1.21.10, testing couldn't be done, so Sodium isn't supported, but in theory it shouldn't crash.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }