Skip to content

Instantly share code, notes, and snippets.

@clonejo
Last active January 10, 2016 01:54
Show Gist options
  • Select an option

  • Save clonejo/589966041a58cc9b07de to your computer and use it in GitHub Desktop.

Select an option

Save clonejo/589966041a58cc9b07de to your computer and use it in GitHub Desktop.
┌─(~/code/clubstatusd)───────────────────────────────────────────────────────────────────(clonejo@clonejo-thinkpad)─
└──> ls target/debug/ -lh
total 12M
drwxr-xr-x 14 clonejo users 4.0K Jan 6 11:46 build
-rwxr-xr-x 1 clonejo users 12M Jan 10 02:44 clubstatusd
drwxr-xr-x 2 clonejo users 12K Jan 6 11:51 deps
drwxr-xr-x 2 clonejo users 4.0K Nov 12 19:33 examples
drwxr-xr-x 2 clonejo users 4.0K Nov 12 19:33 native
┌─(~/code/clubstatusd)───────────────────────────────────────────────────────────────────(clonejo@clonejo-thinkpad)─
└──> cargo build --release
Compiling language-tags v0.2.0
Compiling rustc-serialize v0.3.16
Compiling winapi-build v0.1.1
Compiling libc v0.1.12
Compiling winapi v0.2.5
Compiling bitflags v0.3.3
Compiling gcc v0.3.21
Compiling kernel32-sys v0.2.1
Compiling lazy_static v0.1.15
Compiling pkg-config v0.3.6
Compiling openssl-sys v0.7.4
Compiling libsqlite3-sys v0.2.0
Compiling advapi32-sys v0.1.2
Compiling libc v0.2.4
Compiling log v0.3.4
Compiling hpack v0.2.0
Compiling modifier v0.1.0
Compiling rand v0.3.12
Compiling matches v0.1.2
Compiling openssl-sys-extras v0.7.4
Compiling num v0.1.29
Compiling uuid v0.1.18
Compiling bitflags v0.1.1
Compiling conduit-mime-types v0.7.3
Compiling route-recognizer v0.1.11
Compiling url v0.5.2
Compiling serde v0.6.7
Compiling time v0.1.34
Compiling rusqlite v0.4.0
Compiling num_cpus v0.2.10
Compiling traitobject v0.0.1
Compiling unsafe-any v0.4.1
Compiling typemap v0.3.3
Compiling plugin v0.2.6
Compiling solicit v0.4.4
Compiling chrono v0.2.17
Compiling openssl v0.7.4
Compiling httparse v1.1.1
Compiling semver v0.1.20
Compiling cookie v0.2.2
Compiling rustc_version v0.1.4
Compiling unicase v1.1.1
Compiling mime v0.1.1
Compiling typeable v0.1.2
Compiling error v0.1.9
Compiling hyper v0.7.2
Compiling iron v0.2.6
Compiling router v0.1.0
Compiling clubstatusd v0.1.0 (file:///home/clonejo/code/clubstatusd)
src/api.rs:7:5: 7:26 warning: unused import, #[warn(unused_imports)] on by default
src/api.rs:7 use rustc_serialize::json;
^~~~~~~~~~~~~~~~~~~~~
src/api.rs:26:17: 26:20 warning: unused variable: `req`, #[warn(unused_variables)] on by default
src/api.rs:26 fn api_versions(req: &mut Request) -> IronResult<Response> {
^~~
src/api.rs:44:19: 44:22 warning: unused variable: `req`, #[warn(unused_variables)] on by default
src/api.rs:44 fn status_current(req: &mut Request, shared_con: Arc<Mutex<DbCon>>) -> IronResult<Response> {
^~~
src/api.rs:54:1: 58:2 warning: function is never used: `handler`, #[warn(dead_code)] on by default
src/api.rs:54 fn handler(req: &mut Request) -> IronResult<Response> {
src/api.rs:55 let ref query = req.extensions.get::<Router>()
src/api.rs:56 .unwrap().find("query").unwrap_or("/");
src/api.rs:57 Ok(Response::with((status::Ok, *query)))
src/api.rs:58 }
┌─(~/code/clubstatusd)───────────────────────────────────────────────────────────────────(clonejo@clonejo-thinkpad)─
└──> ls -lh target/release/
total 1.7M
drwxr-xr-x 9 clonejo users 4.0K Jan 10 02:46 build
-rwxr-xr-x 1 clonejo users 1.7M Jan 10 02:48 clubstatusd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment