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

Multiple file output #166

Merged
merged 84 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
b6784f4
Merge pull request #1 from darrell-roberts/fix-mdbook
darrell-roberts Apr 2, 2024
f54ded3
Merge pull request #2 from darrell-roberts/fix-mdbook
darrell-roberts Apr 2, 2024
31d6f8e
Merge pull request #3 from darrell-roberts/fix-mdbook
darrell-roberts Apr 2, 2024
fb1f847
Merge branch '1Password:main' into main
darrell-roberts Apr 4, 2024
1a30c5e
Merge branch '1Password:main' into main
darrell-roberts Apr 14, 2024
4b571f8
Merge branch '1Password:main' into main
darrell-roberts Apr 16, 2024
087fec6
Merge branch '1Password:main' into main
darrell-roberts May 1, 2024
81e93eb
Generate multiple output files
darrell-roberts Apr 3, 2024
07ebc60
Mutli file generation with imports inserted
darrell-roberts Apr 4, 2024
4513f10
Update unit test
darrell-roberts Apr 5, 2024
0e2b18c
Add import exclusions
darrell-roberts Apr 5, 2024
c80a4ea
Update all type collection
darrell-roberts Apr 5, 2024
511fb14
Keep imports sorted so output is stable when checking if contents hav…
darrell-roberts Apr 5, 2024
d2112f1
Cleanup
darrell-roberts Apr 5, 2024
7fe2611
Refactor used imports
darrell-roberts Apr 5, 2024
1b0b10a
Avoid cloning when building used imports
darrell-roberts Apr 5, 2024
0fc81d7
Cleanup
darrell-roberts Apr 5, 2024
5b8e6ad
Update import visitor to accept types and not functions
darrell-roberts Apr 5, 2024
6eb07aa
Use a single visitor. Collect all parsing errors and log each one.
darrell-roberts Apr 6, 2024
3e0a3c8
Reconcile import types with referenced type share items
darrell-roberts Apr 6, 2024
001596c
Optimize reference lookup for imports
darrell-roberts Apr 6, 2024
34077b0
cleanup
darrell-roberts Apr 6, 2024
051f3cb
add println for now.
darrell-roberts Apr 7, 2024
6296af2
Update output
darrell-roberts Apr 7, 2024
d56b551
Implement Iterator vs recursive function.
darrell-roberts Apr 7, 2024
3b0584d
Cleanup
darrell-roberts Apr 7, 2024
ab16345
Update TODO's
darrell-roberts Apr 7, 2024
157ff4c
include self in crate alias resolution
darrell-roberts Apr 7, 2024
cf0d51b
cleanup
darrell-roberts Apr 7, 2024
b3bc2fe
refactor
darrell-roberts Apr 7, 2024
a6f7269
cleanup
darrell-roberts Apr 7, 2024
2b11316
Update comments
darrell-roberts Apr 7, 2024
401575d
Add fallback heuristic for types that are re-exported
darrell-roberts Apr 8, 2024
5b9a8d8
Ignore remapped types when handling imports
darrell-roberts Apr 8, 2024
a316345
Refactor
darrell-roberts Apr 8, 2024
f93beab
Refactor crate name into new type
darrell-roberts Apr 13, 2024
161f294
Refactor args
darrell-roberts Apr 13, 2024
5a06aa0
Allow existing behaviour
darrell-roberts Apr 13, 2024
8667330
Update error handling
darrell-roberts Apr 13, 2024
4107a7e
Original single file support
darrell-roberts Apr 13, 2024
7d6406e
Remove unecessary allocations
darrell-roberts Apr 14, 2024
8610f57
Clippy lints
darrell-roberts Apr 14, 2024
a62399f
Update agnostic tests
darrell-roberts Apr 14, 2024
ccab945
Update for single file backward support
darrell-roberts Apr 14, 2024
bad7d58
fix for all features
darrell-roberts Apr 14, 2024
6d62baa
Update msrv to 1.75
darrell-roberts Apr 14, 2024
219c2e8
Update clippy lints for 1.75
darrell-roberts Apr 14, 2024
6ca0f29
update missing docs
darrell-roberts Apr 14, 2024
37045eb
Keep single file output deterministic for write check
darrell-roberts Apr 14, 2024
12c7f2b
Optimize for single file output
darrell-roberts Apr 14, 2024
0c1538f
Update error handling
darrell-roberts Apr 14, 2024
380ffce
move integration test function to integration test
darrell-roberts Apr 14, 2024
62ff831
Revert doc change
darrell-roberts Apr 14, 2024
9370eaa
Update channel to stable
darrell-roberts Apr 14, 2024
ce185fb
Update readme
darrell-roberts Apr 14, 2024
4b5e7df
Better error handling
darrell-roberts Apr 14, 2024
99576b8
Formatting for typescript generated imports
darrell-roberts Apr 14, 2024
53f703e
Bump deps. Ignore remapped files for kotlin import lookup.
darrell-roberts Apr 15, 2024
d1a987e
Add code comment
darrell-roberts Apr 15, 2024
f3db449
Swift file names and imports
darrell-roberts Apr 15, 2024
552f748
Add docs to public trait
darrell-roberts Apr 15, 2024
7ec1b1b
Disable imports for swift for now. Write CodableVoid to separate modu…
darrell-roberts Apr 15, 2024
f96492e
Refactor write codable void.
darrell-roberts Apr 15, 2024
cd35d85
Update msrv to 1.77
darrell-roberts Apr 16, 2024
314b49f
File should be open as read only
darrell-roberts Apr 16, 2024
54fff44
Update deps
darrell-roberts Apr 17, 2024
90a8524
downgrade to 1.75 for nix build
darrell-roberts Apr 17, 2024
d637f76
Attempt to fix nix build
darrell-roberts Apr 17, 2024
505eef8
cleanup
darrell-roberts Apr 19, 2024
4049dad
update to use anyhow macro
darrell-roberts Apr 19, 2024
8561083
Update argument parsing for unique output options (file/folder)
darrell-roberts Apr 19, 2024
ec5a987
Bump toml dep. Put back 1.75 MSRV.
darrell-roberts Apr 19, 2024
f2d0428
Cleanup
darrell-roberts Apr 19, 2024
a082ea5
Cleanup
darrell-roberts Apr 19, 2024
a28ab38
Rename for clarity
darrell-roberts Apr 19, 2024
cb08c48
Use a &str over String
darrell-roberts Apr 19, 2024
ad32939
Cleanup
darrell-roberts Apr 19, 2024
ff56a1f
Remove default impl for write_imports
darrell-roberts Apr 19, 2024
ff18763
Use else if over continue
darrell-roberts Apr 19, 2024
ec4efa6
Use File::create and reduce allocations with PathBuf
darrell-roberts Apr 19, 2024
fda718b
Remove cloning
darrell-roberts Apr 19, 2024
d9cde67
cleanup
darrell-roberts Apr 19, 2024
9f74ff0
cleanup
darrell-roberts Apr 19, 2024
baa19ab
Update to rust stable
darrell-roberts Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .clippy.toml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
matrix:
rust:
- stable
- 1.57.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -33,7 +32,6 @@ jobs:
matrix:
rust:
- stable
- 1.57.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -50,7 +48,6 @@ jobs:
matrix:
rust:
- stable
- 1.57.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update 1.57 --no-self-update && rustup default 1.57
run: rustup update stable --no-self-update && rustup default stable
- name: Install cargo-dist
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.0.4/cargo-dist-v0.0.4-installer.sh | sh
- id: create-release
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update 1.57 --no-self-update && rustup default 1.57
run: rustup update stable --no-self-update && rustup default stable
- name: Install cargo-dist
run: ${{ matrix.install-dist }}
- name: Run cargo-dist
Expand Down
Loading
Loading