pkg: clean up deps
lib: remove unused deps