Comments (4)
From #531, what is the specific problem you're having?
from rune.
Ah, is it that the Parse
, Spanned
, ... macros use crate::
as a prefix? This can be fixed by:
- Changing the context to
nownot use thewith_crate
constructor - then it will userune::
instead. - Re-export
pub(crate) use crate as rune
in theast::prelude
.
That should cover the vast majority of uses for those derives.
from rune.
* Changing the context to now use the `with_crate` constructor - then it will use `rune::` instead.
you mean to not use it? because with_crate
is the issue, it makes the context use crate::
or do you mean update with_crate
to use rune::
?
from rune.
Right, s/now/not
!
from rune.
Related Issues (20)
- feature request: Integrate FlexStr
- item macros not working HOT 5
- Support non-qualified imports of macros and imports which happen after the macro is used HOT 4
- Formatting misfire with anything following item macro call HOT 9
- Ergonomics of macro implementation HOT 2
- fs functions HOT 2
- Printable errors HOT 7
- Allow to iteration over functions available in loaded source HOT 3
- Attribute macro to generate rune module from rust module HOT 1
- Support raw strings
- Custom prelude HOT 1
- Could variadic functions be supported? HOT 1
- Allow to "implement" `?` via new `Protocol::TRY` HOT 4
- Detect when a VmExecution has finished (using step) HOT 4
- Is there a reason LitStr does not implement Peek? HOT 1
- [Regression] Installing a module with a crate name panics. HOT 3
- "Vm::call takes self by value, which means we're forced to clone()" - as per blog of 2020. What is the workaround or status as of year 2023? HOT 1
- Give visitor access to more information
- Can rune run untrusted code/is it sandboxed? HOT 4
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 rune.