this issue mentions the removal of the dependency to foundation: #299
idk how far this has gotten nor if it is still on the radar, but the dependency seems to still be there.
is it viable to include a first class query encoder. it seems every library that depends on ahc does include an encoder of some sorts.