1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

chore: drop src/ in bench_util & serde_v8 (#14097)

To align with conventions used in our other crates
This commit is contained in:
Aaron O'Mullan 2022-03-24 11:23:40 +01:00 committed by GitHub
parent c52d72e8e1
commit 6516130b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 8 additions and 4 deletions

View file

@ -236,7 +236,7 @@ jobs:
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
key: 3-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
key: 4-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
# In main branch, always creates fresh cache
- name: Cache build output (main)
@ -252,7 +252,7 @@ jobs:
!./target/*/*.zip
!./target/*/*.tar.gz
key: |
3-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
4-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
# Restore cache from the latest 'main' branch build.
- name: Cache build output (PR)
@ -268,7 +268,7 @@ jobs:
!./target/*/*.tar.gz
key: never_saved
restore-keys: |
3-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
4-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
# Don't save cache after building PRs or branches other than 'main'.
- name: Skip save cache (PR)

View file

@ -10,7 +10,8 @@ readme = "README.md"
repository = "https://github.com/denoland/deno"
description = "Bench and profiling utilities for deno crates"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "lib.rs"
[dependencies]
bencher = "0.1"

View file

@ -9,6 +9,9 @@ readme = "README.md"
repository = "https://github.com/denoland/deno"
description = "Rust to V8 serialization and deserialization"
[lib]
path = "lib.rs"
[dependencies]
serde = { version = "1.0.130", features = ["derive"] }
serde_bytes = "0.11"