![Latest Version] ![Docs] ![CI]
Ethereum [token list] standard created by Uniswap
Cargo.toml
:
toml
token-list = { version = "0.1.0", features = ["from-uri"] }
tokio = { version = "1", features = ["full"] }
main.rs
:
```rust use token_list::TokenList;
async fn main() -> Result<(), Box
assert_eq!(token_list.name, "CMC DeFi");
Ok(())
} ```
You don't need the tokio
dependency if you do not wish to enable the from_uri
method.