phyber / cyd Goto Github PK
View Code? Open in Web Editor NEWcyd: Convert Your Data
License: MIT License
cyd: Convert Your Data
License: MIT License
➜ cyd git:(master) cargo build --verbose
Fresh unicode-xid v0.1.0
Fresh libc v0.2.43
Fresh unicode-width v0.1.5
Fresh linked-hash-map v0.5.1
Fresh ansi_term v0.11.0
Fresh strsim v0.7.0
Fresh vec_map v0.8.1
Fresh bitflags v1.0.4
Fresh itoa v0.4.3
Fresh dtoa v0.4.3
Fresh atty v0.2.11
Fresh textwrap v0.10.0
Fresh yaml-rust v0.4.2
Fresh proc-macro2 v0.4.23
Fresh ryu v0.2.7
Fresh serde v1.0.80
Fresh clap v2.32.0
Fresh quote v0.6.10
Fresh serde_yaml v0.8.7
Fresh serde_json v1.0.33
Fresh toml v0.4.8
Fresh syn v0.15.20
Fresh serde_derive v1.0.80
Compiling cyd v0.1.0 (file:///home/jackthomas/repos/github.com/phyber/cyd)
Running `rustc --crate-name cyd src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=bc07b80299937d3b -C extra-filename=-bc07b80299937d3b --out-dir /home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps -C incremental=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/incremental -L dependency=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps --extern clap=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libclap-7d8bdf2b0622dddd.rlib --extern serde=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde-b89dab922eb94271.rlib --extern serde_derive=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde_derive-5b3ff71ba127f7d7.so --extern serde_json=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde_json-97e3b80e53f5340c.rlib --extern serde_yaml=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde_yaml-8ba37d953e0dbaf1.rlib --extern toml=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libtoml-3efad2a01ccca94f.rlib`
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:21:10
|
21 | JSON(serde_json::Value),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:22:10
|
22 | TOML(toml::Value),
| ^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:23:10
|
23 | YAML(serde_yaml::Value),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:81:22
|
81 | let de = serde_json::from_reader(stdin);
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:95:22
|
95 | let de = toml::from_str(&s);
| ^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:105:22
|
105 | let de = serde_yaml::from_reader(stdin);
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:127:39
|
127 | InputData::JSON(v) => serde_json::to_writer(stdout, &v),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:128:39
|
128 | InputData::TOML(v) => serde_json::to_writer(stdout, &v),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:129:39
|
129 | InputData::YAML(v) => serde_json::to_writer(stdout, &v),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:143:39
|
143 | InputData::JSON(v) => toml::to_string(&v),
| ^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:144:39
|
144 | InputData::TOML(v) => toml::to_string(&v),
| ^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:145:39
|
145 | InputData::YAML(v) => toml::to_string(&v),
| ^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:158:39
|
158 | InputData::JSON(v) => serde_yaml::to_writer(stdout, &v),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:159:39
|
159 | InputData::TOML(v) => serde_yaml::to_writer(stdout, &v),
| ^^^^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> src/main.rs:160:39
|
160 | InputData::YAML(v) => serde_yaml::to_writer(stdout, &v),
| ^^^^^^^^^^
error: aborting due to 15 previous errors
For more information about this error, try `rustc --explain E0658`.
error: Could not compile `cyd`.
Caused by:
process didn't exit successfully: `rustc --crate-name cyd src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=bc07b80299937d3b -C extra-filename=-bc07b80299937d3b --out-dir /home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps -C incremental=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/incremental -L dependency=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps --extern clap=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libclap-7d8bdf2b0622dddd.rlib --extern serde=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde-b89dab922eb94271.rlib --extern serde_derive=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde_derive-5b3ff71ba127f7d7.so --extern serde_json=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde_json-97e3b80e53f5340c.rlib --extern serde_yaml=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libserde_yaml-8ba37d953e0dbaf1.rlib --extern toml=/home/jackthomas/repos/github.com/phyber/cyd/target/debug/deps/libtoml-3efad2a01ccca94f.rlib` (exit code: 1)
Versions:
➜ cyd git:(master) cargo --version
cargo 1.29.0 (524a578d7 2018-08-05)
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.