From f2b9c83cebdb9b75bfb234cca1c47259099f577b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Juli=C3=A1n=20Espina?= Date: Sun, 7 Apr 2024 00:27:31 +0000 Subject: [PATCH] Build docs.rs docs with all features enabled (#3794) --- cli/Cargo.toml | 3 +++ core/ast/Cargo.toml | 3 +++ core/engine/Cargo.toml | 3 +++ core/gc/Cargo.toml | 3 +++ core/icu_provider/Cargo.toml | 3 +++ core/interner/Cargo.toml | 3 +++ core/interop/Cargo.toml | 3 +++ core/macros/Cargo.toml | 3 +++ core/parser/Cargo.toml | 3 +++ core/profiler/Cargo.toml | 3 +++ core/runtime/Cargo.toml | 3 +++ examples/Cargo.toml | 3 +++ ffi/wasm/Cargo.toml | 3 +++ tests/Cargo.toml | 3 +++ tests/fuzz/Cargo.toml | 4 +++- tests/macros/Cargo.toml | 3 +++ tests/tester/Cargo.toml | 3 +++ tools/gen-icu4x-data/Cargo.toml | 3 +++ tools/scripts/Cargo.toml | 3 +++ 19 files changed, 57 insertions(+), 1 deletion(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 05bfa0ce04..0a73fb677a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -39,3 +39,6 @@ path = "src/main.rs" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/ast/Cargo.toml b/core/ast/Cargo.toml index 52bd97a4b2..3ec560fc3b 100644 --- a/core/ast/Cargo.toml +++ b/core/ast/Cargo.toml @@ -26,3 +26,6 @@ indexmap.workspace = true [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/engine/Cargo.toml b/core/engine/Cargo.toml index 184eafb100..79ffc64c0f 100644 --- a/core/engine/Cargo.toml +++ b/core/engine/Cargo.toml @@ -153,3 +153,6 @@ harness = false [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/gc/Cargo.toml b/core/gc/Cargo.toml index aea8b175c8..b21b61c44c 100644 --- a/core/gc/Cargo.toml +++ b/core/gc/Cargo.toml @@ -26,3 +26,6 @@ icu_locid = { workspace = true, optional = true } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/icu_provider/Cargo.toml b/core/icu_provider/Cargo.toml index c6f23f666d..7af3717d07 100644 --- a/core/icu_provider/Cargo.toml +++ b/core/icu_provider/Cargo.toml @@ -22,3 +22,6 @@ std = ["once_cell/std"] [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/interner/Cargo.toml b/core/interner/Cargo.toml index cdd433aecf..2f1d29cb1d 100644 --- a/core/interner/Cargo.toml +++ b/core/interner/Cargo.toml @@ -28,3 +28,6 @@ hashbrown = { workspace = true, default-features = false, features = ["inline-mo [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/interop/Cargo.toml b/core/interop/Cargo.toml index 454b2b1c5c..a098026bd8 100644 --- a/core/interop/Cargo.toml +++ b/core/interop/Cargo.toml @@ -17,3 +17,6 @@ rustc-hash = { workspace = true, features = ["std"] } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/macros/Cargo.toml b/core/macros/Cargo.toml index db2dfba4cd..b8123f7310 100644 --- a/core/macros/Cargo.toml +++ b/core/macros/Cargo.toml @@ -19,3 +19,6 @@ synstructure = "0.13" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/parser/Cargo.toml b/core/parser/Cargo.toml index bed682cb48..32b70a3918 100644 --- a/core/parser/Cargo.toml +++ b/core/parser/Cargo.toml @@ -28,3 +28,6 @@ annex-b = [] [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/profiler/Cargo.toml b/core/profiler/Cargo.toml index 7c06063d3b..20911a6c8a 100644 --- a/core/profiler/Cargo.toml +++ b/core/profiler/Cargo.toml @@ -20,3 +20,6 @@ rustc-hash = { workspace = true, optional = true } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/core/runtime/Cargo.toml b/core/runtime/Cargo.toml index f9e0ee974b..1f3d6ec48e 100644 --- a/core/runtime/Cargo.toml +++ b/core/runtime/Cargo.toml @@ -21,3 +21,6 @@ textwrap.workspace = true [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 4bfe6cee05..e81873483a 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -56,3 +56,6 @@ suspicious = "warn" style = "warn" complexity = "warn" perf = "warn" + +[package.metadata.docs.rs] +all-features = true diff --git a/ffi/wasm/Cargo.toml b/ffi/wasm/Cargo.toml index 7dcbca7202..31e2b45596 100644 --- a/ffi/wasm/Cargo.toml +++ b/ffi/wasm/Cargo.toml @@ -30,3 +30,6 @@ bench = false [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/tests/Cargo.toml b/tests/Cargo.toml index b628840f43..59cb8e84e0 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -10,3 +10,6 @@ authors.workspace = true license.workspace = true repository.workspace = true rust-version.workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/tests/fuzz/Cargo.toml b/tests/fuzz/Cargo.toml index 24ca557d97..4896ad8e83 100644 --- a/tests/fuzz/Cargo.toml +++ b/tests/fuzz/Cargo.toml @@ -39,4 +39,6 @@ doc = false name = "bytecompiler-implied" path = "fuzz_targets/bytecompiler-implied.rs" test = false -doc = false \ No newline at end of file +doc = false +[package.metadata.docs.rs] +all-features = true diff --git a/tests/macros/Cargo.toml b/tests/macros/Cargo.toml index 37cc6ce828..c03b38d816 100644 --- a/tests/macros/Cargo.toml +++ b/tests/macros/Cargo.toml @@ -16,3 +16,6 @@ boa_engine.workspace = true [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/tests/tester/Cargo.toml b/tests/tester/Cargo.toml index 0d3cd7634d..0b549e081c 100644 --- a/tests/tester/Cargo.toml +++ b/tests/tester/Cargo.toml @@ -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 diff --git a/tools/gen-icu4x-data/Cargo.toml b/tools/gen-icu4x-data/Cargo.toml index b1f85b5052..04cdb1158d 100644 --- a/tools/gen-icu4x-data/Cargo.toml +++ b/tools/gen-icu4x-data/Cargo.toml @@ -30,3 +30,6 @@ icu_segmenter = { workspace = true, features = ["datagen"] } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/tools/scripts/Cargo.toml b/tools/scripts/Cargo.toml index 6233ce0dad..f40c7befba 100644 --- a/tools/scripts/Cargo.toml +++ b/tools/scripts/Cargo.toml @@ -12,3 +12,6 @@ simple_logger.workspace = true [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true