add rupi library dependency