maxminddb-rust
maxminddb-rust copied to clipboard
Rust MaxMind DB Reader
this add a feature called: schema this optional feature add to each structure a : derive(JsonSchema). This comes from the schemars crate. A client using the maxminddb-rust crate is then...
`Reader::open_mmap` is unsound because it allows the caller to violate `MmapOptions::map` invariants
The `Reader::open_mmap` function is declared as a safe function that internally opens a file and calls `MmapOptions::new().map(&file)`. The docs for `MmapOptions` say: > All file-backed memory map constructors are marked...
I'm not sure how db works, but at first glance, `AddressNotFoundError` seems to relate to a request issue, while other variants to configuration. Or I'm wrong and it only reacts...