Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ jobs:
name: cargo-deny
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- uses: EmbarkStudios/cargo-deny-action@v1
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check ${{ matrix.checks }}

- uses: EmbarkStudios/cargo-deny-action@v1
- uses: EmbarkStudios/cargo-deny-action@v2
with:
manifest-path: demo-puffin/Cargo.toml
command: check ${{ matrix.checks }}
Expand All @@ -114,10 +114,10 @@ jobs:
matrix:
config:
- package: profiling
msrv: '1.60'
msrv: '1.85'
extra-args: --no-default-features
- package: profiling-procmacros
msrv: '1.65'
msrv: '1.85'

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.0.18
* MSRV updated to 1.85. (Upstream packages adopting edition 2024 cannot be compiled on prior MSRV)
* Update puffin to 0.20

## 1.0.17
* Update superluminal to 0.4
* Update tracy-client to 0.18
Expand Down
2 changes: 1 addition & 1 deletion demo-puffin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ categories = ["development-tools::profiling"]
[dependencies]
profiling = { path = "../profiling", features = ["profile-with-puffin"] }

puffin = "0.19.1"
puffin = "0.20"
puffin_egui = "0.29.0"
egui = "0.28.1"
# wgpu also works fine here
Expand Down
31 changes: 2 additions & 29 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# this list would mean the nix crate, as well as any of its exclusive
# dependencies not shared by any other crates, would be ignored, as the target
# list here is effectively saying which targets you are building for.
[graph]
targets = [
# The triple can be any string, but only the target triples built in to
# rustc (as of 1.40) can be checked against actual config expressions
Expand All @@ -35,16 +36,10 @@ targets = [
db-path = "~/.cargo/advisory-db"
# The url of the advisory database to use
db-urls = ["https://github.com/rustsec/advisory-db"]
# The lint level for security vulnerabilities
vulnerability = "warn"
# The lint level for unmaintained crates
unmaintained = "warn"
unmaintained = "workspace"
# The lint level for crates that have been yanked from their source registry
yanked = "warn"
# The lint level for crates with security notices. Note that as of
# 2019-12-17 there are no security notice advisories in
# https://github.com/rustsec/advisory-db
notice = "warn"
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
ignore = [
Expand All @@ -64,8 +59,6 @@ ignore = [
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# The lint level for crates which do not have a detectable license
unlicensed = "deny"
# List of explictly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
Expand All @@ -81,26 +74,6 @@ allow = [
"Unicode-3.0"
#"Apache-2.0 WITH LLVM-exception",
]
# List of explictly disallowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
deny = [
#"Nokia",
]
# Lint level for licenses considered copyleft
copyleft = "deny"
# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
# * both - The license will be approved if it is both OSI-approved *AND* FSF
# * either - The license will be approved if it is either OSI-approved *OR* FSF
# * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
# * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
# * neither - This predicate is ignored and the default lint level is used
allow-osi-fsf-free = "neither"
# Lint level used when no other predicates are matched
# 1. License isn't in the allow or deny lists
# 2. License isn't copyleft
# 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
default = "deny"
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
Expand Down
2 changes: 1 addition & 1 deletion profiling-procmacros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn function(
let body = &function.block;
let new_body: syn::Block = impl_block(body, &instrumented_function_name);

function.block = Box::new(new_body);
*function.block = new_body;

(quote! {
#function
Expand Down
7 changes: 1 addition & 6 deletions profiling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,14 @@ exclude = ["/examples", "/screenshots"]
rust-version = "1.60"

[dependencies]
puffin = { version = "0.19", optional = true }
puffin = { version = "0.20", optional = true }
optick = { version = "1.3", optional = true }
tracing = { version = "0.1", optional = true }
tracy-client = { version = "0.18", optional = true }
superluminal-perf = { version = "0.4", optional = true }
profiling-procmacros = { version = "1.0.17", path = "../profiling-procmacros", optional = true }

[dev-dependencies]
bincode = "1.3.1"
lazy_static = "1"
log = "0.4"
env_logger = "0.6"

tracing-tracy = { version = "0.11.3" }
tracing-subscriber = { version = "0.3" }

Expand Down
Loading