Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New schema for attributes v23 (#5) #18

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

mgr0dzicki
Copy link
Contributor

  • Initial schema.

  • First version of changes in the adapter

  • Remove playground_test, add tests for attribute parsing.

  • Change &String to &str.

  • cargo fmt

  • Add as_string property to Attribute type.

  • Moved attributes-related code to separate module.

  • Fix the mistake in rustdoc_json_format_version test

  • Updated schema

  • Lower anyhow required version to match with cargo-semver-checks

  • Make adapter work with new names in schema

  • Simplify attributes parsing (not working yet...)

  • Fix lifetime and tests issues.

  • Clippy

  • Avoid copying AttributeValue's

  • Add Eq derivation, make messages in panics more descriptive.

  • Add test for parsing an improperly formatted attribute

  • Rename AttributeValue to AttributeMetaItem

  • Simplify slice_arguments

  • Minor changes in attributes tests, add test for unrecognized meta item

  • Rename AttributeMetaItem properties

  • Rename Attribute's as_string to raw_attribute

  • Cleaner formatting of error messages

  • Address problems with string literals inside attributes

  • More careful parsing of paths

  • Added a Polish pangram in a test

  • Keep trace of opened brackets.

  • Update src/attributes.rs

  • Update src/attributes.rs

Co-authored-by: Tomasz Nowak tomek.nowak.gm.16@gmail.com
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com

* Initial schema.

* First version of changes in the adapter

* Remove playground_test, add tests for attribute parsing.

* Change &String to &str.

* cargo fmt

* Add as_string property to Attribute type.

* Moved attributes-related code to separate module.

* Fix the mistake in rustdoc_json_format_version test

* Updated schema

* Lower anyhow required version to match with cargo-semver-checks

* Make adapter work with new names in schema

* Simplify attributes parsing (not working yet...)

* Fix lifetime and tests issues.

* Clippy

* Avoid copying AttributeValue's

* Add Eq derivation, make messages in panics more descriptive.

* Add test for parsing an improperly formatted attribute

* Rename AttributeValue to AttributeMetaItem

* Simplify slice_arguments

* Minor changes in attributes tests, add test for unrecognized meta item

* Rename AttributeMetaItem properties

* Rename Attribute's as_string to raw_attribute

* Cleaner formatting of error messages

* Address problems with string literals inside attributes

* More careful parsing of paths

* Added a Polish pangram in a test

* Keep trace of opened brackets.

* Update src/attributes.rs

* Update src/attributes.rs

Co-authored-by: Tomasz Nowak <tomek.nowak.gm.16@gmail.com>
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
@obi1kenobi obi1kenobi merged commit 5d23112 into obi1kenobi:rustdoc-v23 Dec 29, 2022
@obi1kenobi obi1kenobi mentioned this pull request Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants