diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index 70b5e6bc0..76678dcfc 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -3,10 +3,14 @@ abnf ABNF addrr adminer +anypolicy apskhem +Arissara asyncio +Attributes auditability backpressure +bimap bindgen bkioshn blockdiag @@ -26,6 +30,7 @@ chaincode CHAINCODE chainsync childs +Chotivichit chrono cids ciphertext @@ -114,6 +119,7 @@ maindbname mapref mdlint mdns +minicbor miniprotocol miniprotocols mithril @@ -131,6 +137,7 @@ nextest nolfs notadb nsec +OCSP oneshot openapi openat @@ -145,6 +152,7 @@ plpgsql pollable Pozhylenkov pread +Precertificate preopen preopened preopens @@ -152,6 +160,7 @@ preprod psql pubk pubkey +publickey pubspec pwrite qpsg @@ -163,6 +172,7 @@ REMOVEDIR renameat reqwest retriggering +rlib rulelist rulename RULENAME @@ -208,6 +218,7 @@ unfinalized unixfs unlinkat upnp +userid utimensat vitss voteplan diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 43e8a35dc..a7f80fa1e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,23 +2,23 @@ First off, thanks for taking the time to contribute! ❤️ -- [Contributing to Catalyst Libs](#contributing-to-catalyst-libs) - - [Code of Conduct](#code-of-conduct) - - [I Have a Question](#i-have-a-question) - - [I Want To Contribute](#i-want-to-contribute) - - [Reporting Bugs](#reporting-bugs) - - [Before Submitting a Bug Report](#before-submitting-a-bug-report) - - [How Do I Submit a Good Bug Report?](#how-do-i-submit-a-good-bug-report) - - [Suggesting Enhancements](#suggesting-enhancements) - - [Before Submitting an Enhancement](#before-submitting-an-enhancement) - - [How Do I Submit a Good Enhancement Suggestion?](#how-do-i-submit-a-good-enhancement-suggestion) - - [Your First Code Contribution](#your-first-code-contribution) - - [Improving The Documentation](#improving-the-documentation) - - [Style guides](#style-guides) - - [Rust](#rust) - - [Dart](#dart) - - [Flutter](#flutter) - - [Commit Messages](#commit-messages) +* [Contributing to Catalyst Libs](#contributing-to-catalyst-libs) + * [Code of Conduct](#code-of-conduct) + * [I Have a Question](#i-have-a-question) + * [I Want To Contribute](#i-want-to-contribute) + * [Reporting Bugs](#reporting-bugs) + * [Before Submitting a Bug Report](#before-submitting-a-bug-report) + * [How Do I Submit a Good Bug Report?](#how-do-i-submit-a-good-bug-report) + * [Suggesting Enhancements](#suggesting-enhancements) + * [Before Submitting an Enhancement](#before-submitting-an-enhancement) + * [How Do I Submit a Good Enhancement Suggestion?](#how-do-i-submit-a-good-enhancement-suggestion) + * [Your First Code Contribution](#your-first-code-contribution) + * [Improving The Documentation](#improving-the-documentation) + * [Style guides](#style-guides) + * [Rust](#rust) + * [Dart](#dart) + * [Flutter](#flutter) + * [Commit Messages](#commit-messages) All types of contributions are encouraged and valued. Please make sure to read the relevant section before making your contribution. diff --git a/README.md b/README.md index dbdf715bf..8c77f4c59 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@ Welcome to the Catalyst Libs mono repo, where we manage and maintain the interconnected Rust crates, Dart and Flutter packages, and other libraries that make up the Catalyst project. -- [Catalyst Libs](#catalyst-libs) - - [Overview](#overview) - - [Getting Started](#getting-started) - - [Contributing](#contributing) - - [License](#license) +* [Catalyst Libs](#catalyst-libs) + * [Overview](#overview) + * [Getting Started](#getting-started) + * [Contributing](#contributing) + * [License](#license) ## Overview @@ -17,8 +17,8 @@ This monorepo serves as a unified codebase for the Catalyst project. Using a monorepo simplifies our dependency management, streamlines testing, and fosters code sharing. ## Getting Started -TODO +TODO ## Contributing diff --git a/cspell.json b/cspell.json index 267a67af8..f6525fef1 100644 --- a/cspell.json +++ b/cspell.json @@ -228,6 +228,7 @@ "*.excalidraw", ".vscode/**", "**/.idea/**", - "**/.dart_tool/**" + "**/.dart_tool/**", + "./rust/cardano-chain-follower/examples/snapshot_data/**", ] } \ No newline at end of file diff --git a/rust/Earthfile b/rust/Earthfile new file mode 100644 index 000000000..cd052fad9 --- /dev/null +++ b/rust/Earthfile @@ -0,0 +1,38 @@ +VERSION 0.8 + +IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:v3.1.24 AS rust-ci +# Use when debugging cat-ci locally. +# IMPORT ../../catalyst-ci/earthly/rust AS rust-ci + +# builder : Set up our target toolchains, and copy our files. +builder: + DO rust-ci+SETUP + # COPY --dir .cargo .config crates bin . + # COPY Cargo.toml . + # COPY clippy.toml deny.toml rustfmt.toml . + +## ----------------------------------------------------------------------------- +## +## Standard CI targets. +## +## These targets are discovered and executed automatically by CI. + +# check : Run check using the most efficient host tooling +# CI Automated Entry point. +check: + FROM +builder + + DO rust-ci+EXECUTE --cmd="/scripts/std_checks.py" + +# all-hosts-check : Test which runs check with all supported host tooling. +# Needs qemu or rosetta to run. +# Only used to validate tooling is working across host toolsets. +all-hosts-check: + BUILD --platform=linux/amd64 --platform=linux/arm64 +check + +## ----------------------------------------------------------------------------- + +# local-ci-run: This step simulates the full CI run for local purposes only. +local-ci-run: + BUILD +check + BUILD +build diff --git a/rust/c509-certificate/src/c509_attributes/mod.rs b/rust/c509-certificate/src/c509_attributes/mod.rs index 30fa1684a..b188558e1 100644 --- a/rust/c509-certificate/src/c509_attributes/mod.rs +++ b/rust/c509-certificate/src/c509_attributes/mod.rs @@ -10,7 +10,7 @@ //! SubjectDirectoryAttributes = [+Attributes] //! ``` //! -//! For more information about `Atributes`, +//! For more information about `Attributes`, //! visit [C509 Certificate](https://datatracker.ietf.org/doc/draft-ietf-cose-cbor-encoded-cert/09/) use attribute::Attribute;