Comments (4)
I don't think that's what the playground actually does; as far as I'm aware, it just uses a default project with the top 100 Cargo libraries already compiled.
from cargo-play.
@leo60228 Yes, I believe that is the case for Rust Playground. But it doesn't mean we cannot make something like this happen. I already have a WIP version that extracts the external crates from the code and generate Cargo.toml based on it. It won't be perfect but still better than nothing. :P
from cargo-play.
With 8aff17b Cargo-play is now able to recognize dependencies.
from cargo-play.
Awesome!
from cargo-play.
Related Issues (19)
- Relation to cargo-script HOT 2
- Allow first line to be `#!` so that it can be self executing
- Add flag to allow disabling compilation and running from cache if exists HOT 1
- Allow specifying to build in release mode HOT 3
- Allow passing arguments to program HOT 1
- RLS support
- `--save` option if one wants to convert a file into a Cargo project to continue to work on HOT 1
- Allow reading code from stdin HOT 1
- Using local modules HOT 1
- Play tests only
- Add --verbose flag HOT 1
- Check hash of file for `--cached`
- New intelliJ plugin
- Support Rust 2021 Edition HOT 1
- Exploring a "cargo-script" in rustup HOT 1
- Received unexpected email right after usage
- Neovim lua script to work with cargo-play
- [Feature Request] support cargo --test <option>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-play.