Coder Social home page Coder Social logo

rwebserve's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rwebserve's Issues

Can't compile by Rust 0.6

Hi i'm try to compile rwebserve by Rust 0.6 on Debian Wheezy

Error message

rustc --out-dir bin -L bin src/rwebserve.rc src/configuration.rs:106:16: 106:21 error: obsolete syntax: colon-separated impl syntax src/configuration.rs:106 pub impl Body : ToStr ^~~~~ note: write impl Trait for Typesrc/configuration.rs:107:0: 107:1 error: obsolete syntax: visibility-qualified trait implementation src/configuration.rs:107 { ^ note:puborprivis meaningless for trait implementations, because theimpl...for...form defines overloads for methods that already exist; remove thepuborprivsrc/configuration.rs:108:1: 108:5 error: obsolete syntax: pure function src/configuration.rs:108 pure fn to_str() -> ~str ^~~~ note: removepuresrc/configuration.rs:149:31: 149:32 error: obsolete syntax: fn sigil in postfix position src/configuration.rs:149 pub type ResponseHandler = fn~ (config: &Config, request: &Request, response: Response) -> Response; ^ note: Rather thanfn@, fn~, or fn&, write @fn, ~fn, and &fnrespectively src/configuration.rs:149:91: 149:99 error: obsolete syntax: bare function type src/configuration.rs:149 pub type ResponseHandler = fn~ (config: &Config, request: &Request, response: Response) -> Response; ^~~~~~~~ note: use&fnorextern fninstead src/configuration.rs:152:30: 152:31 error: obsolete syntax: fn sigil in postfix position src/configuration.rs:152 pub type IsTemplateFile = fn~ (config: &Config, path: &str) -> bool; ^ src/configuration.rs:152:63: 152:67 error: obsolete syntax: bare function type src/configuration.rs:152 pub type IsTemplateFile = fn~ (config: &Config, path: &str) -> bool; ^~~~ src/configuration.rs:155:26: 155:27 error: obsolete syntax: fn sigil in postfix position src/configuration.rs:155 pub type RsrcLoader = fn~ (path: &Path) -> result::Result<~[u8], ~str>; ^ src/configuration.rs:155:69: 155:70 error: obsolete syntax: bare function type src/configuration.rs:155 pub type RsrcLoader = fn~ (path: &Path) -> result::Result<~[u8], ~str>; ^ src/configuration.rs:158:26: 158:27 error: obsolete syntax: fn sigil in postfix position src/configuration.rs:158 pub type RsrcExists = fn~ (path: &Path) -> bool; ^ src/configuration.rs:158:43: 158:47 error: obsolete syntax: bare function type src/configuration.rs:158 pub type RsrcExists = fn~ (path: &Path) -> bool; ^~~~ src/connection.rs:26:34: 26:41 error: expected,but foundrequest src/connection.rs:26 either::Left(option::Some(move request)) => ^~~~~~~ make: *** [lib] Error 101

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.