cryptonote-account-0.1.0 is not a library.
Visit the last successful build:
cryptonote-account-0.1.4
Account Library For CryptoNote Based Crypto Currencies
Usage
let prefix = 0x3d;
let acc: Account = Account::new(prefix);
// Get Keys
let spendKey = acc.keys.spend;
let viewKey = acc.keys.view;
// Get Address
let address = acc.getAddress();