ehsanul / rust-ws Goto Github PK
View Code? Open in Web Editor NEWRust Web Socket Library
License: MIT License
Rust Web Socket Library
License: MIT License
After cargo build I go to compile the example:
rustc echo-server.rs
echo-server.rs:4:1: 4:19 error: can't find crate for `http`
echo-server.rs:4 extern crate http;
error: aborting due to previous error
What should I do?
Perhaps I'm going something wrong, I build rust-ws fine but when I ran cargo test it failed.
Got this output https://gist.github.com/PudgePacket/63da3d3a1e98728ce8b9
using gcc v 4.9.1
Thanks! looking forward to using/contributing to your library.
Current head doesn't build. I haven't finished it yet, but looks like three things so far:
use std::ascii::AsciiExt rather than use std::ascii::StrAsciiExt;
extern crate debug; // not part of std anymore?
https://github.com/rust-lang/rust/wiki/Doc-detailed-release-notes
Compiling rust-ws v0.1.0 (file:///C:/Users/jpm/workspace/rust-ws)
src\ws\server.rs:38:41: 38:60 error: unknown format trait ?
src\ws\server.rs:38 debug!("About to bind to {:?}", config.bind_address);
^~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Could not compile rust-ws
.
Is this something you're open to? I'll can do the work on submitting a PR, if so.
Could also do some work to see about separating out and abstracting the web interaction layer to make this easier in the future.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.