chris-morgan / rust-http

Completely OBSOLETE Rust HTTP library (server and client)
Other
390 stars 110 forks source link

Build fails due to nonstandard attribute "license". #189

Closed John-Nagle closed 9 years ago

John-Nagle commented 9 years ago

cargo build Updating registry https://github.com/rust-lang/crates.io-index Downloading http v0.0.0-prealpha Compiling http v0.0.0-prealpha /home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/http-0.0.0-prealpha/src/lib.rs:1:1: 1:20 error: unused attribute, #[deny(unused_attributes)] on by default /home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/http-0.0.0-prealpha/src/lib.rs:1 #![license = "MIT"] ^~~~~~~ error: aborting due to previous error Could not compile http.


Apparently this is a fatal error as of the nightly version of rust from about 19 days ago.

chris-morgan commented 9 years ago

http on crates.io is nothing to do with this repository. On 25/12/2014 3:54 pm, "John Nagle" notifications@github.com wrote:

cargo build Updating registry https://github.com/rust-lang/crates.io-index Downloading http v0.0.0-prealpha Compiling http v0.0.0-prealpha

/home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/http-0.0.0-prealpha/src/lib.rs:1:1: 1:20 error: unused attribute, #[deny(unused_attributes)] on by default

/home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/http-0.0.0-prealpha/src/ lib.rs:1 #![license = "MIT"] ^~~~~~~ error: aborting due to previous error Could not compile http.

— Reply to this email directly or view it on GitHub https://github.com/chris-morgan/rust-http/issues/189.

reem commented 9 years ago

@John-Nagle crates.io http is a placeholder for a future http library and doesn't have anything to do with this repo.