xorlist (rust library test)
``` [/tmp/test_xorlist]$ tree ./ ./ ├── Cargo.lock ├── Cargo.toml └── src └── main.rs
markdown
[package]
name = "test_xorlist"
version = "0.1.0"
authors = ["bave <inoue.tomoya@gmail.com>"]
edition = "2018"
[dependencies]
xorlist = { git = "https://github.com/bave/xorlist.git" }
```rust extern crate xorlist;
use std::process::exit;
fn main() {
let mut xl = xorlist::XorList::new() as xorlist::XorList
shell
% cargo run
1
2
bye