Comments (2)
Why a separate crate?
from syn.
I am hesitant to pile more features into syn because if an optional feature requires a breaking change, even people not using that feature suffer from the version bump. With a relatively stable core in syn and an ecosystem of supporting libraries around it, you are only affected by breaking changes to pieces that you use.
I guess fold
is core enough and coupled so closely with everything else in syn that the scenario of breaking fold
without breaking syn seems unlikely, so you're right it could make sense to implement here rather than a separate crate.
from syn.
Related Issues (20)
- Syn parses `1f32` as `syn::Lit::Int`. HOT 3
- How to save syn::File to disk? HOT 2
- span.source_text() broken HOT 1
- Keywords in meta path positions cause parsing errors HOT 2
- `syn::meta::parser` should not fail on empty meta list
- How to use the parse_file or parse_str function? HOT 2
- Can't parse_macro_input with what used to be AttributeArgs HOT 3
- Group spans don't round-trip when run under rust-analyzer HOT 1
- QSelf isn't spanned HOT 2
- Upgrade from syn 1 to 2 breaks import 'ParseQuote' HOT 1
- Blanket impl type should not be included in `TypeGenerics` HOT 1
- Rust-Analyzer failed to provide code-completion. HOT 1
- How to parse #[attribute(path::to::SomeType)] HOT 1
- derive Default trait for TypeTuple HOT 1
- Consider relaxing item types for a future syn 3 HOT 2
- `parse` should take a `&mut ParseStream` HOT 2
- `Arbitrary` support to allow for downstream fuzzing
- Add ability to strip doc / attributes info from the Span
- `Visitable` trait?
- parsing fields from `quote` fails with `"expected curly braces"`
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 syn.