Skip to content

Commit

Permalink
Fix feature list for docs.rs (#112)
Browse files Browse the repository at this point in the history
Previously, docs.rs would try to build with all features, but we now
have exclusive features (internal-test-strategies vs.
experimental-thread-local) which breaks the build. This fixes the build
by not documenting with the experimental-thread-local feature.
  • Loading branch information
Alexis211 authored Mar 23, 2024
1 parent 0554cd0 commit 2b11a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ serde_test = "1.0.130"
debug = true

[package.metadata.docs.rs]
all-features = true
features = ["serde", "weak"]

[[bench]]
name = "background"
Expand Down

2 comments on commit 2b11a84

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Track benchmarks

Benchmark suite Current: 2b11a84 Previous: 0554cd0 Ratio
uncontended/load 5 ns/iter (± 0) 5 ns/iter (± 0) 1
uncontended/load_full 9 ns/iter (± 0) 9 ns/iter (± 0) 1
uncontended/load_many 14 ns/iter (± 0) 14 ns/iter (± 0) 1
uncontended/store 53 ns/iter (± 0) 53 ns/iter (± 0) 1
uncontended/cache 0 ns/iter (± 0) 0 ns/iter (± 0) 1
concurrent_loads/load 11 ns/iter (± 0) 5 ns/iter (± 1) 2.20
concurrent_loads/load_full 9 ns/iter (± 0) 11 ns/iter (± 0) 0.82
concurrent_loads/load_many 22 ns/iter (± 0) 22 ns/iter (± 0) 1
concurrent_loads/store 522 ns/iter (± 8) 508 ns/iter (± 3) 1.03
concurrent_loads/cache 0 ns/iter (± 0) 0 ns/iter (± 0) 1
concurrent_store/load 48 ns/iter (± 1) 54 ns/iter (± 1) 0.89
concurrent_store/load_full 66 ns/iter (± 1) 68 ns/iter (± 5) 0.97
concurrent_store/load_many 85 ns/iter (± 0) 84 ns/iter (± 0) 1.01
concurrent_store/store 532 ns/iter (± 5) 464 ns/iter (± 3) 1.15
concurrent_store/cache 1 ns/iter (± 0) 1 ns/iter (± 0) 1
utilities/access-map 6 ns/iter (± 0) 6 ns/iter (± 0) 1

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Track benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: 2b11a84 Previous: 0554cd0 Ratio
concurrent_loads/load 11 ns/iter (± 0) 5 ns/iter (± 1) 2.20

This comment was automatically generated by workflow using github-action-benchmark.

CC: @vorner

Please sign in to comment.