-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8fade97
Showing
29 changed files
with
69,139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @anduril/lattice-sdk-maintainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Lint commit" | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
permissions: | ||
pull-requests: read | ||
jobs: | ||
main: | ||
name: Validate PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
requireScope: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: read | ||
|
||
# Only allow one release workflow to execute at a time, since each release | ||
# workflow uses shared resources (git tags, package registries) | ||
concurrency: | ||
group: ${{ github.workflow }} | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to be able to publish a GitHub release | ||
issues: write # to be able to comment on released issues | ||
pull-requests: write # to be able to comment on released pull requests | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- name: Install dependencies | ||
run: | | ||
cargo install cargo-edit | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v4 | ||
with: | ||
semantic_version: 24.2.0 | ||
extra_plugins: | | ||
@semantic-release/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CARGO_API_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target | ||
Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
plugins: [ | ||
"@semantic-release/commit-analyzer", | ||
'@semantic-release/release-notes-generator', | ||
"@semantic-release/github", | ||
[ | ||
"@semantic-release/exec", { | ||
"prepareCmd": "cargo set-version ${nextRelease.version}", | ||
"publishCmd": "cargo publish --token ${process.env.CARGO_API_TOKEN} --allow-dirty --dry-run" | ||
}, | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "anduril-lattice-sdk" | ||
description = "Anduril's Lattice SDK for interacting with Lattice APIs" | ||
homepage = "anduril.com" | ||
documentation = "docs.anduril.com" | ||
repository = "https://github.com/anduril/lattice-sdk-rust" | ||
version = "1.0.0" | ||
edition = "2021" | ||
license-file = "LICENSE.md" | ||
|
||
[dependencies] | ||
bytes = "1.7.1" | ||
prost = "0.13.1" | ||
pbjson = "0.7" | ||
pbjson-types = "0.7" | ||
serde = "1.0.204" | ||
tonic = { version = "0.12.1", features = ["gzip"] } | ||
|
||
[lib] | ||
crate-type = ["lib"] | ||
path = "src/mod.rs" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Lattice SDK Rust | ||
|
||
[![Version](https://img.shields.io/crates/v/anduril-lattice-sdk.svg)](https://crates.io/crates/anduril-lattice-sdk) | ||
|
||
The official [Anduril](https://www.anduril.com/) Lattice SDK for Rust. | ||
|
||
## Documentation | ||
|
||
See the documentation for [Lattice Rust SDK](https://docs.anduril.com/sdks/rust). | ||
|
||
## Requirements | ||
|
||
To use the SDK please ensure you have the following installed: | ||
|
||
* [Rust](https://www.rust-lang.org/tools/install) | ||
|
||
## Installation | ||
|
||
Install the Lattice SDK package with: | ||
|
||
``` | ||
cargo add anduril-lattice-sdk | ||
``` | ||
|
||
## Support | ||
|
||
For support with this library please [file an issue](https://github.com/anduril/lattice-sdk-rust/issues/new) or reach out to your Anduril representative. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Security Policy | ||
|
||
## Reporting a Vulnerability | ||
|
||
Please report any security issues to the Anduril Information Security team using the email [email protected]. Additional information including our pgp key can be found in the [security.txt page](https://www.anduril.com/.well-known/security.txt) of our website. |
Oops, something went wrong.