That’s either a cheese grater or a Dr. Scholl’s shoe insert.
I’m pretty sure it’s hardtack from a Civil War encampment. Nothing else would have survived so well in an unprotected environment.