Skip to content

Commit 9134b5d

Browse files
authored
Switch to using workspace for different packages (#83)
1 parent 5bbdcfd commit 9134b5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+122
-921
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,14 @@ jobs:
115115
cache-target: release
116116
bins: cargo-codspeed
117117

118-
- run: python benches/generate_big.py
118+
- run: python crates/jiter/benches/generate_big.py
119119

120120
- run: cargo codspeed build -F python
121+
working-directory: crates/jiter
121122

122123
- uses: CodSpeedHQ/action@v1
123124
with:
124-
run: cargo codspeed run
125+
run: cd crates/jiter && cargo codspeed run
125126
token: ${{ secrets.CODSPEED_TOKEN }}
126127

127128
fuzz:
@@ -142,8 +143,7 @@ jobs:
142143
cache-target: release
143144
bins: cargo-fuzz
144145

145-
- run: cargo fuzz run compare_to_serde --release -- -max_total_time=300s
146-
working-directory: fuzz
146+
- run: cargo fuzz run --fuzz-dir crates/fuzz compare_to_serde --release -- -max_total_time=300s
147147

148148
lint:
149149
runs-on: ubuntu-latest

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
target
22
.idea/
3-
/benches/big.json
3+
**/big.json
44
/profiling/
55
/scratch/
66
/scratch-project/
77
/*.bm
88
env*/
99

10-
Cargo.lock
10+
**/Cargo.lock
1111
profile.json

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: check-yaml
88
- id: check-toml
99
- id: end-of-file-fixer
10-
exclude: '^benches/.*\.json'
10+
exclude: 'benches/.*\.json'
1111
- id: trailing-whitespace
1212
- id: check-added-large-files
1313

0 commit comments

Comments
 (0)