From 16c7584ef49ce840feb55ae46ab1dcb1334fab5e Mon Sep 17 00:00:00 2001 From: Robert Bastian <4706271+robertbastian@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:39:52 +0100 Subject: [PATCH] Move tutorials, rename docs (#4694) Fixes #4569 --- .github/workflows/artifacts-build.yml | 12 +- .github/workflows/build-test.yml | 4 +- .gn | 4 +- CODEOWNERS | 2 +- Cargo.toml | 8 +- Makefile.toml | 2 +- README.md | 2 +- components/calendar/src/lib.rs | 2 +- components/casemap/src/lib.rs | 2 +- components/collator/src/lib.rs | 2 +- .../collections/src/codepointtrie/cptrie.rs | 2 +- components/collections/src/lib.rs | 2 +- components/datetime/src/lib.rs | 2 +- components/decimal/src/lib.rs | 2 +- .../experimental/src/compactdecimal/mod.rs | 2 +- .../experimental/src/displaynames/mod.rs | 2 +- components/experimental/src/lib.rs | 2 +- .../experimental/src/transliterate/mod.rs | 2 +- .../experimental/src/unicodeset_parse/mod.rs | 2 +- components/icu/README.md | 2 +- components/icu/src/lib.rs | 4 +- components/locid/src/lib.rs | 2 +- components/locid_transform/src/lib.rs | 2 +- components/normalizer/src/lib.rs | 2 +- components/plurals/src/lib.rs | 2 +- components/properties/src/lib.rs | 2 +- components/segmenter/src/lib.rs | 2 +- components/timezone/src/lib.rs | 2 +- docs/tutorials/.cargo/config.toml | 80 - {docs => documents}/README.md | 0 {docs => documents}/assets/data_lifecycle.svg | 0 .../assets/ergonomic_logical.svg | 0 .../assets/json_data_provider.svg | 0 .../assets/multi_provider_architecture.svg | 0 {docs => documents}/assets/reviewers-1.png | Bin {docs => documents}/assets/reviewers-2.png | Bin {docs => documents}/assets/reviewers-3.png | Bin {docs => documents}/design/data_pipeline.md | 0 {docs => documents}/design/data_safety.md | 0 {docs => documents}/design/enums_or_ids.md | 0 .../design/locale_fallback_and_negotiation.md | 0 {docs => documents}/design/principles.md | 0 .../design/properties_code_point_trie.md | 0 .../design/string_representation.md | 0 {docs => documents}/design/why_rust.md | 0 .../minutes/icu4x-tc_2024-03-14.md | 0 .../20201015_ICU4X_Project_Announcement.md | 2 +- .../posts/20210427_ICU4X_02_Release.md | 4 +- {docs => documents}/process/benchmarking.md | 0 {docs => documents}/process/boilerplate.md | 4 +- {docs => documents}/process/bylaws.md | 0 {docs => documents}/process/charter.md | 0 {docs => documents}/process/ci_build.md | 0 .../process/crate_ownership.md | 0 .../process/data_versioning.md | 0 {docs => documents}/process/graduation.md | 6 +- {docs => documents}/process/issues.md | 2 +- {docs => documents}/process/markdown_tips.md | 2 +- {docs => documents}/process/prd.md | 6 +- {docs => documents}/process/release.md | 0 {docs => documents}/process/roadmap.md | 0 {docs => documents}/process/rust_versions.md | 0 {docs => documents}/process/style_guide.md | 0 {docs => documents}/process/triaging.md | 0 .../process/writing_a_new_data_struct.md | 2 +- {docs => documents}/proposals/README.md | 0 .../proposals/pr001-ecma402.md | 0 .../proposals/pr002-hunkspace.md | 8 +- .../proposals/pr002/image1.png | Bin {docs => documents}/research/data_phases.md | 0 {docs => documents}/research/datetime.md | 2 +- .../research/datetime_input.md | 0 {docs => documents}/research/ecosystem.md | 0 .../research/format_to_parts.md | 0 .../research/wasm_vs_transpiler.md | 0 {docs => documents}/research/wrapper_layer.md | 0 ffi/README.md | 4 +- ffi/capi/README.md | 2 +- ffi/capi/src/lib.rs | 4 +- ffi/ecma402/src/lib.rs | 2 +- ffi/freertos/src/lib.rs | 2 +- ffi/harfbuzz/src/lib.rs | 2 +- provider/adapters/src/lib.rs | 2 +- provider/blob/src/export/mod.rs | 2 +- provider/blob/src/lib.rs | 2 +- provider/core/macros/src/lib.rs | 2 +- provider/core/src/lib.rs | 2 +- provider/datagen/README.md | 2 +- provider/datagen/src/baked_exporter.rs | 2 +- provider/datagen/src/lib.rs | 2 +- provider/datagen/tests/data/gen.sh | 4 +- provider/fs/src/export/mod.rs | 2 +- provider/fs/src/lib.rs | 2 +- provider/testdata/src/lib.rs | 2 +- tools/benchmark/macros/src/lib.rs | 2 +- tools/config.doxy | 2 +- tools/make/ffi.toml | 10 +- tools/make/tests.toml | 8 +- tools/make/tidy.toml | 8 +- tools/md-tests/src/lib.rs | 38 +- tutorials/.cargo/config.toml | 80 + .../c-tiny/fixeddecimal/.gitignore | 0 .../c-tiny/fixeddecimal/Cargo.lock | 1322 +---------------- .../c-tiny/fixeddecimal/Cargo.toml | 0 .../c-tiny/fixeddecimal/Makefile | 0 .../c-tiny/fixeddecimal/README.md | 0 .../c-tiny/fixeddecimal/test.c | 0 .../c-tiny/segmenter/.gitignore | 0 .../c-tiny/segmenter/Cargo.lock | 6 +- .../c-tiny/segmenter/Cargo.toml | 0 .../c-tiny/segmenter/Makefile | 0 .../c-tiny/segmenter/README.md | 0 .../c-tiny/segmenter/test.c | 0 {docs/tutorials => tutorials}/c/.gitignore | 0 {docs/tutorials => tutorials}/c/Cargo.lock | 21 +- {docs/tutorials => tutorials}/c/Cargo.toml | 0 {docs/tutorials => tutorials}/c/Makefile | 0 .../tutorials => tutorials}/c/fixeddecimal.c | 0 {docs/tutorials => tutorials}/c/locale.c | 0 {docs/tutorials => tutorials}/c/pluralrules.c | 0 {docs/tutorials => tutorials}/cpp.md | 0 {docs/tutorials => tutorials}/cpp/.gitignore | 0 {docs/tutorials => tutorials}/cpp/Cargo.lock | 22 +- {docs/tutorials => tutorials}/cpp/Cargo.toml | 0 {docs/tutorials => tutorials}/cpp/Makefile | 0 {docs/tutorials => tutorials}/cpp/bidi.cpp | 0 .../cpp/casemapping.cpp | 0 .../tutorials => tutorials}/cpp/collator.cpp | 0 .../tutorials => tutorials}/cpp/datetime.cpp | 0 .../cpp/fixeddecimal.cpp | 0 {docs/tutorials => tutorials}/cpp/locale.cpp | 0 .../cpp/pluralrules.cpp | 2 +- .../cpp/properties.cpp | 0 .../tutorials => tutorials}/cpp/segmenter.cpp | 0 .../data_management.md | 0 .../data_management_interactive.md | 0 .../tutorials => tutorials}/data_provider.md | 0 {docs/tutorials => tutorials}/gn/.gitignore | 0 {docs/tutorials => tutorials}/gn/BUILD.gn | 4 +- .../tutorials => tutorials}/gn/BUILDCONFIG.gn | 8 +- {docs/tutorials => tutorials}/gn/Cargo.toml | 0 {docs/tutorials => tutorials}/gn/LICENSE | 0 {docs/tutorials => tutorials}/gn/README.md | 0 .../tutorials => tutorials}/gn/build/BUILD.gn | 0 .../gn/build/rust_host/BUILD.gn | 2 +- .../gn/build/rust_toolchain.gni | 0 .../gn/build/rust_wasi/BUILD.gn | 2 +- {docs/tutorials => tutorials}/gn/gn.toml | 32 +- .../gn/hello_world/BUILD.gn | 4 +- .../gn/hello_world/print_hello.rs | 0 .../gn/icu4x/README.md | 0 {docs/tutorials => tutorials}/gn/src/lib.rs | 0 {docs/tutorials => tutorials}/index.md | 0 {docs/tutorials => tutorials}/intro.md | 0 .../intro_interactive.md | 0 .../js-tiny/.gitignore | 0 .../js-tiny/Cargo.lock | 0 .../js-tiny/Cargo.toml | 0 .../tutorials => tutorials}/js-tiny/Makefile | 0 .../tutorials => tutorials}/js-tiny/README.md | 0 {docs/tutorials => tutorials}/js-tiny/ld.py | 0 .../tutorials => tutorials}/js-tiny/tiny.mjs | 0 {docs/tutorials => tutorials}/js.md | 0 {docs/tutorials => tutorials}/npm/.gitignore | 0 .../npm/cors-config-file.json | 0 {docs/tutorials => tutorials}/npm/index.html | 0 {docs/tutorials => tutorials}/npm/index.js | 0 .../npm/package-lock.json | 0 .../tutorials => tutorials}/npm/package.json | 0 .../npm/src/scss/styles.scss | 0 .../tutorials => tutorials}/npm/src/ts/app.ts | 0 .../npm/src/ts/date-time.ts | 0 .../npm/src/ts/fixed-decimal.ts | 0 .../npm/src/ts/index.ts | 0 .../npm/src/ts/segmenter.ts | 0 .../tutorials => tutorials}/npm/tsconfig.json | 0 .../npm/webpack.config.js | 0 {docs/tutorials => tutorials}/rust.md | 0 {docs/tutorials => tutorials}/rust/.gitignore | 0 .../rust/baked/Cargo.lock | 0 .../rust/baked/Cargo.toml | 0 .../rust/baked/README.md | 0 .../rust/baked/build.rs | 0 .../rust/baked/src/main.rs | 0 .../rust/buffer/.gitignore | 0 .../rust/buffer/Cargo.lock | 0 .../rust/buffer/Cargo.toml | 0 .../rust/buffer/Makefile | 0 .../rust/buffer/README.md | 0 .../rust/buffer/src/main.rs | 0 .../rust/custom_compiled/.gitignore | 0 .../rust/custom_compiled/Cargo.lock | 0 .../rust/custom_compiled/Cargo.toml | 0 .../rust/custom_compiled/Makefile | 0 .../rust/custom_compiled/README.md | 0 .../rust/custom_compiled/src/main.rs | 0 .../rust/default/Cargo.lock | 0 .../rust/default/Cargo.toml | 0 .../rust/default/README.md | 0 .../rust/default/src/main.rs | 0 .../rust/experimental/Cargo.lock | 0 .../rust/experimental/Cargo.toml | 0 .../rust/experimental/README.md | 0 .../rust/experimental/src/main.rs | 0 .../rust/sync/Cargo.lock | 0 .../rust/sync/Cargo.toml | 0 .../rust/sync/README.md | 0 .../rust/sync/src/main.rs | 0 utils/calendrical_calculations/src/lib.rs | 2 +- utils/deduplicating_array/src/lib.rs | 2 +- utils/fixed_decimal/src/lib.rs | 2 +- utils/litemap/src/lib.rs | 2 +- utils/pattern/src/lib.rs | 2 +- utils/resb/src/lib.rs | 2 +- utils/tinystr/src/lib.rs | 2 +- utils/writeable/src/lib.rs | 2 +- utils/yoke/src/lib.rs | 2 +- utils/zerofrom/derive/src/lib.rs | 2 +- utils/zerofrom/src/lib.rs | 2 +- utils/zerotrie/src/lib.rs | 2 +- utils/zerovec/src/lib.rs | 2 +- 221 files changed, 326 insertions(+), 1511 deletions(-) delete mode 100644 docs/tutorials/.cargo/config.toml rename {docs => documents}/README.md (100%) rename {docs => documents}/assets/data_lifecycle.svg (100%) rename {docs => documents}/assets/ergonomic_logical.svg (100%) rename {docs => documents}/assets/json_data_provider.svg (100%) rename {docs => documents}/assets/multi_provider_architecture.svg (100%) rename {docs => documents}/assets/reviewers-1.png (100%) rename {docs => documents}/assets/reviewers-2.png (100%) rename {docs => documents}/assets/reviewers-3.png (100%) rename {docs => documents}/design/data_pipeline.md (100%) rename {docs => documents}/design/data_safety.md (100%) rename {docs => documents}/design/enums_or_ids.md (100%) rename {docs => documents}/design/locale_fallback_and_negotiation.md (100%) rename {docs => documents}/design/principles.md (100%) rename {docs => documents}/design/properties_code_point_trie.md (100%) rename {docs => documents}/design/string_representation.md (100%) rename {docs => documents}/design/why_rust.md (100%) rename {docs => documents}/minutes/icu4x-tc_2024-03-14.md (100%) rename {docs => documents}/posts/20201015_ICU4X_Project_Announcement.md (96%) rename {docs => documents}/posts/20210427_ICU4X_02_Release.md (97%) rename {docs => documents}/process/benchmarking.md (100%) rename {docs => documents}/process/boilerplate.md (87%) rename {docs => documents}/process/bylaws.md (100%) rename {docs => documents}/process/charter.md (100%) rename {docs => documents}/process/ci_build.md (100%) rename {docs => documents}/process/crate_ownership.md (100%) rename {docs => documents}/process/data_versioning.md (100%) rename {docs => documents}/process/graduation.md (95%) rename {docs => documents}/process/issues.md (95%) rename {docs => documents}/process/markdown_tips.md (98%) rename {docs => documents}/process/prd.md (96%) rename {docs => documents}/process/release.md (100%) rename {docs => documents}/process/roadmap.md (100%) rename {docs => documents}/process/rust_versions.md (100%) rename {docs => documents}/process/style_guide.md (100%) rename {docs => documents}/process/triaging.md (100%) rename {docs => documents}/process/writing_a_new_data_struct.md (98%) rename {docs => documents}/proposals/README.md (100%) rename {docs => documents}/proposals/pr001-ecma402.md (100%) rename {docs => documents}/proposals/pr002-hunkspace.md (98%) rename {docs => documents}/proposals/pr002/image1.png (100%) rename {docs => documents}/research/data_phases.md (100%) rename {docs => documents}/research/datetime.md (95%) rename {docs => documents}/research/datetime_input.md (100%) rename {docs => documents}/research/ecosystem.md (100%) rename {docs => documents}/research/format_to_parts.md (100%) rename {docs => documents}/research/wasm_vs_transpiler.md (100%) rename {docs => documents}/research/wrapper_layer.md (100%) create mode 100644 tutorials/.cargo/config.toml rename {docs/tutorials => tutorials}/c-tiny/fixeddecimal/.gitignore (100%) rename {docs/tutorials => tutorials}/c-tiny/fixeddecimal/Cargo.lock (52%) rename {docs/tutorials => tutorials}/c-tiny/fixeddecimal/Cargo.toml (100%) rename {docs/tutorials => tutorials}/c-tiny/fixeddecimal/Makefile (100%) rename {docs/tutorials => tutorials}/c-tiny/fixeddecimal/README.md (100%) rename {docs/tutorials => tutorials}/c-tiny/fixeddecimal/test.c (100%) rename {docs/tutorials => tutorials}/c-tiny/segmenter/.gitignore (100%) rename {docs/tutorials => tutorials}/c-tiny/segmenter/Cargo.lock (97%) rename {docs/tutorials => tutorials}/c-tiny/segmenter/Cargo.toml (100%) rename {docs/tutorials => tutorials}/c-tiny/segmenter/Makefile (100%) rename {docs/tutorials => tutorials}/c-tiny/segmenter/README.md (100%) rename {docs/tutorials => tutorials}/c-tiny/segmenter/test.c (100%) rename {docs/tutorials => tutorials}/c/.gitignore (100%) rename {docs/tutorials => tutorials}/c/Cargo.lock (98%) rename {docs/tutorials => tutorials}/c/Cargo.toml (100%) rename {docs/tutorials => tutorials}/c/Makefile (100%) rename {docs/tutorials => tutorials}/c/fixeddecimal.c (100%) rename {docs/tutorials => tutorials}/c/locale.c (100%) rename {docs/tutorials => tutorials}/c/pluralrules.c (100%) rename {docs/tutorials => tutorials}/cpp.md (100%) rename {docs/tutorials => tutorials}/cpp/.gitignore (100%) rename {docs/tutorials => tutorials}/cpp/Cargo.lock (98%) rename {docs/tutorials => tutorials}/cpp/Cargo.toml (100%) rename {docs/tutorials => tutorials}/cpp/Makefile (100%) rename {docs/tutorials => tutorials}/cpp/bidi.cpp (100%) rename {docs/tutorials => tutorials}/cpp/casemapping.cpp (100%) rename {docs/tutorials => tutorials}/cpp/collator.cpp (100%) rename {docs/tutorials => tutorials}/cpp/datetime.cpp (100%) rename {docs/tutorials => tutorials}/cpp/fixeddecimal.cpp (100%) rename {docs/tutorials => tutorials}/cpp/locale.cpp (100%) rename {docs/tutorials => tutorials}/cpp/pluralrules.cpp (95%) rename {docs/tutorials => tutorials}/cpp/properties.cpp (100%) rename {docs/tutorials => tutorials}/cpp/segmenter.cpp (100%) rename {docs/tutorials => tutorials}/data_management.md (100%) rename {docs/tutorials => tutorials}/data_management_interactive.md (100%) rename {docs/tutorials => tutorials}/data_provider.md (100%) rename {docs/tutorials => tutorials}/gn/.gitignore (100%) rename {docs/tutorials => tutorials}/gn/BUILD.gn (71%) rename {docs/tutorials => tutorials}/gn/BUILDCONFIG.gn (84%) rename {docs/tutorials => tutorials}/gn/Cargo.toml (100%) rename {docs/tutorials => tutorials}/gn/LICENSE (100%) rename {docs/tutorials => tutorials}/gn/README.md (100%) rename {docs/tutorials => tutorials}/gn/build/BUILD.gn (100%) rename {docs/tutorials => tutorials}/gn/build/rust_host/BUILD.gn (82%) rename {docs/tutorials => tutorials}/gn/build/rust_toolchain.gni (100%) rename {docs/tutorials => tutorials}/gn/build/rust_wasi/BUILD.gn (82%) rename {docs/tutorials => tutorials}/gn/gn.toml (86%) rename {docs/tutorials => tutorials}/gn/hello_world/BUILD.gn (77%) rename {docs/tutorials => tutorials}/gn/hello_world/print_hello.rs (100%) rename {docs/tutorials => tutorials}/gn/icu4x/README.md (100%) rename {docs/tutorials => tutorials}/gn/src/lib.rs (100%) rename {docs/tutorials => tutorials}/index.md (100%) rename {docs/tutorials => tutorials}/intro.md (100%) rename {docs/tutorials => tutorials}/intro_interactive.md (100%) rename {docs/tutorials => tutorials}/js-tiny/.gitignore (100%) rename {docs/tutorials => tutorials}/js-tiny/Cargo.lock (100%) rename {docs/tutorials => tutorials}/js-tiny/Cargo.toml (100%) rename {docs/tutorials => tutorials}/js-tiny/Makefile (100%) rename {docs/tutorials => tutorials}/js-tiny/README.md (100%) rename {docs/tutorials => tutorials}/js-tiny/ld.py (100%) rename {docs/tutorials => tutorials}/js-tiny/tiny.mjs (100%) rename {docs/tutorials => tutorials}/js.md (100%) rename {docs/tutorials => tutorials}/npm/.gitignore (100%) rename {docs/tutorials => tutorials}/npm/cors-config-file.json (100%) rename {docs/tutorials => tutorials}/npm/index.html (100%) rename {docs/tutorials => tutorials}/npm/index.js (100%) rename {docs/tutorials => tutorials}/npm/package-lock.json (100%) rename {docs/tutorials => tutorials}/npm/package.json (100%) rename {docs/tutorials => tutorials}/npm/src/scss/styles.scss (100%) rename {docs/tutorials => tutorials}/npm/src/ts/app.ts (100%) rename {docs/tutorials => tutorials}/npm/src/ts/date-time.ts (100%) rename {docs/tutorials => tutorials}/npm/src/ts/fixed-decimal.ts (100%) rename {docs/tutorials => tutorials}/npm/src/ts/index.ts (100%) rename {docs/tutorials => tutorials}/npm/src/ts/segmenter.ts (100%) rename {docs/tutorials => tutorials}/npm/tsconfig.json (100%) rename {docs/tutorials => tutorials}/npm/webpack.config.js (100%) rename {docs/tutorials => tutorials}/rust.md (100%) rename {docs/tutorials => tutorials}/rust/.gitignore (100%) rename {docs/tutorials => tutorials}/rust/baked/Cargo.lock (100%) rename {docs/tutorials => tutorials}/rust/baked/Cargo.toml (100%) rename {docs/tutorials => tutorials}/rust/baked/README.md (100%) rename {docs/tutorials => tutorials}/rust/baked/build.rs (100%) rename {docs/tutorials => tutorials}/rust/baked/src/main.rs (100%) rename {docs/tutorials => tutorials}/rust/buffer/.gitignore (100%) rename {docs/tutorials => tutorials}/rust/buffer/Cargo.lock (100%) rename {docs/tutorials => tutorials}/rust/buffer/Cargo.toml (100%) rename {docs/tutorials => tutorials}/rust/buffer/Makefile (100%) rename {docs/tutorials => tutorials}/rust/buffer/README.md (100%) rename {docs/tutorials => tutorials}/rust/buffer/src/main.rs (100%) rename {docs/tutorials => tutorials}/rust/custom_compiled/.gitignore (100%) rename {docs/tutorials => tutorials}/rust/custom_compiled/Cargo.lock (100%) rename {docs/tutorials => tutorials}/rust/custom_compiled/Cargo.toml (100%) rename {docs/tutorials => tutorials}/rust/custom_compiled/Makefile (100%) rename {docs/tutorials => tutorials}/rust/custom_compiled/README.md (100%) rename {docs/tutorials => tutorials}/rust/custom_compiled/src/main.rs (100%) rename {docs/tutorials => tutorials}/rust/default/Cargo.lock (100%) rename {docs/tutorials => tutorials}/rust/default/Cargo.toml (100%) rename {docs/tutorials => tutorials}/rust/default/README.md (100%) rename {docs/tutorials => tutorials}/rust/default/src/main.rs (100%) rename {docs/tutorials => tutorials}/rust/experimental/Cargo.lock (100%) rename {docs/tutorials => tutorials}/rust/experimental/Cargo.toml (100%) rename {docs/tutorials => tutorials}/rust/experimental/README.md (100%) rename {docs/tutorials => tutorials}/rust/experimental/src/main.rs (100%) rename {docs/tutorials => tutorials}/rust/sync/Cargo.lock (100%) rename {docs/tutorials => tutorials}/rust/sync/Cargo.toml (100%) rename {docs/tutorials => tutorials}/rust/sync/README.md (100%) rename {docs/tutorials => tutorials}/rust/sync/src/main.rs (100%) diff --git a/.github/workflows/artifacts-build.yml b/.github/workflows/artifacts-build.yml index 65959759a60..b20a1071230 100644 --- a/.github/workflows/artifacts-build.yml +++ b/.github/workflows/artifacts-build.yml @@ -186,7 +186,7 @@ jobs: cd ffi/npm make lib/index.mjs npm install typedoc - node_modules/typedoc/bin/typedoc lib/index.d.ts --out docs --readme ../../docs/tutorials/js.md --basePath lib + node_modules/typedoc/bin/typedoc lib/index.d.ts --out docs --readme ../../tutorials/js.md --basePath lib cd ../.. - name: Upload docs to Google Cloud Storage (non-main) @@ -282,19 +282,19 @@ jobs: - name: Init packages run: | npm -C ffi/npm ci - npm -C docs/tutorials/npm ci + npm -C tutorials/npm ci - name: Run Webpack - run: npm -C docs/tutorials/npm run build + run: npm -C tutorials/npm run build - name: Put index.html in dist for temp URL run: | - cp docs/tutorials/npm/index.html docs/tutorials/npm/dist/index.html - printf "const gcs=document.createElement('script');gcs.setAttribute('src','./bundle.js');document.body.appendChild(gcs);" > docs/tutorials/npm/dist/index.js + cp tutorials/npm/index.html tutorials/npm/dist/index.html + printf "const gcs=document.createElement('script');gcs.setAttribute('src','./bundle.js');document.body.appendChild(gcs);" > tutorials/npm/dist/index.js - name: Upload wasm-demo bundle to Google Cloud Storage run: | - gsutil -m cp -r docs/tutorials/npm/dist/* gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/wasm-demo + gsutil -m cp -r tutorials/npm/dist/* gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/wasm-demo - name: "⭐⭐⭐ Links to Uploaded Artifacts ⭐⭐⭐" run: | diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 82ebe253bb2..4d1a8449984 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -468,8 +468,8 @@ jobs: id: gn-third-party-tools-cache with: path: | - docs/tutorials/gn/third_party_tools - key: ${{ runner.os }}-${{ hashFiles('tools/make/gn.toml', 'docs/tutorials/gn/Cargo.lock') }} + tutorials/gn/third_party_tools + key: ${{ runner.os }}-${{ hashFiles('tools/make/gn.toml', 'tutorials/gn/Cargo.lock') }} - name: Install GN Third-Party Tools if: steps.gn-third-party-tools-cache.outputs.cache-hit != 'true' run: cargo make gn-install diff --git a/.gn b/.gn index ef33341d732..af3f2b5a291 100644 --- a/.gn +++ b/.gn @@ -1,2 +1,2 @@ -buildconfig = "//docs/tutorials/gn/BUILDCONFIG.gn" -root = "//docs/tutorials/gn:default" +buildconfig = "//tutorials/gn/BUILDCONFIG.gn" +root = "//tutorials/gn:default" diff --git a/CODEOWNERS b/CODEOWNERS index 3ecac49f715..1b2c079bcf1 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -23,7 +23,7 @@ components/normalizer/ @hsivonen @echeran components/plurals/ @zbraniecki @sffc components/segmenter/ @aethanyc @makotokato @sffc components/timezone/ @nordzilla -docs/tutorials/gn/ @sffc +tutorials/gn/ @sffc ffi/capi/ @Manishearth ffi/ecma402/ @filmil ffi/harfbuzz/ @hsivonen diff --git a/Cargo.toml b/Cargo.toml index c81f52bfe2d..c311537af44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ [workspace] resolver = "2" members = [ - # KEEP IN SYNC WITH workspace.dependencies and docs/tutorials/.cargo/config.toml + # KEEP IN SYNC WITH workspace.dependencies and tutorials/.cargo/config.toml # Components "components/calendar", @@ -89,7 +89,7 @@ members = [ "tools/md-tests", "ffi/dart/tools/datagen", ] -# Note: Workspaces in subdirectories, such as docs/tutorials/crates, are +# Note: Workspaces in subdirectories, such as tutorials/crates, are # implicitly excluded from the main workspace. exclude = [ # Testdata will still be published in the 1.x stream, but is deprecated @@ -98,7 +98,7 @@ exclude = [ # first. "provider/testdata", # Tutorials are tested outside the workspace to simulate external users - "docs", + "tutorials", ] [workspace.package] @@ -122,7 +122,7 @@ include = [ ] [workspace.dependencies] -# KEEP IN SYNC WITH workspace.members and docs/tutorials/.cargo/config.toml +# KEEP IN SYNC WITH workspace.members and tutorials/.cargo/config.toml # Components icu = { version = "~1.4.0", path = "components/icu", default-features = false } diff --git a/Makefile.toml b/Makefile.toml index 63235ef5766..9c89ac2f2a1 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -3,7 +3,7 @@ # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). extend = [ - { path = "./docs/tutorials/gn/gn.toml"}, # + { path = "./tutorials/gn/gn.toml"}, # { path = "./tools/make/data.toml"}, # { path = "./tools/make/valgrind.toml"}, # { path = "./tools/make/tidy.toml"}, # diff --git a/README.md b/README.md index 733957daa76..653814f33f9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The design goals of `ICU4X` are: ## Documentation -For an introduction to the project, please visit the ["Introduction to ICU4X for Rust"](docs/tutorials/intro.md) tutorial. Further tutorials can be found in the [tutorial index](docs/tutorials/index.md). +For an introduction to the project, please visit the ["Introduction to ICU4X for Rust"](tutorials/intro.md) tutorial. Further tutorials can be found in the [tutorial index](tutorials/index.md). For technical information on how to use ICU4X, visit our [API docs (latest stable)](https://docs.rs/icu/latest/) or [API docs (tip of main)](https://unicode-org.github.io/icu4x/rustdoc/icu/). diff --git a/components/calendar/src/lib.rs b/components/calendar/src/lib.rs index f6e0b1571c0..01ac9afa0ce 100644 --- a/components/calendar/src/lib.rs +++ b/components/calendar/src/lib.rs @@ -93,7 +93,7 @@ //! ``` //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/casemap/src/lib.rs b/components/casemap/src/lib.rs index 6d2ec42246b..96289cbd504 100644 --- a/components/casemap/src/lib.rs +++ b/components/casemap/src/lib.rs @@ -27,7 +27,7 @@ //! //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/collator/src/lib.rs b/components/collator/src/lib.rs index 23eda4d1ea2..223173a647a 100644 --- a/components/collator/src/lib.rs +++ b/components/collator/src/lib.rs @@ -6,7 +6,7 @@ // adapted from ICU4C and, therefore, are subject to the ICU license as // described in LICENSE. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/collections/src/codepointtrie/cptrie.rs b/components/collections/src/codepointtrie/cptrie.rs index 09b369653c4..29fffd7f3c2 100644 --- a/components/collections/src/codepointtrie/cptrie.rs +++ b/components/collections/src/codepointtrie/cptrie.rs @@ -31,7 +31,7 @@ use zerovec::ZeroVecError; /// the index array is larger. The minimum size is the "fast max" limit, which is the limit of the range /// of code points with 2 array lookups. /// -/// See the document [Unicode Properties and Code Point Tries in ICU4X](https://github.com/unicode-org/icu4x/blob/main/docs/design/properties_code_point_trie.md). +/// See the document [Unicode Properties and Code Point Tries in ICU4X](https://github.com/unicode-org/icu4x/blob/main/documents/design/properties_code_point_trie.md). /// /// Also see [`UCPTrieType`](https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/ucptrie_8h.html) in ICU4C. #[derive(Clone, Copy, PartialEq, Debug, Eq)] diff --git a/components/collections/src/lib.rs b/components/collections/src/lib.rs index c9622b401b7..3c37fcb4052 100644 --- a/components/collections/src/lib.rs +++ b/components/collections/src/lib.rs @@ -20,7 +20,7 @@ //! It is an implementation of the existing [ICU4C UCharsTrie](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1UCharsTrie.html) //! / [ICU4J CharsTrie](https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/util/CharsTrie.html) API. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/datetime/src/lib.rs b/components/datetime/src/lib.rs index 93e2db05809..03d13196874 100644 --- a/components/datetime/src/lib.rs +++ b/components/datetime/src/lib.rs @@ -112,7 +112,7 @@ //! [`timezone::CustomTimeZone`]: icu::timezone::{CustomTimeZone} //! [`TimeZoneFormatter`]: time_zone::TimeZoneFormatter -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/decimal/src/lib.rs b/components/decimal/src/lib.rs index cdc2b8b0830..9ef3222b430 100644 --- a/components/decimal/src/lib.rs +++ b/components/decimal/src/lib.rs @@ -74,7 +74,7 @@ //! //! [`FixedDecimalFormatter`]: FixedDecimalFormatter -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/experimental/src/compactdecimal/mod.rs b/components/experimental/src/compactdecimal/mod.rs index d98bd224f0c..54bb53b3510 100644 --- a/components/experimental/src/compactdecimal/mod.rs +++ b/components/experimental/src/compactdecimal/mod.rs @@ -4,7 +4,7 @@ //! Compact decimal -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/components/experimental/src/displaynames/mod.rs b/components/experimental/src/displaynames/mod.rs index 809e0f00fc5..64056796949 100644 --- a/components/experimental/src/displaynames/mod.rs +++ b/components/experimental/src/displaynames/mod.rs @@ -6,7 +6,7 @@ // TODO: expand documentation -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/components/experimental/src/lib.rs b/components/experimental/src/lib.rs index 7b91ba532d7..b9e8405cfba 100644 --- a/components/experimental/src/lib.rs +++ b/components/experimental/src/lib.rs @@ -7,7 +7,7 @@ //! It will usually undergo a major SemVer bump for every ICU4X release. Components in this //! crate will eventually stabilize and move to the `icu` crate. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] // No boilerplate, each module has their own #![allow(clippy::module_inception)] diff --git a/components/experimental/src/transliterate/mod.rs b/components/experimental/src/transliterate/mod.rs index f71fe4e1675..3f312594164 100644 --- a/components/experimental/src/transliterate/mod.rs +++ b/components/experimental/src/transliterate/mod.rs @@ -6,7 +6,7 @@ //! //! See [`Transliterator`]. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/components/experimental/src/unicodeset_parse/mod.rs b/components/experimental/src/unicodeset_parse/mod.rs index 87e8a09552e..ce588123f55 100644 --- a/components/experimental/src/unicodeset_parse/mod.rs +++ b/components/experimental/src/unicodeset_parse/mod.rs @@ -9,7 +9,7 @@ //! //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/components/icu/README.md b/components/icu/README.md index 025367670c2..08f3a76a023 100644 --- a/components/icu/README.md +++ b/components/icu/README.md @@ -126,7 +126,7 @@ are on track to be eventually stabilized into this crate. [`icu_provider_adapters`]: https://docs.rs/icu_provider_adapters/latest/icu_provider_adapters/ [`icu_datagen`]: https://docs.rs/icu_datagen/latest/icu_datagen/ [`icu4x-datagen`]: https://docs.rs/icu_datagen/latest/icu_datagen/ -[data management tutorial]: https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_provider.md#loading-additional-data-at-runtime +[data management tutorial]: https://github.com/unicode-org/icu4x/blob/main/tutorials/data_provider.md#loading-additional-data-at-runtime diff --git a/components/icu/src/lib.rs b/components/icu/src/lib.rs index 5ce7c1f9a9b..97f6bca7b87 100644 --- a/components/icu/src/lib.rs +++ b/components/icu/src/lib.rs @@ -128,9 +128,9 @@ //! [`Locale`]: crate::locid::Locale //! [`SymbolsV1`]: crate::decimal::provider::DecimalSymbolsV1 //! [`icu4x-datagen`]: https://docs.rs/icu_datagen/latest/icu_datagen/ -//! [data management tutorial]: https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_provider.md#loading-additional-data-at-runtime +//! [data management tutorial]: https://github.com/unicode-org/icu4x/blob/main/tutorials/data_provider.md#loading-additional-data-at-runtime -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/locid/src/lib.rs b/components/locid/src/lib.rs index 10f67f34093..f87cd711afb 100644 --- a/components/locid/src/lib.rs +++ b/components/locid/src/lib.rs @@ -46,7 +46,7 @@ //! [`ICU4X`]: ../icu/index.html //! [`Unicode Extensions`]: extensions -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/locid_transform/src/lib.rs b/components/locid_transform/src/lib.rs index 4c4e34aeae2..77b0c1639f7 100644 --- a/components/locid_transform/src/lib.rs +++ b/components/locid_transform/src/lib.rs @@ -70,7 +70,7 @@ //! [`UTS #35: Unicode LDML 3. Likely Subtags`]: https://www.unicode.org/reports/tr35/#Likely_Subtags. //! [`UTS #35: Unicode LDML 3. LocaleId Canonicalization`]: http://unicode.org/reports/tr35/#LocaleId_Canonicalization, -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index 9d71e72287a..67fe87f933b 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/plurals/src/lib.rs b/components/plurals/src/lib.rs index 0726a473a9d..c1ff7d3a663 100644 --- a/components/plurals/src/lib.rs +++ b/components/plurals/src/lib.rs @@ -58,7 +58,7 @@ //! //! [Language Plural Rules]: https://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/properties/src/lib.rs b/components/properties/src/lib.rs index c69cb968068..20fdc9f3026 100644 --- a/components/properties/src/lib.rs +++ b/components/properties/src/lib.rs @@ -51,7 +51,7 @@ //! [`CodePointMapData`]: crate::maps::CodePointMapData //! [`sets`]: crate::sets -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/segmenter/src/lib.rs b/components/segmenter/src/lib.rs index c0614568c89..63fc823377a 100644 --- a/components/segmenter/src/lib.rs +++ b/components/segmenter/src/lib.rs @@ -99,7 +99,7 @@ //! //! See [`SentenceSegmenter`] for more examples. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/components/timezone/src/lib.rs b/components/timezone/src/lib.rs index b1eb740229c..d2724e52464 100644 --- a/components/timezone/src/lib.rs +++ b/components/timezone/src/lib.rs @@ -107,7 +107,7 @@ //! assert_eq!("amce", time_zone.metazone_id.unwrap().0.as_str()); //! ``` -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/docs/tutorials/.cargo/config.toml b/docs/tutorials/.cargo/config.toml deleted file mode 100644 index 3821b1a9d1b..00000000000 --- a/docs/tutorials/.cargo/config.toml +++ /dev/null @@ -1,80 +0,0 @@ -# This file is part of ICU4X. For terms of use, please see the file -# called LICENSE at the top level of the ICU4X source tree -# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). - -# All code in tutorials is built outside the workspace, as a client would. -# In order to test with repo code, this config.toml is used automatically -# by cargo for any invocation inside docs/tutorials/. - -[patch.crates-io] -# KEEP IN SYNC WITH TOP-LEVEL Cargo.toml - -# Components -icu = { path = "../../components/icu" } -icu_calendar = { path = "../../components/calendar" } -icu_casemap = { path = "../../components/casemap" } -icu_collator = { path = "../../components/collator" } -icu_collections = { path = "../../components/collections" } -icu_codepointtrie_builder = { path = "../../components/collections/codepointtrie_builder" } -icu_datetime = { path = "../../components/datetime" } -icu_decimal = { path = "../../components/decimal" } -icu_experimental = { path = "../../components/experimental" } -icu_list = { path = "../../components/list" } -icu_locid = { path = "../../components/locid" } -icu_locid_transform = { path = "../../components/locid_transform" } -icu_normalizer = { path = "../../components/normalizer" } -icu_plurals = { path = "../../components/plurals" } -icu_properties = { path = "../../components/properties" } -icu_segmenter = { path = "../../components/segmenter" } -icu_timezone = { path = "../../components/timezone" } - -# FFI -icu_capi = { path = "../../ffi/capi" } -icu4x_ecma402 = { path = "../../ffi/ecma402" } -icu_freertos = { path = "../../ffi/freertos" } -icu_harfbuzz = { path = "../../ffi/harfbuzz" } - -# Provider -icu_datagen = { path = "../../provider/datagen" } -icu_provider = { path = "../../provider/core" } -icu_provider_macros = { path = "../../provider/core/macros" } -icu_provider_adapters = { path = "../../provider/adapters" } -icu_provider_blob = { path = "../../provider/blob" } -icu_provider_fs = { path = "../../provider/fs/" } - -# Baked data -icu_calendar_data = { path = "../../provider/baked/calendar" } -icu_casemap_data = { path = "../../provider/baked/casemap" } -icu_collator_data = { path = "../../provider/baked/collator" } -icu_datetime_data = { path = "../../provider/baked/datetime" } -icu_decimal_data = { path = "../../provider/baked/decimal" } -icu_experimental_data = { path = "../../provider/baked/experimental" } -icu_list_data = { path = "../../provider/baked/list" } -icu_locid_transform_data = { path = "../../provider/baked/locid_transform" } -icu_normalizer_data = { path = "../../provider/baked/normalizer" } -icu_plurals_data = { path = "../../provider/baked/plurals" } -icu_properties_data = { path = "../../provider/baked/properties"} -icu_segmenter_data = { path = "../../provider/baked/segmenter" } -icu_timezone_data = { path = "../../provider/baked/timezone" } - -bies = { path = "../../utils/bies" } -crlify = { path = "../../utils/crlify" } -databake = { path = "../../utils/databake" } -databake-derive = { path = "../../utils/databake/derive" } -deduplicating_array = { path = "../../utils/deduplicating_array" } -fixed_decimal = { path = "../../utils/fixed_decimal" } -icu_pattern = { path = "../../utils/pattern" } -ixdtf = { path = "../../utils/ixdtf" } -litemap = { path = "../../utils/litemap" } -tinystr = { path = "../../utils/tinystr" } -tzif = { path = "../../utils/tzif" } -writeable = { path = "../../utils/writeable/" } -yoke = { path = "../../utils/yoke" } -yoke-derive = { path = "../../utils/yoke/derive" } -zerofrom = { path = "../../utils/zerofrom" } -zerofrom-derive = { path = "../../utils/zerofrom/derive" } -zerotrie = { path = "../../utils/zerotrie" } -zerovec = { path = "../../utils/zerovec" } -zerovec-derive = { path = "../../utils/zerovec/derive" } - -icu_benchmark_macros = { path = "../../tools/benchmark/macros" } diff --git a/docs/README.md b/documents/README.md similarity index 100% rename from docs/README.md rename to documents/README.md diff --git a/docs/assets/data_lifecycle.svg b/documents/assets/data_lifecycle.svg similarity index 100% rename from docs/assets/data_lifecycle.svg rename to documents/assets/data_lifecycle.svg diff --git a/docs/assets/ergonomic_logical.svg b/documents/assets/ergonomic_logical.svg similarity index 100% rename from docs/assets/ergonomic_logical.svg rename to documents/assets/ergonomic_logical.svg diff --git a/docs/assets/json_data_provider.svg b/documents/assets/json_data_provider.svg similarity index 100% rename from docs/assets/json_data_provider.svg rename to documents/assets/json_data_provider.svg diff --git a/docs/assets/multi_provider_architecture.svg b/documents/assets/multi_provider_architecture.svg similarity index 100% rename from docs/assets/multi_provider_architecture.svg rename to documents/assets/multi_provider_architecture.svg diff --git a/docs/assets/reviewers-1.png b/documents/assets/reviewers-1.png similarity index 100% rename from docs/assets/reviewers-1.png rename to documents/assets/reviewers-1.png diff --git a/docs/assets/reviewers-2.png b/documents/assets/reviewers-2.png similarity index 100% rename from docs/assets/reviewers-2.png rename to documents/assets/reviewers-2.png diff --git a/docs/assets/reviewers-3.png b/documents/assets/reviewers-3.png similarity index 100% rename from docs/assets/reviewers-3.png rename to documents/assets/reviewers-3.png diff --git a/docs/design/data_pipeline.md b/documents/design/data_pipeline.md similarity index 100% rename from docs/design/data_pipeline.md rename to documents/design/data_pipeline.md diff --git a/docs/design/data_safety.md b/documents/design/data_safety.md similarity index 100% rename from docs/design/data_safety.md rename to documents/design/data_safety.md diff --git a/docs/design/enums_or_ids.md b/documents/design/enums_or_ids.md similarity index 100% rename from docs/design/enums_or_ids.md rename to documents/design/enums_or_ids.md diff --git a/docs/design/locale_fallback_and_negotiation.md b/documents/design/locale_fallback_and_negotiation.md similarity index 100% rename from docs/design/locale_fallback_and_negotiation.md rename to documents/design/locale_fallback_and_negotiation.md diff --git a/docs/design/principles.md b/documents/design/principles.md similarity index 100% rename from docs/design/principles.md rename to documents/design/principles.md diff --git a/docs/design/properties_code_point_trie.md b/documents/design/properties_code_point_trie.md similarity index 100% rename from docs/design/properties_code_point_trie.md rename to documents/design/properties_code_point_trie.md diff --git a/docs/design/string_representation.md b/documents/design/string_representation.md similarity index 100% rename from docs/design/string_representation.md rename to documents/design/string_representation.md diff --git a/docs/design/why_rust.md b/documents/design/why_rust.md similarity index 100% rename from docs/design/why_rust.md rename to documents/design/why_rust.md diff --git a/docs/minutes/icu4x-tc_2024-03-14.md b/documents/minutes/icu4x-tc_2024-03-14.md similarity index 100% rename from docs/minutes/icu4x-tc_2024-03-14.md rename to documents/minutes/icu4x-tc_2024-03-14.md diff --git a/docs/posts/20201015_ICU4X_Project_Announcement.md b/documents/posts/20201015_ICU4X_Project_Announcement.md similarity index 96% rename from docs/posts/20201015_ICU4X_Project_Announcement.md rename to documents/posts/20201015_ICU4X_Project_Announcement.md index a827b4b2972..7b45adbb1ec 100644 --- a/docs/posts/20201015_ICU4X_Project_Announcement.md +++ b/documents/posts/20201015_ICU4X_Project_Announcement.md @@ -30,7 +30,7 @@ ICU4X is highly modular allowing users to easily select and chunk pieces of the ### Flexible Data Management -[Data management](https://github.com/unicode-org/icu4x/blob/main/docs/design/data_pipeline.md) is a complex subcomponent of every internationalization ecosystem. Inflexible data management forces users to select which data and which locales are going to be available to users, which is a practice that goes against the idea of universal access to the system. +[Data management](https://github.com/unicode-org/icu4x/blob/main/documents/design/data_pipeline.md) is a complex subcomponent of every internationalization ecosystem. Inflexible data management forces users to select which data and which locales are going to be available to users, which is a practice that goes against the idea of universal access to the system. What’s more, such architecture forces trade-offs and compromises in which benefiting some users puts additional cost on other users, companies and degrades performance. diff --git a/docs/posts/20210427_ICU4X_02_Release.md b/documents/posts/20210427_ICU4X_02_Release.md similarity index 97% rename from docs/posts/20210427_ICU4X_02_Release.md rename to documents/posts/20210427_ICU4X_02_Release.md index 34d1f9ce2dd..ae6fd952b3d 100644 --- a/docs/posts/20210427_ICU4X_02_Release.md +++ b/documents/posts/20210427_ICU4X_02_Release.md @@ -53,8 +53,8 @@ For details, please see [CHANGELOG](https://github.com/unicode-org/icu4x/blob/ma [`FixedDecimal`]: https://unicode-org.github.io/icu4x/rustdoc/fixed_decimal/index.html [`ICU Pattern`]: https://unicode-org.github.io/icu4x/rustdoc/icu_pattern/index.html [`CLDR 39.0`]: http://cldr.unicode.org/index/downloads/cldr-39 -[testers]: https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/intro.md +[testers]: https://github.com/unicode-org/icu4x/blob/main/tutorials/intro.md [contributors]: https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md -[1.0 release]: https://github.com/unicode-org/icu4x/blob/main/docs/process/roadmap.md +[1.0 release]: https://github.com/unicode-org/icu4x/blob/main/documents/process/roadmap.md [Foreign Function Interface]: https://en.wikipedia.org/wiki/Foreign_function_interface [WebAssembly]: https://webassembly.org/ diff --git a/docs/process/benchmarking.md b/documents/process/benchmarking.md similarity index 100% rename from docs/process/benchmarking.md rename to documents/process/benchmarking.md diff --git a/docs/process/boilerplate.md b/documents/process/boilerplate.md similarity index 87% rename from docs/process/boilerplate.md rename to documents/process/boilerplate.md index 6e368b340a4..9d0b1547ad1 100644 --- a/docs/process/boilerplate.md +++ b/documents/process/boilerplate.md @@ -12,7 +12,7 @@ In order to assert that library crates conform to the ICU4X style guide, the fol If the crate has no `std` feature: - // https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations + // https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(test), no_std)] #![cfg_attr( not(test), @@ -32,7 +32,7 @@ Not all crates are yet able to be annotated in this way. Annotations may be omit If the crate has an `std` feature, specify this in the first line: - // https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations + // https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/docs/process/bylaws.md b/documents/process/bylaws.md similarity index 100% rename from docs/process/bylaws.md rename to documents/process/bylaws.md diff --git a/docs/process/charter.md b/documents/process/charter.md similarity index 100% rename from docs/process/charter.md rename to documents/process/charter.md diff --git a/docs/process/ci_build.md b/documents/process/ci_build.md similarity index 100% rename from docs/process/ci_build.md rename to documents/process/ci_build.md diff --git a/docs/process/crate_ownership.md b/documents/process/crate_ownership.md similarity index 100% rename from docs/process/crate_ownership.md rename to documents/process/crate_ownership.md diff --git a/docs/process/data_versioning.md b/documents/process/data_versioning.md similarity index 100% rename from docs/process/data_versioning.md rename to documents/process/data_versioning.md diff --git a/docs/process/graduation.md b/documents/process/graduation.md similarity index 95% rename from docs/process/graduation.md rename to documents/process/graduation.md index 7d1bf4f50a0..39d3431148e 100644 --- a/docs/process/graduation.md +++ b/documents/process/graduation.md @@ -3,8 +3,8 @@ Graduating Components from Experimental This document contains a checklist for the requirements to migrate a component from experimental. -- [ ] The crate should fully conform with the [ICU4X Style Guide](https://github.com/unicode-org/icu4x/blob/main/docs/process/style_guide.md): - - [ ] The crate should have a complete library header as shown in [boilerplate.md](https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md) with Clippy passing +- [ ] The crate should fully conform with the [ICU4X Style Guide](https://github.com/unicode-org/icu4x/blob/main/documents/process/style_guide.md): + - [ ] The crate should have a complete library header as shown in [boilerplate.md](https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md) with Clippy passing - [ ] The names of exported types should conform to the recommendations in the Style Guide - [ ] All Error types should be `Copy` - [ ] All constructors should take options structs by value @@ -31,7 +31,7 @@ This document contains a checklist for the requirements to migrate a component f - [ ] Deserialization should not have a "zero-copy violation" in the [make-testdata](https://github.com/unicode-org/icu4x/blob/main/provider/datagen/tests/make-testdata.rs) test - [ ] Constructors should avoid allocating memory in the common case - [ ] Opaque blobs of data should be avoided if possible (instead use VarZeroVec, ZeroMap, etc.) - - [ ] Data structs should not be panicky to load/deserialize and conform to [data_safety.md](https://github.com/unicode-org/icu4x/blob/main/docs/design/data_safety.md) + - [ ] Data structs should not be panicky to load/deserialize and conform to [data_safety.md](https://github.com/unicode-org/icu4x/blob/main/documents/design/data_safety.md) - [ ] The component should be fully integrated with ICU4X tooling - [ ] There should be an overview Criterion benchmark - [ ] There should be individual Criterion benchmarks for interesting or performance critical code paths diff --git a/docs/process/issues.md b/documents/process/issues.md similarity index 95% rename from docs/process/issues.md rename to documents/process/issues.md index 1f6b6b53a38..a1d4f661403 100644 --- a/docs/process/issues.md +++ b/documents/process/issues.md @@ -12,7 +12,7 @@ Follow these guidelines when opening an issue: 2. **Post clarifying questions** in [the "Discussions" tab](https://github.com/unicode-org/icu4x/discussions). - The issue tracker should be for _bugs_ and _feature requests_. If you are having trouble following a tutorial or have some other question about _using_ ICU4X, please post your question in the "Discussions" tab. 3. **Verify whether this is a data issue.** ICU4X is a data-driven library and many bugs observed in ICU4X may be issues in CLDR instead. - - Read the [CLDR issue reporting guidelines](https://github.com/unicode-org/cldr/blob/main/docs/requesting_changes.md) for more information on the CLDR process. + - Read the [CLDR issue reporting guidelines](https://github.com/unicode-org/cldr/blob/main/documents/requesting_changes.md) for more information on the CLDR process. 4. **Check whether the issue has been fixed.** Sometimes if you pull ICU4X from the main branch, the issue is not reproducible. - To do this easily in your Cargo.toml file, replace your ICU4X dependency line with `icu = { git = "https://github.com/unicode-org/icu4x.git" }` 5. **Isolate the problem.** Small, reproducible issues are more actionable than large, vague ones. diff --git a/docs/process/markdown_tips.md b/documents/process/markdown_tips.md similarity index 98% rename from docs/process/markdown_tips.md rename to documents/process/markdown_tips.md index 8cb78c3c00d..e5debbef34c 100644 --- a/docs/process/markdown_tips.md +++ b/documents/process/markdown_tips.md @@ -41,4 +41,4 @@ Here is how others can view your Markdown with images in a PR: 1. In the PR, click "Files Changed" (goes to /pull/123/files) 2. Find the Markdown file you want to preview -3. Click the three dots (...) to open the menu, then click "View File" (goes to /blob/abcdef0/docs/example.md) +3. Click the three dots (...) to open the menu, then click "View File" (goes to /blob/abcdef0/documents/example.md) diff --git a/docs/process/prd.md b/documents/process/prd.md similarity index 96% rename from docs/process/prd.md rename to documents/process/prd.md index aa9aea8669d..a801418ef0e 100644 --- a/docs/process/prd.md +++ b/documents/process/prd.md @@ -1,6 +1,6 @@ # ICU4X 1.0 Product Requirement Document (PRD) -[ICU4X is an effort](https://github.com/unicode-org/icu4x/blob/master/docs/process/charter.md) under [Unicode](https://unicode.org/) guidance to develop a set of [Unicode Components](http://site.icu-project.org/) with focus on modularity, composability, and FFI supporting the scope of [ECMA-402](https://tc39.es/ecma402/) and written in accordance with modern internationalization techniques and standards. +[ICU4X is an effort](https://github.com/unicode-org/icu4x/blob/main/documents/process/charter.md) under [Unicode](https://unicode.org/) guidance to develop a set of [Unicode Components](http://site.icu-project.org/) with focus on modularity, composability, and FFI supporting the scope of [ECMA-402](https://tc39.es/ecma402/) and written in accordance with modern internationalization techniques and standards. The effort, currently driven mostly by engineering resources from Google and Mozilla, has been in development since February 2020 and we’re now looking to establish the criteria for evaluation of its value proposition and business fit. @@ -10,7 +10,7 @@ The following is the vision for a stable, production ready 1.0 release and miles Primarily, ICU4X aims to offer a more modular approach to internationalization, allowing client-side and resource-constrained environments to fine-tune the payload they vendor-in to maximize the quality and breadth of the internationalization coverage and relax the constraints internationalization imposes on product release cycles. -Secondarily, ICU4X aims to provide a single [high quality](https://github.com/unicode-org/icu4x/blob/master/docs/process/benchmarking.md) Internationalization API implementation written in a modern language, with [low memory overhead and great runtime performance](https://github.com/zbraniecki/intl-measurements/), exposed to many target ecosystems via robust FFI. +Secondarily, ICU4X aims to provide a single [high quality](https://github.com/unicode-org/icu4x/blob/main/documents/process/benchmarking.md) Internationalization API implementation written in a modern language, with [low memory overhead and great runtime performance](https://github.com/zbraniecki/intl-measurements/), exposed to many target ecosystems via robust FFI. This will reduce the maintenance cost of internationalization stacks and improve access to high quality internationalization in multi-stack environments. Finally, ICU4X will offer a powerful and flexible data management system, enabling sophisticated software release models and long-lived software processes to maintain data selection and updates. @@ -55,7 +55,7 @@ By introducing ICU4X to the community, we have a chance to attract high-quality ICU4X 0.1’s selection of components aimed to: -- Validate low-level models around [data management](https://github.com/unicode-org/icu4x/blob/master/docs/design/data_pipeline.md) +- Validate low-level models around [data management](https://github.com/unicode-org/icu4x/blob/main/documents/design/data_pipeline.md) - Establish project culture using simple building blocks such as [Locale](https://docs.rs/icu_locid/0.1.0/icu_locid/) and [Plural Rules](https://docs.rs/icu_plurals/0.1.0/icu_plurals/) - Introduce a low-level foundation for string operations with [CodePointSet](https://docs.rs/icu_uniset/0.1.0/icu_uniset/) - Expose a single, high-level, highly requested API - [DateTimeFormat](https://docs.rs/icu_datetime/0.1.0/icu_datetime/) diff --git a/docs/process/release.md b/documents/process/release.md similarity index 100% rename from docs/process/release.md rename to documents/process/release.md diff --git a/docs/process/roadmap.md b/documents/process/roadmap.md similarity index 100% rename from docs/process/roadmap.md rename to documents/process/roadmap.md diff --git a/docs/process/rust_versions.md b/documents/process/rust_versions.md similarity index 100% rename from docs/process/rust_versions.md rename to documents/process/rust_versions.md diff --git a/docs/process/style_guide.md b/documents/process/style_guide.md similarity index 100% rename from docs/process/style_guide.md rename to documents/process/style_guide.md diff --git a/docs/process/triaging.md b/documents/process/triaging.md similarity index 100% rename from docs/process/triaging.md rename to documents/process/triaging.md diff --git a/docs/process/writing_a_new_data_struct.md b/documents/process/writing_a_new_data_struct.md similarity index 98% rename from docs/process/writing_a_new_data_struct.md rename to documents/process/writing_a_new_data_struct.md index 2d01ce5d9e5..e4d7ee240a2 100644 --- a/docs/process/writing_a_new_data_struct.md +++ b/documents/process/writing_a_new_data_struct.md @@ -34,7 +34,7 @@ The data struct definitions should live in the crate that uses them. By conventi In general, data structs should be annotated with `#[icu_provider::data_struct]`, and they should support *at least* `Debug`, `PartialEq`, `Clone`, `Default`, and Serde `Serialize` and `Deserialize`. -As explained in *data_pipeline.md*, the data struct should support zero-copy deserialization. The `#[icu_provider::data_struct]` annotation will enforce this for you. **See more information in [style_guide.md](https://github.com/unicode-org/icu4x/blob/main/docs/process/style_guide.md#zero-copy-in-dataprovider-structs--required),** as well as the example below in this tutorial. +As explained in *data_pipeline.md*, the data struct should support zero-copy deserialization. The `#[icu_provider::data_struct]` annotation will enforce this for you. **See more information in [style_guide.md](https://github.com/unicode-org/icu4x/blob/main/documents/process/style_guide.md#zero-copy-in-dataprovider-structs--required),** as well as the example below in this tutorial. Additionally, data structs should keep internal invariants to a minimum. For more information, see [data_safety.md](../design/data_safety.md). diff --git a/docs/proposals/README.md b/documents/proposals/README.md similarity index 100% rename from docs/proposals/README.md rename to documents/proposals/README.md diff --git a/docs/proposals/pr001-ecma402.md b/documents/proposals/pr001-ecma402.md similarity index 100% rename from docs/proposals/pr001-ecma402.md rename to documents/proposals/pr001-ecma402.md diff --git a/docs/proposals/pr002-hunkspace.md b/documents/proposals/pr002-hunkspace.md similarity index 98% rename from docs/proposals/pr002-hunkspace.md rename to documents/proposals/pr002-hunkspace.md index d717b2e4b10..cc289fd8f11 100644 --- a/docs/proposals/pr002-hunkspace.md +++ b/documents/proposals/pr002-hunkspace.md @@ -22,10 +22,10 @@ more general and open to independent third party extensions. > inconsistent word use is a bug, and should be fixed. [cldr]: http://cldr.unicode.org -[dp]: https://github.com/unicode-org/icu4x/blob/main/docs/design/data_pipeline.md +[dp]: https://github.com/unicode-org/icu4x/blob/main/documents/design/data_pipeline.md [ff]: https://github.com/filmil -[hunk]: https://github.com/unicode-org/icu4x/blob/main/docs/design/data_pipeline.md -[icudp]: https://github.com/unicode-org/icu4x/blob/main/docs/design/data_pipeline.md +[hunk]: https://github.com/unicode-org/icu4x/blob/main/documents/design/data_pipeline.md +[icudp]: https://github.com/unicode-org/icu4x/blob/main/documents/design/data_pipeline.md [zb]: https://github.com/zbraniecki ## Prior Art @@ -36,7 +36,7 @@ the API by using *Data Providers*.  The API is using the `key:request/value:response` pattern.  See [Request][rq] in the source code for the example key. -[dm]: https://github.com/unicode-org/icu4x/blob/main/docs/design/data_pipeline.md +[dm]: https://github.com/unicode-org/icu4x/blob/main/documents/design/data_pipeline.md [rq]: https://github.com/unicode-org/icu4x/blob/main/provider/cldr/src/lib.rs ## Use cases diff --git a/docs/proposals/pr002/image1.png b/documents/proposals/pr002/image1.png similarity index 100% rename from docs/proposals/pr002/image1.png rename to documents/proposals/pr002/image1.png diff --git a/docs/research/data_phases.md b/documents/research/data_phases.md similarity index 100% rename from docs/research/data_phases.md rename to documents/research/data_phases.md diff --git a/docs/research/datetime.md b/documents/research/datetime.md similarity index 95% rename from docs/research/datetime.md rename to documents/research/datetime.md index 763800feea5..df384d5754e 100644 --- a/docs/research/datetime.md +++ b/documents/research/datetime.md @@ -4,7 +4,7 @@ In ICU4X 0.1 we introduce a `DateTimeFormat` API for formatting date and time in In order to clearly separate the concerns, we are leaving a challenging task of designing a complete solution for date and time management to the Rust community, and we can only formulate the request for what API ICU4X will need to format such structure. -We have prepared [a design doc](https://github.com/unicode-org/icu4x/blob/main/docs/datetime-input.md) discussing the data we need in ICU4X DateTimeFormat in order to produce properly localized strings. +We have prepared [a design doc](https://github.com/unicode-org/icu4x/blob/main/documents/datetime-input.md) discussing the data we need in ICU4X DateTimeFormat in order to produce properly localized strings. ## Separation of Concerns diff --git a/docs/research/datetime_input.md b/documents/research/datetime_input.md similarity index 100% rename from docs/research/datetime_input.md rename to documents/research/datetime_input.md diff --git a/docs/research/ecosystem.md b/documents/research/ecosystem.md similarity index 100% rename from docs/research/ecosystem.md rename to documents/research/ecosystem.md diff --git a/docs/research/format_to_parts.md b/documents/research/format_to_parts.md similarity index 100% rename from docs/research/format_to_parts.md rename to documents/research/format_to_parts.md diff --git a/docs/research/wasm_vs_transpiler.md b/documents/research/wasm_vs_transpiler.md similarity index 100% rename from docs/research/wasm_vs_transpiler.md rename to documents/research/wasm_vs_transpiler.md diff --git a/docs/research/wrapper_layer.md b/documents/research/wrapper_layer.md similarity index 100% rename from docs/research/wrapper_layer.md rename to documents/research/wrapper_layer.md diff --git a/ffi/README.md b/ffi/README.md index 906291709ff..a3d0330cf6b 100644 --- a/ffi/README.md +++ b/ffi/README.md @@ -4,7 +4,7 @@ This folder contains various FFI wrappers for ICU4X. The primary ICU4X FFI is generated via [Diplomat](https://github.com/rust-diplomat/diplomat/) and can be found under `ffi/capi`, alongside generated C, C++, JS, TS, and Dart bindings. -In C and C++, the bindings in `ffi/capi/bindings` can be directly used and linked against a compiled version of `icu_capi`. See our [C++ tutorial](https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/cpp.md) for more info. +In C and C++, the bindings in `ffi/capi/bindings` can be directly used and linked against a compiled version of `icu_capi`. See our [C++ tutorial](https://github.com/unicode-org/icu4x/blob/main/tutorials/cpp.md) for more info. For JS/TS we provide an NPM package in `ffi/npm`. This is currently not published on NPM. @@ -12,4 +12,4 @@ For Dart we provide a package in `ffi/dart`. This needs to be initialised with ` For use in FreeRTOS, we provide a special wrapper in `ffi/freertos`. This uses the FreeRTOS allocator and can be linked directly with a FreeRTOS firmware. -For use with the GN build tool, see `docs/tutorials/gn` for an example setup. +For use with the GN build tool, see `tutorials/gn` for an example setup. diff --git a/ffi/capi/README.md b/ffi/capi/README.md index 0b8666bf9bb..7aa74614f8a 100644 --- a/ffi/capi/README.md +++ b/ffi/capi/README.md @@ -19,7 +19,7 @@ and a panic hook in order to compile as a C library. More information on using ICU4X from C++ can be found in [our tutorial]. -[our tutorial]: https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/cpp.md +[our tutorial]: https://github.com/unicode-org/icu4x/blob/main/tutorials/cpp.md [TypeScript]: https://unicode-org.github.io/icu4x/tsdoc [C++]: https://unicode-org.github.io/icu4x/cppdoc diff --git a/ffi/capi/src/lib.rs b/ffi/capi/src/lib.rs index 5812a9e4d5e..251b80fdd41 100644 --- a/ffi/capi/src/lib.rs +++ b/ffi/capi/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr( not(test), @@ -38,7 +38,7 @@ //! //! More information on using ICU4X from C++ can be found in [our tutorial]. //! -//! [our tutorial]: https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/cpp.md +//! [our tutorial]: https://github.com/unicode-org/icu4x/blob/main/tutorials/cpp.md //! [TypeScript]: https://unicode-org.github.io/icu4x/tsdoc //! [C++]: https://unicode-org.github.io/icu4x/cppdoc diff --git a/ffi/ecma402/src/lib.rs b/ffi/ecma402/src/lib.rs index ee9884d1326..959b8299925 100644 --- a/ffi/ecma402/src/lib.rs +++ b/ffi/ecma402/src/lib.rs @@ -4,7 +4,7 @@ //! This crate provides an experimental implementation of the `ECMA-402` traits using `ICU4X` library. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/ffi/freertos/src/lib.rs b/ffi/freertos/src/lib.rs index 70bee345070..7f1e1963aaa 100644 --- a/ffi/freertos/src/lib.rs +++ b/ffi/freertos/src/lib.rs @@ -13,7 +13,7 @@ //! `--cfg needs_alloc_error_handler` flag: if using a custom build system and a nightly from //! 2022 or earlier, please set this flag. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![no_std] #![cfg_attr( not(test), diff --git a/ffi/harfbuzz/src/lib.rs b/ffi/harfbuzz/src/lib.rs index 2202fbeba98..b063ec8ae58 100644 --- a/ffi/harfbuzz/src/lib.rs +++ b/ffi/harfbuzz/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( diff --git a/provider/adapters/src/lib.rs b/provider/adapters/src/lib.rs index 81987f87785..5b155d7e295 100644 --- a/provider/adapters/src/lib.rs +++ b/provider/adapters/src/lib.rs @@ -9,7 +9,7 @@ //! - Use the [`filter`] module to programmatically reject certain data requests. //! - Use the [`fallback`] module to automatically resolve arbitrary locales for data loading. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/provider/blob/src/export/mod.rs b/provider/blob/src/export/mod.rs index e6a48ae5957..ad4886617bc 100644 --- a/provider/blob/src/export/mod.rs +++ b/provider/blob/src/export/mod.rs @@ -6,7 +6,7 @@ //! //! This module can be used as a target for the `icu_datagen` crate. //! -//! See our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md) for more information about different data providers. +//! See our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/tutorials/data_management.md) for more information about different data providers. //! //! # Examples //! diff --git a/provider/blob/src/lib.rs b/provider/blob/src/lib.rs index bf43aa3374d..fe8fc6d870b 100644 --- a/provider/blob/src/lib.rs +++ b/provider/blob/src/lib.rs @@ -17,7 +17,7 @@ //! [`BufferProvider`]: icu_provider::BufferProvider //! [`icu_datagen`]: ../icu_datagen/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/provider/core/macros/src/lib.rs b/provider/core/macros/src/lib.rs index 6872100c2d8..b670a4ce79c 100644 --- a/provider/core/macros/src/lib.rs +++ b/provider/core/macros/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/provider/core/src/lib.rs b/provider/core/src/lib.rs index 493ea7130c4..e90fa483e5a 100644 --- a/provider/core/src/lib.rs +++ b/provider/core/src/lib.rs @@ -115,7 +115,7 @@ //! [`BlobDataProvider`]: ../icu_provider_blob/struct.BlobDataProvider.html //! [`icu_datagen`]: ../icu_datagen/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/provider/datagen/README.md b/provider/datagen/README.md index 2e6a738667a..d0dc07e7adf 100644 --- a/provider/datagen/README.md +++ b/provider/datagen/README.md @@ -8,7 +8,7 @@ Data files can be generated either programmatically (i.e. in `build.rs`), or thr command-line utility. -Also see our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md). +Also see our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/tutorials/data_management.md). ## Examples diff --git a/provider/datagen/src/baked_exporter.rs b/provider/datagen/src/baked_exporter.rs index 98c4a8c3e49..da4450f0412 100644 --- a/provider/datagen/src/baked_exporter.rs +++ b/provider/datagen/src/baked_exporter.rs @@ -6,7 +6,7 @@ //! //! This module can be used as a target for the `icu_datagen` crate. //! -//! See our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md) for more information about different data providers. +//! See our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/tutorials/data_management.md) for more information about different data providers. //! //! # Examples //! diff --git a/provider/datagen/src/lib.rs b/provider/datagen/src/lib.rs index 75704c6c0e0..0e902e1a8f7 100644 --- a/provider/datagen/src/lib.rs +++ b/provider/datagen/src/lib.rs @@ -9,7 +9,7 @@ //! command-line utility. //! //! -//! Also see our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md). +//! Also see our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/tutorials/data_management.md). //! //! # Examples //! diff --git a/provider/datagen/tests/data/gen.sh b/provider/datagen/tests/data/gen.sh index 0baea816df3..921a2c4ac39 100755 --- a/provider/datagen/tests/data/gen.sh +++ b/provider/datagen/tests/data/gen.sh @@ -1,7 +1,7 @@ #!/bin/bash -pushd $(dirname "$0")/../../../../docs/tutorials/rust/buffer +pushd $(dirname "$0")/../../../../tutorials/rust/buffer cargo +nightly build --target wasm32-unknown-unknown --release -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort popd -cp $(dirname "$0")/../../../../docs/tutorials/rust/buffer/target/wasm32-unknown-unknown/release/tutorial_buffer.wasm $(dirname "$0") +cp $(dirname "$0")/../../../../tutorials/rust/buffer/target/wasm32-unknown-unknown/release/tutorial_buffer.wasm $(dirname "$0") \ No newline at end of file diff --git a/provider/fs/src/export/mod.rs b/provider/fs/src/export/mod.rs index 749e7f704ca..6ff11fb79da 100644 --- a/provider/fs/src/export/mod.rs +++ b/provider/fs/src/export/mod.rs @@ -6,7 +6,7 @@ //! //! This module can be used as a target for the `icu_datagen` crate. //! -//! See our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md) for more information about different data providers. +//! See our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/main/tutorials/data_management.md) for more information about different data providers. //! //! # Examples //! diff --git a/provider/fs/src/lib.rs b/provider/fs/src/lib.rs index c0ff6568e8b..2e429c8f2d1 100644 --- a/provider/fs/src/lib.rs +++ b/provider/fs/src/lib.rs @@ -76,7 +76,7 @@ //! //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/provider/testdata/src/lib.rs b/provider/testdata/src/lib.rs index ed3718f9c1d..11a72c56d22 100644 --- a/provider/testdata/src/lib.rs +++ b/provider/testdata/src/lib.rs @@ -51,7 +51,7 @@ //! //! [`ICU4X`]: https://docs.rs/icu/latest/icu/ -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/tools/benchmark/macros/src/lib.rs b/tools/benchmark/macros/src/lib.rs index ef54c19bef3..35eec7c43c8 100644 --- a/tools/benchmark/macros/src/lib.rs +++ b/tools/benchmark/macros/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/tools/config.doxy b/tools/config.doxy index d0bc22f5398..94aec35c14c 100644 --- a/tools/config.doxy +++ b/tools/config.doxy @@ -906,7 +906,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = ffi/capi/bindings/cpp docs/tutorials/cpp.md +INPUT = ffi/capi/bindings/cpp tutorials/cpp.md # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/tools/make/ffi.toml b/tools/make/ffi.toml index 524aeee82ec..064a2738f0a 100644 --- a/tools/make/ffi.toml +++ b/tools/make/ffi.toml @@ -10,7 +10,7 @@ description = "Run C API tests" category = "ICU4X Development" command = "make" -args = ["-C", "docs/tutorials/c", "test"] +args = ["-C", "tutorials/c", "test"] [tasks.test-c-tiny] description = "Run C API tests for tiny targets" @@ -19,15 +19,15 @@ dependencies = ["install-unknown-linux-nightly"] script_runner = "@duckscript" script = ''' exit_on_error true -exec --fail-on-error make -C docs/tutorials/c-tiny/fixeddecimal -exec --fail-on-error make -C docs/tutorials/c-tiny/segmenter +exec --fail-on-error make -C tutorials/c-tiny/fixeddecimal +exec --fail-on-error make -C tutorials/c-tiny/segmenter ''' [tasks.test-cpp] description = "Run CPP tests" category = "ICU4X Development" command = "make" -args = ["-C", "docs/tutorials/cpp", "test"] +args = ["-C", "tutorials/cpp", "test"] # JS/WASM tasks @@ -44,7 +44,7 @@ description = "Test the Tiny WASM example" category = "ICU4X Development" dependencies = ["install-wasm-nightly"] command = "make" -args = ["-C", "docs/tutorials/js-tiny", "test"] +args = ["-C", "tutorials/js-tiny", "test"] # Dart tasks diff --git a/tools/make/tests.toml b/tools/make/tests.toml index e3fe3211527..618945bce66 100644 --- a/tools/make/tests.toml +++ b/tools/make/tests.toml @@ -62,7 +62,7 @@ exit_on_error true pwd = pwd set_env CARGO_TARGET_DIR ${pwd}/target -cd docs/tutorials/rust +cd tutorials/rust exec --fail-on-error cargo check --manifest-path default/Cargo.toml exec --fail-on-error cargo check --manifest-path buffer/Cargo.toml @@ -84,7 +84,7 @@ set_env CARGO_TARGET_DIR ${project_dir}/target exec --fail-on-error cargo build -p icu_datagen -cd docs/tutorials/rust +cd tutorials/rust mkdir bin cp ${project_dir}/target/debug/icu4x-datagen bin/icu4x-datagen @@ -102,7 +102,7 @@ exec --fail-on-error make -C buffer buffer_data.postcard exec --fail-on-error cargo run --manifest-path buffer/Cargo.toml exec --fail-on-error make -C custom_compiled baked_data/mod.rs -set_env ICU4X_DATA_DIR ${project_dir}/docs/tutorials/rust/custom_compiled/baked_data +set_env ICU4X_DATA_DIR ${project_dir}/tutorials/rust/custom_compiled/baked_data exec --fail-on-error cargo run --manifest-path custom_compiled/Cargo.toml ''' @@ -113,7 +113,7 @@ script_runner = "@duckscript" script = ''' exit_on_error true -cd docs/tutorials/rust +cd tutorials/rust # Delete the lockfile to make a clean crates.io build rm -f Cargo.lock diff --git a/tools/make/tidy.toml b/tools/make/tidy.toml index a2036e11006..b9143deffdb 100644 --- a/tools/make/tidy.toml +++ b/tools/make/tidy.toml @@ -30,7 +30,7 @@ glob_pattern_array = array "./**/*.rs" "./**/*.yml" "./**/*.toml" "./**/*.rst" " files = exec --fail-on-error git ls-files --cached --others --exclude-standard # Skip the files matching these patterns. -glob_skip_pattern_array = array "**/target/**/*" "**/node_modules/**/*" "**/data/**/*" "docs/tutorials/gn/vendor/**/*" "docs/tutorials/gn/third_party_tools/**/*" "ffi/capi/tests/tinyc/*/baked_data/**/*" +glob_skip_pattern_array = array "**/target/**/*" "**/node_modules/**/*" "**/data/**/*" "tutorials/gn/vendor/**/*" "tutorials/gn/third_party_tools/**/*" "ffi/capi/tests/tinyc/*/baked_data/**/*" blank_line = set "" @@ -138,7 +138,7 @@ script = ''' exit_on_error true glob_pattern = set "./**/Cargo.toml" -glob_skip_pattern = array "docs/tutorials/gn/**/*" "ffi/capi/tests/**/*" "tools/**/*" "**/fuzz/*" "**/target/**/*" "docs/**/*" "provider/baked/_template_/Cargo.toml" +glob_skip_pattern = array "tutorials/gn/**/*" "ffi/capi/tests/**/*" "tools/**/*" "**/fuzz/*" "**/target/**/*" "tutorials/**/*" "provider/baked/_template_/Cargo.toml" cargo_list = exec cargo --list if not contains ${cargo_list.stdout} "rdme" @@ -208,7 +208,7 @@ exit_on_error true glob_pattern = set "./**/Cargo.toml" license = canonicalize LICENSE -skip_path_prefixes = array "docs/tutorials/gn/vendor/" "docs/tutorials/gn/third_party_tools/" "ffi/capi/tests/c/" "docs/" "utils/calendrical_calculations" +skip_path_prefixes = array "tutorials/gn/vendor/" "tutorials/gn/third_party_tools/" "ffi/capi/tests/c/" "docs/" "utils/calendrical_calculations" handle = glob_array ${glob_pattern} for path in ${handle} @@ -236,7 +236,7 @@ exit_on_error true glob_pattern = set "./**/Cargo.toml" license = canonicalize LICENSE license_text = readfile ${license} -skip_path_prefixes = array "docs/tutorials/gn/vendor/" "docs/tutorials/gn/third_party_tools/" "ffi/capi/tests/" "docs/" "utils/calendrical_calculations" +skip_path_prefixes = array "tutorials/gn/vendor/" "tutorials/gn/third_party_tools/" "ffi/capi/tests/" "tutorials/" "utils/calendrical_calculations" handle = glob_array ${glob_pattern} for path in ${handle} diff --git a/tools/md-tests/src/lib.rs b/tools/md-tests/src/lib.rs index 8204eb10fa3..1083248e3b8 100644 --- a/tools/md-tests/src/lib.rs +++ b/tools/md-tests/src/lib.rs @@ -2,21 +2,27 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -#[doc = include_str!("../../../docs/tutorials/intro.md")] -mod intro {} -#[doc = include_str!("../../../docs/tutorials/intro_interactive.md")] -mod intro_interactive {} -#[doc = include_str!("../../../docs/tutorials/data_provider.md")] -mod data_provider {} -#[doc = include_str!("../../../docs/process/writing_a_new_data_struct.md")] -mod writing_a_new_data_struct {} -#[doc = include_str!("../../../docs/tutorials/data_management.md")] -mod data_management {} -#[doc = include_str!("../../../docs/tutorials/js.md")] -mod js {} -#[doc = include_str!("../../../docs/process/markdown_tips.md")] -mod markdown_tips {} #[doc = include_str!("../../../README.md")] mod readme {} -#[doc = include_str!("../../../docs/design/data_safety.md")] -mod data_safety {} + +mod tutorials { + #[doc = include_str!("../../../tutorials/intro.md")] + mod intro_md {} + #[doc = include_str!("../../../tutorials/intro_interactive.md")] + mod intro_interactive_md {} + #[doc = include_str!("../../../tutorials/data_provider.md")] + mod data_provider_md {} + #[doc = include_str!("../../../tutorials/data_management.md")] + mod data_management_md {} + #[doc = include_str!("../../../tutorials/js.md")] + mod js_md {} +} + +mod documents { + #[doc = include_str!("../../../documents/process/writing_a_new_data_struct.md")] + mod writing_a_new_data_struct_md {} + #[doc = include_str!("../../../documents/process/markdown_tips.md")] + mod markdown_tips_md {} + #[doc = include_str!("../../../documents/design/data_safety.md")] + mod data_safety_md {} +} diff --git a/tutorials/.cargo/config.toml b/tutorials/.cargo/config.toml new file mode 100644 index 00000000000..2eecae999ed --- /dev/null +++ b/tutorials/.cargo/config.toml @@ -0,0 +1,80 @@ +# This file is part of ICU4X. For terms of use, please see the file +# called LICENSE at the top level of the ICU4X source tree +# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). + +# All code in tutorials is built outside the workspace, as a client would. +# In order to test with repo code, this config.toml is used automatically +# by cargo for any invocation inside tutorials/. + +[patch.crates-io] +# KEEP IN SYNC WITH TOP-LEVEL Cargo.toml + +# Components +icu = { path = "../components/icu" } +icu_calendar = { path = "../components/calendar" } +icu_casemap = { path = "../components/casemap" } +icu_collator = { path = "../components/collator" } +icu_collections = { path = "../components/collections" } +icu_codepointtrie_builder = { path = "../components/collections/codepointtrie_builder" } +icu_datetime = { path = "../components/datetime" } +icu_decimal = { path = "../components/decimal" } +icu_experimental = { path = "../components/experimental" } +icu_list = { path = "../components/list" } +icu_locid = { path = "../components/locid" } +icu_locid_transform = { path = "../components/locid_transform" } +icu_normalizer = { path = "../components/normalizer" } +icu_plurals = { path = "../components/plurals" } +icu_properties = { path = "../components/properties" } +icu_segmenter = { path = "../components/segmenter" } +icu_timezone = { path = "../components/timezone" } + +# FFI +icu_capi = { path = "../ffi/capi" } +icu4x_ecma402 = { path = "../ffi/ecma402" } +icu_freertos = { path = "../ffi/freertos" } +icu_harfbuzz = { path = "../ffi/harfbuzz" } + +# Provider +icu_datagen = { path = "../provider/datagen" } +icu_provider = { path = "../provider/core" } +icu_provider_macros = { path = "../provider/core/macros" } +icu_provider_adapters = { path = "../provider/adapters" } +icu_provider_blob = { path = "../provider/blob" } +icu_provider_fs = { path = "../provider/fs/" } + +# Baked data +icu_calendar_data = { path = "../provider/baked/calendar" } +icu_casemap_data = { path = "../provider/baked/casemap" } +icu_collator_data = { path = "../provider/baked/collator" } +icu_datetime_data = { path = "../provider/baked/datetime" } +icu_decimal_data = { path = "../provider/baked/decimal" } +icu_experimental_data = { path = "../provider/baked/experimental" } +icu_list_data = { path = "../provider/baked/list" } +icu_locid_transform_data = { path = "../provider/baked/locid_transform" } +icu_normalizer_data = { path = "../provider/baked/normalizer" } +icu_plurals_data = { path = "../provider/baked/plurals" } +icu_properties_data = { path = "../provider/baked/properties"} +icu_segmenter_data = { path = "../provider/baked/segmenter" } +icu_timezone_data = { path = "../provider/baked/timezone" } + +bies = { path = "../utils/bies" } +crlify = { path = "../utils/crlify" } +databake = { path = "../utils/databake" } +databake-derive = { path = "../utils/databake/derive" } +deduplicating_array = { path = "../utils/deduplicating_array" } +fixed_decimal = { path = "../utils/fixed_decimal" } +icu_pattern = { path = "../utils/pattern" } +ixdtf = { path = "../utils/ixdtf" } +litemap = { path = "../utils/litemap" } +tinystr = { path = "../utils/tinystr" } +tzif = { path = "../utils/tzif" } +writeable = { path = "../utils/writeable/" } +yoke = { path = "../utils/yoke" } +yoke-derive = { path = "../utils/yoke/derive" } +zerofrom = { path = "../utils/zerofrom" } +zerofrom-derive = { path = "../utils/zerofrom/derive" } +zerotrie = { path = "../utils/zerotrie" } +zerovec = { path = "../utils/zerovec" } +zerovec-derive = { path = "../utils/zerovec/derive" } + +icu_benchmark_macros = { path = "../tools/benchmark/macros" } diff --git a/docs/tutorials/c-tiny/fixeddecimal/.gitignore b/tutorials/c-tiny/fixeddecimal/.gitignore similarity index 100% rename from docs/tutorials/c-tiny/fixeddecimal/.gitignore rename to tutorials/c-tiny/fixeddecimal/.gitignore diff --git a/docs/tutorials/c-tiny/fixeddecimal/Cargo.lock b/tutorials/c-tiny/fixeddecimal/Cargo.lock similarity index 52% rename from docs/tutorials/c-tiny/fixeddecimal/Cargo.lock rename to tutorials/c-tiny/fixeddecimal/Cargo.lock index 49dbe439ded..b5d8647c5ee 100644 --- a/docs/tutorials/c-tiny/fixeddecimal/Cargo.lock +++ b/tutorials/c-tiny/fixeddecimal/Cargo.lock @@ -2,32 +2,12 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli 0.28.1", -] - [[package]] name = "adler" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] - [[package]] name = "anstream" version = "0.6.7" @@ -82,27 +62,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" -[[package]] -name = "backtrace" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object 0.32.2", - "rustc-demangle", -] - -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base64" version = "0.21.7" @@ -118,70 +77,12 @@ dependencies = [ "serde", ] -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty", - "radium", - "tap", - "wyz", -] - -[[package]] -name = "bumpalo" -version = "3.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" - -[[package]] -name = "bytecheck" -version = "0.6.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" -dependencies = [ - "bytecheck_derive", - "ptr_meta", - "simdutf8", -] - -[[package]] -name = "bytecheck_derive" -version = "0.6.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "byteorder" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" -[[package]] -name = "bytes" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" - [[package]] name = "calendrical_calculations" version = "0.1.0" @@ -236,7 +137,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.48", + "syn", ] [[package]] @@ -257,12 +158,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" -[[package]] -name = "const_fn" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbdcdcb6d86f71c5e97409ad45898af11cbc995b4ee8112d59095a28d376c935" - [[package]] name = "core_maths" version = "0.1.0" @@ -272,19 +167,6 @@ dependencies = [ "libm", ] -[[package]] -name = "corosensei" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80128832c58ea9cbd041d2a759ec449224487b2c1e400453d99d244eead87a8e" -dependencies = [ - "autocfg", - "cfg-if", - "libc", - "scopeguard", - "windows-sys 0.33.0", -] - [[package]] name = "crc32fast" version = "1.3.2" @@ -323,40 +205,6 @@ version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" -[[package]] -name = "darling" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "darling_macro" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" -dependencies = [ - "darling_core", - "quote", - "syn 2.0.48", -] - [[package]] name = "databake" version = "0.1.7" @@ -372,7 +220,7 @@ version = "0.1.7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", "synstructure", ] @@ -386,23 +234,23 @@ dependencies = [ [[package]] name = "diplomat" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=98ac7ad0382e4544fe7a58811a54cbe32d9e490c#98ac7ad0382e4544fe7a58811a54cbe32d9e490c" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "diplomat_core", "proc-macro2", "quote", - "syn 2.0.48", + "syn", ] [[package]] name = "diplomat-runtime" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=98ac7ad0382e4544fe7a58811a54cbe32d9e490c#98ac7ad0382e4544fe7a58811a54cbe32d9e490c" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" [[package]] name = "diplomat_core" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=98ac7ad0382e4544fe7a58811a54cbe32d9e490c#98ac7ad0382e4544fe7a58811a54cbe32d9e490c" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "lazy_static", "proc-macro2", @@ -410,15 +258,9 @@ dependencies = [ "serde", "smallvec", "strck_ident", - "syn 2.0.48", + "syn", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.4" @@ -427,34 +269,14 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", -] - -[[package]] -name = "dynasm" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add9a102807b524ec050363f09e06f1504214b0e1c7797f64261c891022dce8b" -dependencies = [ - "bitflags 1.3.2", - "byteorder", - "lazy_static", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", + "syn", ] [[package]] -name = "dynasmrt" -version = "1.2.3" +name = "downcast-rs" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64fba5a42bd76a17cad4bfa00de168ee1cbfa06a5e8ce992ae880218c05641a9" -dependencies = [ - "byteorder", - "dynasm", - "memmap2", -] +checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "either" @@ -477,47 +299,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" -[[package]] -name = "enum-iterator" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6" -dependencies = [ - "enum-iterator-derive", -] - -[[package]] -name = "enum-iterator-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c134c37760b27a871ba422106eedbb8247da973a09e82558bf26d619c882b159" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "enumset" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "226c0da7462c13fb57e5cc9e0dc8f0635e7d27f276a3a7fd30054647f669007d" -dependencies = [ - "enumset_derive", -] - -[[package]] -name = "enumset_derive" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.48", -] - [[package]] name = "erased-serde" version = "0.3.31" @@ -527,16 +308,6 @@ dependencies = [ "serde", ] -[[package]] -name = "errno" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "eyre" version = "0.6.11" @@ -547,18 +318,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - -[[package]] -name = "fastrand" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" - [[package]] name = "fixed_decimal" version = "0.5.5" @@ -578,12 +337,6 @@ dependencies = [ "miniz_oxide", ] -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - [[package]] name = "form_urlencoded" version = "1.2.1" @@ -593,21 +346,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "generational-arena" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" -dependencies = [ - "cfg-if", -] - [[package]] name = "getrandom" version = "0.2.12" @@ -619,56 +357,12 @@ dependencies = [ "wasi", ] -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" -dependencies = [ - "fallible-iterator", - "indexmap", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" - -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash", -] - [[package]] name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "icu_calendar" version = "1.4.0" @@ -717,10 +411,9 @@ name = "icu_codepointtrie_builder" version = "0.3.7" dependencies = [ "icu_collections", - "once_cell", "toml", - "wasmer", - "wasmer-wasi", + "wasmi", + "zerovec", ] [[package]] @@ -776,6 +469,7 @@ dependencies = [ "icu_locid", "icu_locid_transform", "icu_normalizer", + "icu_pattern", "icu_plurals", "icu_properties", "icu_provider", @@ -896,6 +590,14 @@ dependencies = [ "zerovec", ] +[[package]] +name = "icu_pattern" +version = "0.1.5" +dependencies = [ + "displaydoc", + "writeable", +] + [[package]] name = "icu_plurals" version = "1.4.0" @@ -989,7 +691,7 @@ version = "1.4.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", ] [[package]] @@ -1022,12 +724,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - [[package]] name = "idna" version = "0.5.0" @@ -1045,15 +741,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] -name = "indexmap" -version = "1.9.3" +name = "indexmap-nostd" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", - "serde", -] +checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "itertools" @@ -1070,55 +761,24 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" -[[package]] -name = "js-sys" -version = "0.3.67" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" -dependencies = [ - "wasm-bindgen", -] - [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -[[package]] -name = "leb128" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" - [[package]] name = "libc" version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if", - "winapi", -] - [[package]] name = "libm" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" -[[package]] -name = "linux-raw-sys" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" - [[package]] name = "litemap" version = "0.7.2" @@ -1132,36 +792,6 @@ version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -[[package]] -name = "loupe" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d" -dependencies = [ - "indexmap", - "loupe-derive", - "rustversion", -] - -[[package]] -name = "loupe-derive" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - [[package]] name = "matrixmultiply" version = "0.3.8" @@ -1178,24 +808,6 @@ version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" -[[package]] -name = "memmap2" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" -dependencies = [ - "libc", -] - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - [[package]] name = "miniz_oxide" version = "0.7.1" @@ -1205,12 +817,6 @@ dependencies = [ "adler", ] -[[package]] -name = "more-asserts" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" - [[package]] name = "ndarray" version = "0.15.6" @@ -1253,31 +859,16 @@ dependencies = [ ] [[package]] -name = "object" -version = "0.28.4" +name = "once_cell" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" -dependencies = [ - "crc32fast", - "hashbrown 0.11.2", - "indexmap", - "memchr", -] - -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -dependencies = [ - "memchr", -] +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] -name = "once_cell" -version = "1.19.0" +name = "paste" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "percent-encoding" @@ -1285,12 +876,6 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" -[[package]] -name = "pin-project-lite" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" - [[package]] name = "postcard" version = "1.0.8" @@ -1302,36 +887,6 @@ dependencies = [ "serde", ] -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - [[package]] name = "proc-macro2" version = "1.0.76" @@ -1341,26 +896,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "ptr_meta" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" -dependencies = [ - "ptr_meta_derive", -] - -[[package]] -name = "ptr_meta_derive" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "quote" version = "1.0.35" @@ -1370,12 +905,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - [[package]] name = "rawpointer" version = "0.2.1" @@ -1402,15 +931,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - [[package]] name = "regex-automata" version = "0.2.0" @@ -1427,27 +947,6 @@ version = "0.6.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" -[[package]] -name = "region" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" -dependencies = [ - "bitflags 1.3.2", - "libc", - "mach", - "winapi", -] - -[[package]] -name = "rend" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2571463863a6bd50c32f94402933f03457a3fbaf697a707c5be741e459f08fd" -dependencies = [ - "bytecheck", -] - [[package]] name = "ring" version = "0.17.7" @@ -1462,63 +961,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "rkyv" -version = "0.7.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "527a97cdfef66f65998b5f3b637c26f5a5ec09cc52a3f9932313ac645f4190f5" -dependencies = [ - "bitvec", - "bytecheck", - "bytes", - "hashbrown 0.12.3", - "ptr_meta", - "rend", - "rkyv_derive", - "seahash", - "tinyvec", - "uuid", -] - -[[package]] -name = "rkyv_derive" -version = "0.7.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c462a1328c8e67e4d6dbad1eb0355dd43e8ab432c6e227a43657f16ade5033" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.38.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca" -dependencies = [ - "bitflags 2.4.1", - "errno", - "libc", - "linux-raw-sys", - "windows-sys 0.52.0", -] - [[package]] name = "rustls" version = "0.21.10" @@ -1541,24 +983,12 @@ dependencies = [ "untrusted", ] -[[package]] -name = "rustversion" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" - [[package]] name = "ryu" version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - [[package]] name = "sct" version = "0.7.1" @@ -1569,27 +999,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "seahash" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" - -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - [[package]] name = "serde" version = "1.0.195" @@ -1619,15 +1028,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_bytes" -version = "0.11.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" -dependencies = [ - "serde", -] - [[package]] name = "serde_derive" version = "1.0.195" @@ -1636,7 +1036,7 @@ checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", ] [[package]] @@ -1650,27 +1050,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha1" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1da05c97445caa12d05e848c4a4fcbbea29e748ac28f7e80e9b010392063770" -dependencies = [ - "sha1_smol", -] - -[[package]] -name = "sha1_smol" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" - -[[package]] -name = "simdutf8" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" - [[package]] name = "simple_logger" version = "4.3.3" @@ -1681,15 +1060,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - [[package]] name = "smallvec" version = "1.11.2" @@ -1711,70 +1081,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - [[package]] name = "static_assertions" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" - [[package]] name = "strck" version = "0.1.2" @@ -1797,17 +1109,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "syn" version = "2.0.48" @@ -1827,93 +1128,10 @@ checksum = "285ba80e733fac80aa4270fbcdf83772a79b80aa35c97075320abfee4a915b06" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", "unicode-xid", ] -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "target-lexicon" -version = "0.12.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" - -[[package]] -name = "tempfile" -version = "3.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall", - "rustix", - "windows-sys 0.52.0", -] - -[[package]] -name = "thiserror" -version = "1.0.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "time" -version = "0.2.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros", - "version_check", - "winapi", -] - -[[package]] -name = "time-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] - -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" version = "0.7.5" @@ -1948,38 +1166,6 @@ dependencies = [ "serde", ] -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", -] - [[package]] name = "twox-hash" version = "1.6.3" @@ -2076,18 +1262,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" -[[package]] -name = "uuid" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -2095,388 +1269,51 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] -name = "wasm-bindgen" -version = "0.2.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.48", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" - -[[package]] -name = "wasmer" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea8d8361c9d006ea3d7797de7bd6b1492ffd0f91a22430cfda6c1658ad57bedf" -dependencies = [ - "cfg-if", - "indexmap", - "js-sys", - "loupe", - "more-asserts", - "target-lexicon", - "thiserror", - "wasm-bindgen", - "wasmer-artifact", - "wasmer-compiler", - "wasmer-compiler-singlepass", - "wasmer-derive", - "wasmer-engine", - "wasmer-engine-dylib", - "wasmer-engine-universal", - "wasmer-types", - "wasmer-vm", - "winapi", -] - -[[package]] -name = "wasmer-artifact" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aaf9428c29c1d8ad2ac0e45889ba8a568a835e33fd058964e5e500f2f7ce325" -dependencies = [ - "enumset", - "loupe", - "thiserror", - "wasmer-compiler", - "wasmer-types", -] - -[[package]] -name = "wasmer-compiler" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e67a6cd866aed456656db2cfea96c18baabbd33f676578482b85c51e1ee19d2c" -dependencies = [ - "enumset", - "loupe", - "rkyv", - "serde", - "serde_bytes", - "smallvec", - "target-lexicon", - "thiserror", - "wasmer-types", - "wasmparser", -] - -[[package]] -name = "wasmer-compiler-singlepass" -version = "2.3.0" +name = "wasmi" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ca2a35204d8befa85062bc7aac259a8db8070b801b8a783770ba58231d729e" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ - "byteorder", - "dynasm", - "dynasmrt", - "gimli 0.26.2", - "lazy_static", - "loupe", - "more-asserts", - "rayon", "smallvec", - "wasmer-compiler", - "wasmer-types", -] - -[[package]] -name = "wasmer-derive" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e50405cc2a2f74ff574584710a5f2c1d5c93744acce2ca0866084739284b51" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "wasmer-engine" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f98f010978c244db431b392aeab0661df7ea0822343334f8f2a920763548e45" -dependencies = [ - "backtrace", - "enumset", - "lazy_static", - "loupe", - "memmap2", - "more-asserts", - "rustc-demangle", - "serde", - "serde_bytes", - "target-lexicon", - "thiserror", - "wasmer-artifact", - "wasmer-compiler", - "wasmer-types", - "wasmer-vm", -] - -[[package]] -name = "wasmer-engine-dylib" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0358af9c154724587731175553805648d9acb8f6657880d165e378672b7e53" -dependencies = [ - "cfg-if", - "enum-iterator", - "enumset", - "leb128", - "libloading", - "loupe", - "object 0.28.4", - "rkyv", - "serde", - "tempfile", - "tracing", - "wasmer-artifact", - "wasmer-compiler", - "wasmer-engine", - "wasmer-object", - "wasmer-types", - "wasmer-vm", - "which", -] - -[[package]] -name = "wasmer-engine-universal" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "440dc3d93c9ca47865a4f4edd037ea81bf983b5796b59b3d712d844b32dbef15" -dependencies = [ - "cfg-if", - "enumset", - "leb128", - "loupe", - "region", - "rkyv", - "wasmer-compiler", - "wasmer-engine", - "wasmer-engine-universal-artifact", - "wasmer-types", - "wasmer-vm", - "winapi", -] - -[[package]] -name = "wasmer-engine-universal-artifact" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f1db3f54152657eb6e86c44b66525ff7801dad8328fe677da48dd06af9ad41" -dependencies = [ - "enum-iterator", - "enumset", - "loupe", - "rkyv", - "thiserror", - "wasmer-artifact", - "wasmer-compiler", - "wasmer-types", -] - -[[package]] -name = "wasmer-object" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d831335ff3a44ecf451303f6f891175c642488036b92ceceb24ac8623a8fa8b" -dependencies = [ - "object 0.28.4", - "thiserror", - "wasmer-compiler", - "wasmer-types", -] - -[[package]] -name = "wasmer-types" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39df01ea05dc0a9bab67e054c7cb01521e53b35a7bb90bd02eca564ed0b2667f" -dependencies = [ - "backtrace", - "enum-iterator", - "indexmap", - "loupe", - "more-asserts", - "rkyv", - "serde", - "thiserror", + "spin", + "wasmi_arena", + "wasmi_core", + "wasmparser-nostd", ] [[package]] -name = "wasmer-vfs" -version = "2.3.0" +name = "wasmi_arena" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9302eae3edc53cb540c2d681e7f16d8274918c1ce207591f04fed351649e97c0" -dependencies = [ - "slab", - "thiserror", - "tracing", -] +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] -name = "wasmer-vm" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d965fa61f4dc4cdb35a54daaf7ecec3563fbb94154a6c35433f879466247dd" -dependencies = [ - "backtrace", - "cc", - "cfg-if", - "corosensei", - "enum-iterator", - "indexmap", - "lazy_static", - "libc", - "loupe", - "mach", - "memoffset", - "more-asserts", - "region", - "rkyv", - "scopeguard", - "serde", - "thiserror", - "wasmer-artifact", - "wasmer-types", - "winapi", -] - -[[package]] -name = "wasmer-wasi" -version = "2.3.0" +name = "wasmi_core" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fadbe31e3c1b6f3e398ad172b169152ae1a743ae6efd5f9ffb34019983319d99" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" dependencies = [ - "cfg-if", - "generational-arena", - "getrandom", - "libc", - "thiserror", - "tracing", - "wasm-bindgen", - "wasmer", - "wasmer-vfs", - "wasmer-wasi-types", - "winapi", + "downcast-rs", + "libm", + "num-traits", + "paste", ] [[package]] -name = "wasmer-wasi-types" -version = "2.3.0" +name = "wasmparser-nostd" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22dc83aadbdf97388de3211cb6f105374f245a3cf2a5c65a16776e7a087a8468" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" dependencies = [ - "byteorder", - "time", - "wasmer-types", + "indexmap-nostd", ] -[[package]] -name = "wasmparser" -version = "0.83.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" - [[package]] name = "webpki-roots" version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43dbb096663629518eb1dfa72d80243ca5a6aca764cae62a2df70af760a9be75" -dependencies = [ - "windows_aarch64_msvc 0.33.0", - "windows_i686_gnu 0.33.0", - "windows_i686_msvc 0.33.0", - "windows_x86_64_gnu 0.33.0", - "windows_x86_64_msvc 0.33.0", -] - [[package]] name = "windows-sys" version = "0.48.0" @@ -2537,12 +1374,6 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" -[[package]] -name = "windows_aarch64_msvc" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd761fd3eb9ab8cc1ed81e56e567f02dd82c4c837e48ac3b2181b9ffc5060807" - [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -2555,12 +1386,6 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" -[[package]] -name = "windows_i686_gnu" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab0cf703a96bab2dc0c02c0fa748491294bf9b7feb27e1f4f96340f208ada0e" - [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -2573,12 +1398,6 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" -[[package]] -name = "windows_i686_msvc" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cfdbe89cc9ad7ce618ba34abc34bbb6c36d99e96cae2245b7943cd75ee773d0" - [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -2591,12 +1410,6 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" -[[package]] -name = "windows_x86_64_gnu" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4dd9b0c0e9ece7bb22e84d70d01b71c6d6248b81a3c60d11869451b4cb24784" - [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -2621,12 +1434,6 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" -[[package]] -name = "windows_x86_64_msvc" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1e4aa646495048ec7f3ffddc411e1d829c026a2ec62b39da15c1055e406eaa" - [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -2649,15 +1456,6 @@ checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" name = "writeable" version = "0.5.4" -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - [[package]] name = "yoke" version = "0.7.3" @@ -2674,7 +1472,7 @@ version = "0.7.3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", "synstructure", ] @@ -2691,7 +1489,7 @@ version = "0.1.3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", "synstructure", ] @@ -2725,7 +1523,7 @@ version = "0.10.1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn", ] [[package]] @@ -2804,10 +1602,6 @@ version = "1.4.0" name = "icu_normalizer_data" version = "1.4.0" -[[patch.unused]] -name = "icu_pattern" -version = "0.1.5" - [[patch.unused]] name = "icu_plurals_data" version = "1.4.0" diff --git a/docs/tutorials/c-tiny/fixeddecimal/Cargo.toml b/tutorials/c-tiny/fixeddecimal/Cargo.toml similarity index 100% rename from docs/tutorials/c-tiny/fixeddecimal/Cargo.toml rename to tutorials/c-tiny/fixeddecimal/Cargo.toml diff --git a/docs/tutorials/c-tiny/fixeddecimal/Makefile b/tutorials/c-tiny/fixeddecimal/Makefile similarity index 100% rename from docs/tutorials/c-tiny/fixeddecimal/Makefile rename to tutorials/c-tiny/fixeddecimal/Makefile diff --git a/docs/tutorials/c-tiny/fixeddecimal/README.md b/tutorials/c-tiny/fixeddecimal/README.md similarity index 100% rename from docs/tutorials/c-tiny/fixeddecimal/README.md rename to tutorials/c-tiny/fixeddecimal/README.md diff --git a/docs/tutorials/c-tiny/fixeddecimal/test.c b/tutorials/c-tiny/fixeddecimal/test.c similarity index 100% rename from docs/tutorials/c-tiny/fixeddecimal/test.c rename to tutorials/c-tiny/fixeddecimal/test.c diff --git a/docs/tutorials/c-tiny/segmenter/.gitignore b/tutorials/c-tiny/segmenter/.gitignore similarity index 100% rename from docs/tutorials/c-tiny/segmenter/.gitignore rename to tutorials/c-tiny/segmenter/.gitignore diff --git a/docs/tutorials/c-tiny/segmenter/Cargo.lock b/tutorials/c-tiny/segmenter/Cargo.lock similarity index 97% rename from docs/tutorials/c-tiny/segmenter/Cargo.lock rename to tutorials/c-tiny/segmenter/Cargo.lock index 22e920fa268..ef6d0f05396 100644 --- a/docs/tutorials/c-tiny/segmenter/Cargo.lock +++ b/tutorials/c-tiny/segmenter/Cargo.lock @@ -5,7 +5,7 @@ version = 3 [[package]] name = "diplomat" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=98ac7ad0382e4544fe7a58811a54cbe32d9e490c#98ac7ad0382e4544fe7a58811a54cbe32d9e490c" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "diplomat_core", "proc-macro2", @@ -16,12 +16,12 @@ dependencies = [ [[package]] name = "diplomat-runtime" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=98ac7ad0382e4544fe7a58811a54cbe32d9e490c#98ac7ad0382e4544fe7a58811a54cbe32d9e490c" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" [[package]] name = "diplomat_core" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=98ac7ad0382e4544fe7a58811a54cbe32d9e490c#98ac7ad0382e4544fe7a58811a54cbe32d9e490c" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "lazy_static", "proc-macro2", diff --git a/docs/tutorials/c-tiny/segmenter/Cargo.toml b/tutorials/c-tiny/segmenter/Cargo.toml similarity index 100% rename from docs/tutorials/c-tiny/segmenter/Cargo.toml rename to tutorials/c-tiny/segmenter/Cargo.toml diff --git a/docs/tutorials/c-tiny/segmenter/Makefile b/tutorials/c-tiny/segmenter/Makefile similarity index 100% rename from docs/tutorials/c-tiny/segmenter/Makefile rename to tutorials/c-tiny/segmenter/Makefile diff --git a/docs/tutorials/c-tiny/segmenter/README.md b/tutorials/c-tiny/segmenter/README.md similarity index 100% rename from docs/tutorials/c-tiny/segmenter/README.md rename to tutorials/c-tiny/segmenter/README.md diff --git a/docs/tutorials/c-tiny/segmenter/test.c b/tutorials/c-tiny/segmenter/test.c similarity index 100% rename from docs/tutorials/c-tiny/segmenter/test.c rename to tutorials/c-tiny/segmenter/test.c diff --git a/docs/tutorials/c/.gitignore b/tutorials/c/.gitignore similarity index 100% rename from docs/tutorials/c/.gitignore rename to tutorials/c/.gitignore diff --git a/docs/tutorials/c/Cargo.lock b/tutorials/c/Cargo.lock similarity index 98% rename from docs/tutorials/c/Cargo.lock rename to tutorials/c/Cargo.lock index 60ae6914b8e..f3fbd312021 100644 --- a/docs/tutorials/c/Cargo.lock +++ b/tutorials/c/Cargo.lock @@ -54,7 +54,7 @@ dependencies = [ [[package]] name = "diplomat" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=acc3e0280265274f217208aa88df792a1f795696#acc3e0280265274f217208aa88df792a1f795696" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "diplomat_core", "proc-macro2", @@ -65,7 +65,7 @@ dependencies = [ [[package]] name = "diplomat-runtime" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=acc3e0280265274f217208aa88df792a1f795696#acc3e0280265274f217208aa88df792a1f795696" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "log", ] @@ -73,7 +73,7 @@ dependencies = [ [[package]] name = "diplomat_core" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=acc3e0280265274f217208aa88df792a1f795696#acc3e0280265274f217208aa88df792a1f795696" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "lazy_static", "proc-macro2", @@ -281,6 +281,7 @@ dependencies = [ "icu_locid", "icu_locid_transform", "icu_normalizer", + "icu_pattern", "icu_plurals", "icu_properties", "icu_provider", @@ -362,6 +363,16 @@ dependencies = [ name = "icu_normalizer_data" version = "1.4.0" +[[package]] +name = "icu_pattern" +version = "0.1.5" +dependencies = [ + "displaydoc", + "writeable", + "yoke", + "zerofrom", +] + [[package]] name = "icu_plurals" version = "1.4.0" @@ -1040,10 +1051,6 @@ version = "1.4.0" name = "icu_harfbuzz" version = "0.1.2" -[[patch.unused]] -name = "icu_pattern" -version = "0.1.5" - [[patch.unused]] name = "icu_provider_blob" version = "1.4.0" diff --git a/docs/tutorials/c/Cargo.toml b/tutorials/c/Cargo.toml similarity index 100% rename from docs/tutorials/c/Cargo.toml rename to tutorials/c/Cargo.toml diff --git a/docs/tutorials/c/Makefile b/tutorials/c/Makefile similarity index 100% rename from docs/tutorials/c/Makefile rename to tutorials/c/Makefile diff --git a/docs/tutorials/c/fixeddecimal.c b/tutorials/c/fixeddecimal.c similarity index 100% rename from docs/tutorials/c/fixeddecimal.c rename to tutorials/c/fixeddecimal.c diff --git a/docs/tutorials/c/locale.c b/tutorials/c/locale.c similarity index 100% rename from docs/tutorials/c/locale.c rename to tutorials/c/locale.c diff --git a/docs/tutorials/c/pluralrules.c b/tutorials/c/pluralrules.c similarity index 100% rename from docs/tutorials/c/pluralrules.c rename to tutorials/c/pluralrules.c diff --git a/docs/tutorials/cpp.md b/tutorials/cpp.md similarity index 100% rename from docs/tutorials/cpp.md rename to tutorials/cpp.md diff --git a/docs/tutorials/cpp/.gitignore b/tutorials/cpp/.gitignore similarity index 100% rename from docs/tutorials/cpp/.gitignore rename to tutorials/cpp/.gitignore diff --git a/docs/tutorials/cpp/Cargo.lock b/tutorials/cpp/Cargo.lock similarity index 98% rename from docs/tutorials/cpp/Cargo.lock rename to tutorials/cpp/Cargo.lock index 6e2a30d27ec..e3639e95341 100644 --- a/docs/tutorials/cpp/Cargo.lock +++ b/tutorials/cpp/Cargo.lock @@ -67,7 +67,7 @@ dependencies = [ [[package]] name = "diplomat" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=05ddab1026b3e10c3bd0d6f848f9067afec92a91#05ddab1026b3e10c3bd0d6f848f9067afec92a91" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "diplomat_core", "proc-macro2", @@ -78,7 +78,7 @@ dependencies = [ [[package]] name = "diplomat-runtime" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=05ddab1026b3e10c3bd0d6f848f9067afec92a91#05ddab1026b3e10c3bd0d6f848f9067afec92a91" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "log", ] @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "diplomat_core" version = "0.7.0" -source = "git+https://github.com/rust-diplomat/diplomat.git?rev=05ddab1026b3e10c3bd0d6f848f9067afec92a91#05ddab1026b3e10c3bd0d6f848f9067afec92a91" +source = "git+https://github.com/rust-diplomat/diplomat.git?rev=99ab75d8054b9ddca7fd1def0902f7a43bd68259#99ab75d8054b9ddca7fd1def0902f7a43bd68259" dependencies = [ "lazy_static", "proc-macro2", @@ -310,6 +310,7 @@ dependencies = [ "icu_locid", "icu_locid_transform", "icu_normalizer", + "icu_pattern", "icu_plurals", "icu_properties", "icu_provider", @@ -397,6 +398,17 @@ dependencies = [ name = "icu_normalizer_data" version = "1.4.0" +[[package]] +name = "icu_pattern" +version = "0.1.5" +dependencies = [ + "displaydoc", + "serde", + "writeable", + "yoke", + "zerofrom", +] + [[package]] name = "icu_plurals" version = "1.4.0" @@ -1145,10 +1157,6 @@ version = "1.4.0" name = "icu_harfbuzz" version = "0.1.2" -[[patch.unused]] -name = "icu_pattern" -version = "0.1.5" - [[patch.unused]] name = "ixdtf" version = "0.1.0" diff --git a/docs/tutorials/cpp/Cargo.toml b/tutorials/cpp/Cargo.toml similarity index 100% rename from docs/tutorials/cpp/Cargo.toml rename to tutorials/cpp/Cargo.toml diff --git a/docs/tutorials/cpp/Makefile b/tutorials/cpp/Makefile similarity index 100% rename from docs/tutorials/cpp/Makefile rename to tutorials/cpp/Makefile diff --git a/docs/tutorials/cpp/bidi.cpp b/tutorials/cpp/bidi.cpp similarity index 100% rename from docs/tutorials/cpp/bidi.cpp rename to tutorials/cpp/bidi.cpp diff --git a/docs/tutorials/cpp/casemapping.cpp b/tutorials/cpp/casemapping.cpp similarity index 100% rename from docs/tutorials/cpp/casemapping.cpp rename to tutorials/cpp/casemapping.cpp diff --git a/docs/tutorials/cpp/collator.cpp b/tutorials/cpp/collator.cpp similarity index 100% rename from docs/tutorials/cpp/collator.cpp rename to tutorials/cpp/collator.cpp diff --git a/docs/tutorials/cpp/datetime.cpp b/tutorials/cpp/datetime.cpp similarity index 100% rename from docs/tutorials/cpp/datetime.cpp rename to tutorials/cpp/datetime.cpp diff --git a/docs/tutorials/cpp/fixeddecimal.cpp b/tutorials/cpp/fixeddecimal.cpp similarity index 100% rename from docs/tutorials/cpp/fixeddecimal.cpp rename to tutorials/cpp/fixeddecimal.cpp diff --git a/docs/tutorials/cpp/locale.cpp b/tutorials/cpp/locale.cpp similarity index 100% rename from docs/tutorials/cpp/locale.cpp rename to tutorials/cpp/locale.cpp diff --git a/docs/tutorials/cpp/pluralrules.cpp b/tutorials/cpp/pluralrules.cpp similarity index 95% rename from docs/tutorials/cpp/pluralrules.cpp rename to tutorials/cpp/pluralrules.cpp index c0c2f6abfb1..b7a87679375 100644 --- a/docs/tutorials/cpp/pluralrules.cpp +++ b/tutorials/cpp/pluralrules.cpp @@ -7,7 +7,7 @@ #include -const std::string_view path = "../../../provider/datagen/tests/data/json/"; +const std::string_view path = "../../provider/datagen/tests/data/json/"; int main() { ICU4XLogger::init_simple_logger(); diff --git a/docs/tutorials/cpp/properties.cpp b/tutorials/cpp/properties.cpp similarity index 100% rename from docs/tutorials/cpp/properties.cpp rename to tutorials/cpp/properties.cpp diff --git a/docs/tutorials/cpp/segmenter.cpp b/tutorials/cpp/segmenter.cpp similarity index 100% rename from docs/tutorials/cpp/segmenter.cpp rename to tutorials/cpp/segmenter.cpp diff --git a/docs/tutorials/data_management.md b/tutorials/data_management.md similarity index 100% rename from docs/tutorials/data_management.md rename to tutorials/data_management.md diff --git a/docs/tutorials/data_management_interactive.md b/tutorials/data_management_interactive.md similarity index 100% rename from docs/tutorials/data_management_interactive.md rename to tutorials/data_management_interactive.md diff --git a/docs/tutorials/data_provider.md b/tutorials/data_provider.md similarity index 100% rename from docs/tutorials/data_provider.md rename to tutorials/data_provider.md diff --git a/docs/tutorials/gn/.gitignore b/tutorials/gn/.gitignore similarity index 100% rename from docs/tutorials/gn/.gitignore rename to tutorials/gn/.gitignore diff --git a/docs/tutorials/gn/BUILD.gn b/tutorials/gn/BUILD.gn similarity index 71% rename from docs/tutorials/gn/BUILD.gn rename to tutorials/gn/BUILD.gn index 4f3ee2a7359..1693bc48805 100644 --- a/docs/tutorials/gn/BUILD.gn +++ b/tutorials/gn/BUILD.gn @@ -4,7 +4,7 @@ group("default") { deps = [ - "//docs/tutorials/gn/hello_world:print_hello", - "//docs/tutorials/gn/icu4x:icu_capi" + "//tutorials/gn/hello_world:print_hello", + "//tutorials/gn/icu4x:icu_capi" ] } diff --git a/docs/tutorials/gn/BUILDCONFIG.gn b/tutorials/gn/BUILDCONFIG.gn similarity index 84% rename from docs/tutorials/gn/BUILDCONFIG.gn rename to tutorials/gn/BUILDCONFIG.gn index a4e9ce8755c..0eb535b8905 100644 --- a/docs/tutorials/gn/BUILDCONFIG.gn +++ b/tutorials/gn/BUILDCONFIG.gn @@ -21,7 +21,7 @@ if (current_os == "") { current_os = target_os } -_configs = [ "//docs/tutorials/gn/build:rust_defaults" ] +_configs = [ "//tutorials/gn/build:rust_defaults" ] set_defaults("executable") { configs = _configs @@ -39,12 +39,12 @@ set_defaults("rust_library") { # doing cross-compiles. When not cross-compiling, this will be the same as the # default toolchain. -host_toolchain = "//docs/tutorials/gn/build/rust_host" +host_toolchain = "//tutorials/gn/build/rust_host" if (target_cpu == host_cpu && target_os == host_os) { - set_default_toolchain("//docs/tutorials/gn/build/rust_host") + set_default_toolchain("//tutorials/gn/build/rust_host") } else if (current_cpu == "wasm32" && current_os == "wasi") { - set_default_toolchain("//docs/tutorials/gn/build/rust_wasi") + set_default_toolchain("//tutorials/gn/build/rust_wasi") } else { assert(false, "Don't know how to build for target $target_cpu / $target_os") } diff --git a/docs/tutorials/gn/Cargo.toml b/tutorials/gn/Cargo.toml similarity index 100% rename from docs/tutorials/gn/Cargo.toml rename to tutorials/gn/Cargo.toml diff --git a/docs/tutorials/gn/LICENSE b/tutorials/gn/LICENSE similarity index 100% rename from docs/tutorials/gn/LICENSE rename to tutorials/gn/LICENSE diff --git a/docs/tutorials/gn/README.md b/tutorials/gn/README.md similarity index 100% rename from docs/tutorials/gn/README.md rename to tutorials/gn/README.md diff --git a/docs/tutorials/gn/build/BUILD.gn b/tutorials/gn/build/BUILD.gn similarity index 100% rename from docs/tutorials/gn/build/BUILD.gn rename to tutorials/gn/build/BUILD.gn diff --git a/docs/tutorials/gn/build/rust_host/BUILD.gn b/tutorials/gn/build/rust_host/BUILD.gn similarity index 82% rename from docs/tutorials/gn/build/rust_host/BUILD.gn rename to tutorials/gn/build/rust_host/BUILD.gn index 9844803e0a0..cb64f5b5b46 100644 --- a/docs/tutorials/gn/build/rust_host/BUILD.gn +++ b/tutorials/gn/build/rust_host/BUILD.gn @@ -2,7 +2,7 @@ # called LICENSE at the top level of the ICU4X source tree # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -import("//docs/tutorials/gn/build/rust_toolchain.gni") +import("//tutorials/gn/build/rust_toolchain.gni") rust_toolchain("rust_host") { rust_target = "" diff --git a/docs/tutorials/gn/build/rust_toolchain.gni b/tutorials/gn/build/rust_toolchain.gni similarity index 100% rename from docs/tutorials/gn/build/rust_toolchain.gni rename to tutorials/gn/build/rust_toolchain.gni diff --git a/docs/tutorials/gn/build/rust_wasi/BUILD.gn b/tutorials/gn/build/rust_wasi/BUILD.gn similarity index 82% rename from docs/tutorials/gn/build/rust_wasi/BUILD.gn rename to tutorials/gn/build/rust_wasi/BUILD.gn index 9d476369213..aaef2fd91cf 100644 --- a/docs/tutorials/gn/build/rust_wasi/BUILD.gn +++ b/tutorials/gn/build/rust_wasi/BUILD.gn @@ -2,7 +2,7 @@ # called LICENSE at the top level of the ICU4X source tree # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -import("//docs/tutorials/gn/build/rust_toolchain.gni") +import("//tutorials/gn/build/rust_toolchain.gni") rust_toolchain("rust_wasi") { rust_target = "wasm32-wasi" diff --git a/docs/tutorials/gn/gn.toml b/tutorials/gn/gn.toml similarity index 86% rename from docs/tutorials/gn/gn.toml rename to tutorials/gn/gn.toml index 1ecfa075403..c0cb7a6fb2c 100644 --- a/docs/tutorials/gn/gn.toml +++ b/tutorials/gn/gn.toml @@ -17,8 +17,8 @@ script_runner = "@duckscript" script = ''' exit_on_error true -mkdir docs/tutorials/gn/third_party_tools -cd docs/tutorials/gn/third_party_tools +mkdir tutorials/gn/third_party_tools +cd tutorials/gn/third_party_tools # depot_tools contains the following things we need: # 1. A cross-platform ninja wrapper script @@ -63,7 +63,7 @@ script_runner = "@duckscript" script = ''' exit_on_error true -cd docs/tutorials/gn +cd tutorials/gn rm -rf vendor rm -f .cargo/config @@ -97,14 +97,14 @@ script_runner = "@duckscript" script = ''' exit_on_error true -third_party_tools = is_path_exists docs/tutorials/gn/third_party_tools +third_party_tools = is_path_exists tutorials/gn/third_party_tools assert ${third_party_tools} "The GN third-party tools are not installed.\n*** Please run 'cargo make gn-install' ***" icu4x_root = pwd -cd docs/tutorials/gn +cd tutorials/gn -exec --fail-on-error ./third_party_tools/bin/gnaw --manifest-path "${icu4x_root}/docs/tutorials/gn/Cargo.toml" --project-root ${icu4x_root} --output ${icu4x_root}/docs/tutorials/gn/icu4x/BUILD.gn --skip-root --gn-bin ${icu4x_root}/docs/tutorials/gn/third_party_tools/bin/gn +exec --fail-on-error ./third_party_tools/bin/gnaw --manifest-path "${icu4x_root}/tutorials/gn/Cargo.toml" --project-root ${icu4x_root} --output ${icu4x_root}/tutorials/gn/icu4x/BUILD.gn --skip-root --gn-bin ${icu4x_root}/tutorials/gn/third_party_tools/bin/gn exec --fail-on-error cargo rdme --force ''' @@ -117,7 +117,7 @@ dependencies = [ script_runner = "@duckscript" script = ''' exit_on_error true -code = exec --get-exit-code git diff --exit-code -- docs/tutorials/gn +code = exec --get-exit-code git diff --exit-code -- tutorials/gn if ${code} trigger_error "GN rules need to be regenerated. Please run `cargo make gn-install`, then `cargo make gn-gen`, and commit." end @@ -135,12 +135,12 @@ script_runner = "@duckscript" script = ''' exit_on_error true -third_party_tools = is_path_exists docs/tutorials/gn/third_party_tools +third_party_tools = is_path_exists tutorials/gn/third_party_tools assert ${third_party_tools} "The GN third-party tools are not installed.\n*** Please run 'cargo make gn-install' ***" -cd docs/tutorials/gn +cd tutorials/gn -exec --fail-on-error ./third_party_tools/bin/gn gen --root=../../.. out/host +exec --fail-on-error ./third_party_tools/bin/gn gen --root=../.. out/host exec --fail-on-error rustup run ${PINNED_CI_NIGHTLY} ./third_party_tools/depot_tools/ninja -C out/host ''' @@ -156,14 +156,14 @@ script_runner = "@duckscript" script = ''' exit_on_error true -third_party_tools = is_path_exists docs/tutorials/gn/third_party_tools +third_party_tools = is_path_exists tutorials/gn/third_party_tools assert ${third_party_tools} "The GN third-party tools are not installed.\n*** Please run 'cargo make gn-install' ***" -cd docs/tutorials/gn +cd tutorials/gn exec --fail-on-error rustup target add wasm32-wasi --toolchain ${PINNED_CI_NIGHTLY} -exec --fail-on-error ./third_party_tools/bin/gn gen --root=../../.. --args=target_os="wasi" out/wasi +exec --fail-on-error ./third_party_tools/bin/gn gen --root=../.. --args=target_os="wasi" out/wasi exec --fail-on-error rustup run ${PINNED_CI_NIGHTLY} ./third_party_tools/depot_tools/ninja -C out/wasi ''' @@ -179,7 +179,7 @@ dependencies = [ script_runner = "@duckscript" script = ''' exit_on_error true -cd docs/tutorials/gn -exec --fail-on-error ./out/host/obj/docs/tutorials/gn/hello_world/print_hello -exec --fail-on-error wasmer run ./out/wasi/obj/docs/tutorials/gn/hello_world/print_hello +cd tutorials/gn +exec --fail-on-error ./out/host/obj/tutorials/gn/hello_world/print_hello +exec --fail-on-error wasmer run ./out/wasi/obj/tutorials/gn/hello_world/print_hello ''' diff --git a/docs/tutorials/gn/hello_world/BUILD.gn b/tutorials/gn/hello_world/BUILD.gn similarity index 77% rename from docs/tutorials/gn/hello_world/BUILD.gn rename to tutorials/gn/hello_world/BUILD.gn index f9b4f34c380..0c9b6235171 100644 --- a/docs/tutorials/gn/hello_world/BUILD.gn +++ b/tutorials/gn/hello_world/BUILD.gn @@ -5,7 +5,7 @@ executable("print_hello") { sources = [ "print_hello.rs" ] deps = [ - "//docs/tutorials/gn/icu4x:icu", - "//docs/tutorials/gn/icu4x:icu_provider", + "//tutorials/gn/icu4x:icu", + "//tutorials/gn/icu4x:icu_provider", ] } diff --git a/docs/tutorials/gn/hello_world/print_hello.rs b/tutorials/gn/hello_world/print_hello.rs similarity index 100% rename from docs/tutorials/gn/hello_world/print_hello.rs rename to tutorials/gn/hello_world/print_hello.rs diff --git a/docs/tutorials/gn/icu4x/README.md b/tutorials/gn/icu4x/README.md similarity index 100% rename from docs/tutorials/gn/icu4x/README.md rename to tutorials/gn/icu4x/README.md diff --git a/docs/tutorials/gn/src/lib.rs b/tutorials/gn/src/lib.rs similarity index 100% rename from docs/tutorials/gn/src/lib.rs rename to tutorials/gn/src/lib.rs diff --git a/docs/tutorials/index.md b/tutorials/index.md similarity index 100% rename from docs/tutorials/index.md rename to tutorials/index.md diff --git a/docs/tutorials/intro.md b/tutorials/intro.md similarity index 100% rename from docs/tutorials/intro.md rename to tutorials/intro.md diff --git a/docs/tutorials/intro_interactive.md b/tutorials/intro_interactive.md similarity index 100% rename from docs/tutorials/intro_interactive.md rename to tutorials/intro_interactive.md diff --git a/docs/tutorials/js-tiny/.gitignore b/tutorials/js-tiny/.gitignore similarity index 100% rename from docs/tutorials/js-tiny/.gitignore rename to tutorials/js-tiny/.gitignore diff --git a/docs/tutorials/js-tiny/Cargo.lock b/tutorials/js-tiny/Cargo.lock similarity index 100% rename from docs/tutorials/js-tiny/Cargo.lock rename to tutorials/js-tiny/Cargo.lock diff --git a/docs/tutorials/js-tiny/Cargo.toml b/tutorials/js-tiny/Cargo.toml similarity index 100% rename from docs/tutorials/js-tiny/Cargo.toml rename to tutorials/js-tiny/Cargo.toml diff --git a/docs/tutorials/js-tiny/Makefile b/tutorials/js-tiny/Makefile similarity index 100% rename from docs/tutorials/js-tiny/Makefile rename to tutorials/js-tiny/Makefile diff --git a/docs/tutorials/js-tiny/README.md b/tutorials/js-tiny/README.md similarity index 100% rename from docs/tutorials/js-tiny/README.md rename to tutorials/js-tiny/README.md diff --git a/docs/tutorials/js-tiny/ld.py b/tutorials/js-tiny/ld.py similarity index 100% rename from docs/tutorials/js-tiny/ld.py rename to tutorials/js-tiny/ld.py diff --git a/docs/tutorials/js-tiny/tiny.mjs b/tutorials/js-tiny/tiny.mjs similarity index 100% rename from docs/tutorials/js-tiny/tiny.mjs rename to tutorials/js-tiny/tiny.mjs diff --git a/docs/tutorials/js.md b/tutorials/js.md similarity index 100% rename from docs/tutorials/js.md rename to tutorials/js.md diff --git a/docs/tutorials/npm/.gitignore b/tutorials/npm/.gitignore similarity index 100% rename from docs/tutorials/npm/.gitignore rename to tutorials/npm/.gitignore diff --git a/docs/tutorials/npm/cors-config-file.json b/tutorials/npm/cors-config-file.json similarity index 100% rename from docs/tutorials/npm/cors-config-file.json rename to tutorials/npm/cors-config-file.json diff --git a/docs/tutorials/npm/index.html b/tutorials/npm/index.html similarity index 100% rename from docs/tutorials/npm/index.html rename to tutorials/npm/index.html diff --git a/docs/tutorials/npm/index.js b/tutorials/npm/index.js similarity index 100% rename from docs/tutorials/npm/index.js rename to tutorials/npm/index.js diff --git a/docs/tutorials/npm/package-lock.json b/tutorials/npm/package-lock.json similarity index 100% rename from docs/tutorials/npm/package-lock.json rename to tutorials/npm/package-lock.json diff --git a/docs/tutorials/npm/package.json b/tutorials/npm/package.json similarity index 100% rename from docs/tutorials/npm/package.json rename to tutorials/npm/package.json diff --git a/docs/tutorials/npm/src/scss/styles.scss b/tutorials/npm/src/scss/styles.scss similarity index 100% rename from docs/tutorials/npm/src/scss/styles.scss rename to tutorials/npm/src/scss/styles.scss diff --git a/docs/tutorials/npm/src/ts/app.ts b/tutorials/npm/src/ts/app.ts similarity index 100% rename from docs/tutorials/npm/src/ts/app.ts rename to tutorials/npm/src/ts/app.ts diff --git a/docs/tutorials/npm/src/ts/date-time.ts b/tutorials/npm/src/ts/date-time.ts similarity index 100% rename from docs/tutorials/npm/src/ts/date-time.ts rename to tutorials/npm/src/ts/date-time.ts diff --git a/docs/tutorials/npm/src/ts/fixed-decimal.ts b/tutorials/npm/src/ts/fixed-decimal.ts similarity index 100% rename from docs/tutorials/npm/src/ts/fixed-decimal.ts rename to tutorials/npm/src/ts/fixed-decimal.ts diff --git a/docs/tutorials/npm/src/ts/index.ts b/tutorials/npm/src/ts/index.ts similarity index 100% rename from docs/tutorials/npm/src/ts/index.ts rename to tutorials/npm/src/ts/index.ts diff --git a/docs/tutorials/npm/src/ts/segmenter.ts b/tutorials/npm/src/ts/segmenter.ts similarity index 100% rename from docs/tutorials/npm/src/ts/segmenter.ts rename to tutorials/npm/src/ts/segmenter.ts diff --git a/docs/tutorials/npm/tsconfig.json b/tutorials/npm/tsconfig.json similarity index 100% rename from docs/tutorials/npm/tsconfig.json rename to tutorials/npm/tsconfig.json diff --git a/docs/tutorials/npm/webpack.config.js b/tutorials/npm/webpack.config.js similarity index 100% rename from docs/tutorials/npm/webpack.config.js rename to tutorials/npm/webpack.config.js diff --git a/docs/tutorials/rust.md b/tutorials/rust.md similarity index 100% rename from docs/tutorials/rust.md rename to tutorials/rust.md diff --git a/docs/tutorials/rust/.gitignore b/tutorials/rust/.gitignore similarity index 100% rename from docs/tutorials/rust/.gitignore rename to tutorials/rust/.gitignore diff --git a/docs/tutorials/rust/baked/Cargo.lock b/tutorials/rust/baked/Cargo.lock similarity index 100% rename from docs/tutorials/rust/baked/Cargo.lock rename to tutorials/rust/baked/Cargo.lock diff --git a/docs/tutorials/rust/baked/Cargo.toml b/tutorials/rust/baked/Cargo.toml similarity index 100% rename from docs/tutorials/rust/baked/Cargo.toml rename to tutorials/rust/baked/Cargo.toml diff --git a/docs/tutorials/rust/baked/README.md b/tutorials/rust/baked/README.md similarity index 100% rename from docs/tutorials/rust/baked/README.md rename to tutorials/rust/baked/README.md diff --git a/docs/tutorials/rust/baked/build.rs b/tutorials/rust/baked/build.rs similarity index 100% rename from docs/tutorials/rust/baked/build.rs rename to tutorials/rust/baked/build.rs diff --git a/docs/tutorials/rust/baked/src/main.rs b/tutorials/rust/baked/src/main.rs similarity index 100% rename from docs/tutorials/rust/baked/src/main.rs rename to tutorials/rust/baked/src/main.rs diff --git a/docs/tutorials/rust/buffer/.gitignore b/tutorials/rust/buffer/.gitignore similarity index 100% rename from docs/tutorials/rust/buffer/.gitignore rename to tutorials/rust/buffer/.gitignore diff --git a/docs/tutorials/rust/buffer/Cargo.lock b/tutorials/rust/buffer/Cargo.lock similarity index 100% rename from docs/tutorials/rust/buffer/Cargo.lock rename to tutorials/rust/buffer/Cargo.lock diff --git a/docs/tutorials/rust/buffer/Cargo.toml b/tutorials/rust/buffer/Cargo.toml similarity index 100% rename from docs/tutorials/rust/buffer/Cargo.toml rename to tutorials/rust/buffer/Cargo.toml diff --git a/docs/tutorials/rust/buffer/Makefile b/tutorials/rust/buffer/Makefile similarity index 100% rename from docs/tutorials/rust/buffer/Makefile rename to tutorials/rust/buffer/Makefile diff --git a/docs/tutorials/rust/buffer/README.md b/tutorials/rust/buffer/README.md similarity index 100% rename from docs/tutorials/rust/buffer/README.md rename to tutorials/rust/buffer/README.md diff --git a/docs/tutorials/rust/buffer/src/main.rs b/tutorials/rust/buffer/src/main.rs similarity index 100% rename from docs/tutorials/rust/buffer/src/main.rs rename to tutorials/rust/buffer/src/main.rs diff --git a/docs/tutorials/rust/custom_compiled/.gitignore b/tutorials/rust/custom_compiled/.gitignore similarity index 100% rename from docs/tutorials/rust/custom_compiled/.gitignore rename to tutorials/rust/custom_compiled/.gitignore diff --git a/docs/tutorials/rust/custom_compiled/Cargo.lock b/tutorials/rust/custom_compiled/Cargo.lock similarity index 100% rename from docs/tutorials/rust/custom_compiled/Cargo.lock rename to tutorials/rust/custom_compiled/Cargo.lock diff --git a/docs/tutorials/rust/custom_compiled/Cargo.toml b/tutorials/rust/custom_compiled/Cargo.toml similarity index 100% rename from docs/tutorials/rust/custom_compiled/Cargo.toml rename to tutorials/rust/custom_compiled/Cargo.toml diff --git a/docs/tutorials/rust/custom_compiled/Makefile b/tutorials/rust/custom_compiled/Makefile similarity index 100% rename from docs/tutorials/rust/custom_compiled/Makefile rename to tutorials/rust/custom_compiled/Makefile diff --git a/docs/tutorials/rust/custom_compiled/README.md b/tutorials/rust/custom_compiled/README.md similarity index 100% rename from docs/tutorials/rust/custom_compiled/README.md rename to tutorials/rust/custom_compiled/README.md diff --git a/docs/tutorials/rust/custom_compiled/src/main.rs b/tutorials/rust/custom_compiled/src/main.rs similarity index 100% rename from docs/tutorials/rust/custom_compiled/src/main.rs rename to tutorials/rust/custom_compiled/src/main.rs diff --git a/docs/tutorials/rust/default/Cargo.lock b/tutorials/rust/default/Cargo.lock similarity index 100% rename from docs/tutorials/rust/default/Cargo.lock rename to tutorials/rust/default/Cargo.lock diff --git a/docs/tutorials/rust/default/Cargo.toml b/tutorials/rust/default/Cargo.toml similarity index 100% rename from docs/tutorials/rust/default/Cargo.toml rename to tutorials/rust/default/Cargo.toml diff --git a/docs/tutorials/rust/default/README.md b/tutorials/rust/default/README.md similarity index 100% rename from docs/tutorials/rust/default/README.md rename to tutorials/rust/default/README.md diff --git a/docs/tutorials/rust/default/src/main.rs b/tutorials/rust/default/src/main.rs similarity index 100% rename from docs/tutorials/rust/default/src/main.rs rename to tutorials/rust/default/src/main.rs diff --git a/docs/tutorials/rust/experimental/Cargo.lock b/tutorials/rust/experimental/Cargo.lock similarity index 100% rename from docs/tutorials/rust/experimental/Cargo.lock rename to tutorials/rust/experimental/Cargo.lock diff --git a/docs/tutorials/rust/experimental/Cargo.toml b/tutorials/rust/experimental/Cargo.toml similarity index 100% rename from docs/tutorials/rust/experimental/Cargo.toml rename to tutorials/rust/experimental/Cargo.toml diff --git a/docs/tutorials/rust/experimental/README.md b/tutorials/rust/experimental/README.md similarity index 100% rename from docs/tutorials/rust/experimental/README.md rename to tutorials/rust/experimental/README.md diff --git a/docs/tutorials/rust/experimental/src/main.rs b/tutorials/rust/experimental/src/main.rs similarity index 100% rename from docs/tutorials/rust/experimental/src/main.rs rename to tutorials/rust/experimental/src/main.rs diff --git a/docs/tutorials/rust/sync/Cargo.lock b/tutorials/rust/sync/Cargo.lock similarity index 100% rename from docs/tutorials/rust/sync/Cargo.lock rename to tutorials/rust/sync/Cargo.lock diff --git a/docs/tutorials/rust/sync/Cargo.toml b/tutorials/rust/sync/Cargo.toml similarity index 100% rename from docs/tutorials/rust/sync/Cargo.toml rename to tutorials/rust/sync/Cargo.toml diff --git a/docs/tutorials/rust/sync/README.md b/tutorials/rust/sync/README.md similarity index 100% rename from docs/tutorials/rust/sync/README.md rename to tutorials/rust/sync/README.md diff --git a/docs/tutorials/rust/sync/src/main.rs b/tutorials/rust/sync/src/main.rs similarity index 100% rename from docs/tutorials/rust/sync/src/main.rs rename to tutorials/rust/sync/src/main.rs diff --git a/utils/calendrical_calculations/src/lib.rs b/utils/calendrical_calculations/src/lib.rs index 0ba879a2269..2066791f7de 100644 --- a/utils/calendrical_calculations/src/lib.rs +++ b/utils/calendrical_calculations/src/lib.rs @@ -18,7 +18,7 @@ //! //! The primary purpose of this crate is use by ICU4X, however if non-ICU4X users need this we are happy //! to add more structure to this crate as needed. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/utils/deduplicating_array/src/lib.rs b/utils/deduplicating_array/src/lib.rs index f5e0c483265..7f630081b55 100644 --- a/utils/deduplicating_array/src/lib.rs +++ b/utils/deduplicating_array/src/lib.rs @@ -28,7 +28,7 @@ //! This implies that singleton integer arrays cannot be used as array elements (they do work in Bincode, //! but there's really not much point in using them). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(test), no_std)] #![cfg_attr( not(test), diff --git a/utils/fixed_decimal/src/lib.rs b/utils/fixed_decimal/src/lib.rs index 39c863ed629..cd75599ac3b 100644 --- a/utils/fixed_decimal/src/lib.rs +++ b/utils/fixed_decimal/src/lib.rs @@ -36,7 +36,7 @@ //! //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/utils/litemap/src/lib.rs b/utils/litemap/src/lib.rs index b6f4019a708..f8aeb7dda29 100644 --- a/utils/litemap/src/lib.rs +++ b/utils/litemap/src/lib.rs @@ -30,7 +30,7 @@ //! [`impl Bake for LiteMap`]: ./struct.LiteMap.html#impl-Bake-for-LiteMap //! [`Vec`]: alloc::vec::Vec -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(test), no_std)] #![cfg_attr( not(test), diff --git a/utils/pattern/src/lib.rs b/utils/pattern/src/lib.rs index d48d0b77c7a..a12cdc0a155 100644 --- a/utils/pattern/src/lib.rs +++ b/utils/pattern/src/lib.rs @@ -31,7 +31,7 @@ //! [`ICU4X`]: ../icu/index.html //! [`FromStr`]: std::str::FromStr -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/utils/resb/src/lib.rs b/utils/resb/src/lib.rs index 38fd65e2b5b..66404e53168 100644 --- a/utils/resb/src/lib.rs +++ b/utils/resb/src/lib.rs @@ -10,7 +10,7 @@ //! //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/utils/tinystr/src/lib.rs b/utils/tinystr/src/lib.rs index 3d13e95ea59..279d67ae772 100644 --- a/utils/tinystr/src/lib.rs +++ b/utils/tinystr/src/lib.rs @@ -51,7 +51,7 @@ //! //! [`ICU4X`]: ../icu/index.html -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test), diff --git a/utils/writeable/src/lib.rs b/utils/writeable/src/lib.rs index 5f1e67f7880..6e550e3b246 100644 --- a/utils/writeable/src/lib.rs +++ b/utils/writeable/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(all(not(test), not(doc)), no_std)] #![cfg_attr( not(test), diff --git a/utils/yoke/src/lib.rs b/utils/yoke/src/lib.rs index 66867487392..26fe9614703 100644 --- a/utils/yoke/src/lib.rs +++ b/utils/yoke/src/lib.rs @@ -24,7 +24,7 @@ //! //! See the documentation of [`Yoke`] for more details. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(all(not(test), not(doc)), no_std)] #![cfg_attr( not(test), diff --git a/utils/zerofrom/derive/src/lib.rs b/utils/zerofrom/derive/src/lib.rs index bb48ec26efe..67d40851e75 100644 --- a/utils/zerofrom/derive/src/lib.rs +++ b/utils/zerofrom/derive/src/lib.rs @@ -4,7 +4,7 @@ //! Custom derives for `ZeroFrom` from the `zerofrom` crate. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr( not(test), deny( diff --git a/utils/zerofrom/src/lib.rs b/utils/zerofrom/src/lib.rs index 7b47613fd33..88ce8f61465 100644 --- a/utils/zerofrom/src/lib.rs +++ b/utils/zerofrom/src/lib.rs @@ -6,7 +6,7 @@ //! //! See the documentation of [`ZeroFrom`] for more details. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(test), no_std)] #![cfg_attr( not(test), diff --git a/utils/zerotrie/src/lib.rs b/utils/zerotrie/src/lib.rs index 6764c551603..edac14da291 100644 --- a/utils/zerotrie/src/lib.rs +++ b/utils/zerotrie/src/lib.rs @@ -34,7 +34,7 @@ //! [`LiteMap`]: litemap::LiteMap //! [`BTreeMap`]: alloc::collections::BTreeMap -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(test), no_std)] #![cfg_attr( not(test), diff --git a/utils/zerovec/src/lib.rs b/utils/zerovec/src/lib.rs index 12b29eab6bc..8bb5b17e030 100644 --- a/utils/zerovec/src/lib.rs +++ b/utils/zerovec/src/lib.rs @@ -193,7 +193,7 @@ //! `zeromap` benches are named by convention, e.g. `zeromap/deserialize/small`, `zeromap/lookup/large`. The type //! is appended for baseline comparisons, e.g. `zeromap/lookup/small/hashmap`. -// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations +// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations #![cfg_attr(not(any(test, feature = "std")), no_std)] #![cfg_attr( not(test),