Skip to content

Commit

Permalink
Build docs.rs docs with all features enabled (#3794)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 authored Apr 7, 2024
1 parent 676dde7 commit f2b9c83
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ path = "src/main.rs"

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ indexmap.workspace = true

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,6 @@ harness = false

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/gc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ icu_locid = { workspace = true, optional = true }

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/icu_provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ std = ["once_cell/std"]

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/interner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ hashbrown = { workspace = true, default-features = false, features = ["inline-mo

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/interop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ rustc-hash = { workspace = true, features = ["std"] }

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ synstructure = "0.13"

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ annex-b = []

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/profiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ rustc-hash = { workspace = true, optional = true }

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions core/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ textwrap.workspace = true

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ suspicious = "warn"
style = "warn"
complexity = "warn"
perf = "warn"

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions ffi/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ bench = false

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[package.metadata.docs.rs]
all-features = true
4 changes: 3 additions & 1 deletion tests/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ doc = false
name = "bytecompiler-implied"
path = "fuzz_targets/bytecompiler-implied.rs"
test = false
doc = false
doc = false
[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions tests/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ boa_engine.workspace = true

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions tests/tester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ default = ["boa_engine/intl_bundled", "boa_engine/experimental", "boa_engine/ann

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions tools/gen-icu4x-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ icu_segmenter = { workspace = true, features = ["datagen"] }

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions tools/scripts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ simple_logger.workspace = true

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true

0 comments on commit f2b9c83

Please sign in to comment.