[[lib]] is deprecated
this lifetime needs to be qualified now
switch from proc to unboxed closures
quiet warnings about non-snake-case types
need an explicit cast to &ToSql