Comments (2)
I'm not 100% sure whether you're asking about how it works internally, or something else, but I'll try to answer. Pretty much everything after the :dep gets put into the [dependencies] section of Cargo.toml. You can look at what evcxr is doing by running :last_compile_dir and then going and looking in that directory. You'll see what gets put into the Cargo.toml. Note that the result of :last_compile_dir used to change with each thing you ran, but will now always be the same.
The actual crate will get downloaded by Cargo as it would do if you were running cargo build on an ordinary Rust crate.
Note that :deps is only temporary, so I'm not sure I'd say that they're getting installed. If you restart evcxr, you'll need to do :deps again should you want the same crate.
Not sure if that answered your question, but feel free to ask follow-up questions if not.
from evcxr.
This answers my question. Thanks.
from evcxr.
Related Issues (20)
- Reducing startup time by reusing the pre-compiled directory. HOT 6
- println! does not preserve the order of lines HOT 4
- Output error with comment. HOT 2
- Trying to build a reproducible environment with Nix HOT 14
- Out of order print in the output HOT 4
- New name proposal: Ruins (RUst INteractive Shell) HOT 5
- Hashbrown's `HashMap::get` returns `None` although the key exists HOT 14
- `init.evcxr` and `prelude.rs` placed in the suggested MacOS location doesn't seem to do anything HOT 2
- Listing current REPL deps and manifest from within REPL? HOT 1
- printing colored outputs in the repl? HOT 3
- Double Ctrl-C killing repl unexpectedly HOT 1
- is sccache working properly? HOT 2
- Recompiling each time after I restart the kernel in Linux. HOT 4
- Is it possible to print out the documentation? HOT 7
- The error doesn't print as expected. HOT 2
- not compatible with latest rust 1.72.0 HOT 8
- Cached tokio runtime after panic HOT 1
- Cannot configure (persist) logging configuration HOT 38
- Rust kernel can't work HOT 3
- Slow execution speed HOT 2
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 evcxr.