-
Notifications
You must be signed in to change notification settings - Fork 4
feat: use QCS "core dependencies" crate #588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2397a91
feat: use QCS-dependencies-client
BatmanAoD 0b15e15
update 'warp'
BatmanAoD b6b0238
more updates, and cargo-deny changes
BatmanAoD d809460
make all dependencies workspace-level; use warp's 'server' feature
BatmanAoD c4d7bee
migrate from 'paste' to 'pastey'
BatmanAoD f480139
chore: create devcontainer setup
BatmanAoD da925cb
update rigetti-pyo3 and optipy
BatmanAoD f4c34f5
fix build
BatmanAoD 3b83ae6
install-quilc script should be usable in CI
BatmanAoD 2c1a898
rework devcontainer
BatmanAoD ca45d74
ensure CI checks full build
BatmanAoD 2c689ff
need libclang
BatmanAoD 11f100e
ignore 'oauth2' dep on 'reqwest'
BatmanAoD d94e00a
mount dev HOME; force amd64 platform
BatmanAoD 3d6bbb9
upgrade to released core-deps
BatmanAoD 0f30821
style: no reason for 'pre-ci-flow' task
BatmanAoD ac052b4
style: no reason for fully-qualified 'async_trait' coming from tonic
BatmanAoD c9fadd2
update to pyo3-otel prerelease
BatmanAoD 55533ec
fix for grpc-web plus tracing
BatmanAoD b6e8158
feat!: simplify feature set: always-on tracing, combine tracing-confi…
BatmanAoD 3b195db
don't use rusty-dev-containers; just install with binstall in the doc…
BatmanAoD f5d941c
simplify the breaking-change check
BatmanAoD d3af8a7
use released pyo3-otel crates
BatmanAoD a66fa58
update optipy, fix EXTERN_NAME definition and attributes
BatmanAoD 0e8e1c6
fix comment location
BatmanAoD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,15 @@ | ||
| FROM rust:latest | ||
|
|
||
| # cmake and pkg-config are needed by Rust build scripts (e.g. aws-lc-sys). | ||
| # sudo allows install-libquil to re-exec as root when the container user is not root. | ||
| COPY scripts/install-libquil /tmp/install-libquil | ||
| RUN apt-get update && \ | ||
| apt-get install -y --no-install-recommends cmake pkg-config sudo && \ | ||
| /tmp/install-libquil && \ | ||
| rm -rf /var/lib/apt/lists/* /tmp/install-libquil | ||
|
|
||
| RUN cargo install cargo-binstall | ||
| RUN cargo binstall --no-confirm cargo-make cargo-deny ripgrep knope | ||
|
|
||
| # The user is assumed to own the repo, even though the container is run with a different user. | ||
| RUN git config --global --add safe.directory /workspaces/qcs-sdk-rust | ||
|
BatmanAoD marked this conversation as resolved.
|
This file contains hidden or 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,19 @@ | ||
| { | ||
| "features": { | ||
| "ghcr.io/devcontainers-extra/features/curl-apt-get:1": { | ||
| "version": "1.0.18", | ||
| "resolved": "ghcr.io/devcontainers-extra/features/curl-apt-get@sha256:7fb32e4ebdd440369a598e7a27b1ed56c9e73eb6b4f595d30969862d2fc68e40", | ||
| "integrity": "sha256:7fb32e4ebdd440369a598e7a27b1ed56c9e73eb6b4f595d30969862d2fc68e40" | ||
| }, | ||
| "ghcr.io/devcontainers-extra/features/poetry:2": { | ||
| "version": "2.0.18", | ||
| "resolved": "ghcr.io/devcontainers-extra/features/poetry@sha256:7b5f2c66d25d8b3cc5d601af6b81b720c77dd315f24d5e6f84b342cccc3c9228", | ||
| "integrity": "sha256:7b5f2c66d25d8b3cc5d601af6b81b720c77dd315f24d5e6f84b342cccc3c9228" | ||
| }, | ||
| "ghcr.io/devcontainers-extra/features/protoc:1": { | ||
| "version": "1.0.3", | ||
| "resolved": "ghcr.io/devcontainers-extra/features/protoc@sha256:57ec0b9c074c3c764d5b43386f5fd219586b2548d5a99da8c3307f29fc1deafc", | ||
| "integrity": "sha256:57ec0b9c074c3c764d5b43386f5fd219586b2548d5a99da8c3307f29fc1deafc" | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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,24 @@ | ||
| // For format details, see https://aka.ms/devcontainer.json. | ||
| { | ||
| "name": "qcs-sdk-rust", | ||
|
|
||
| "build": { | ||
| "dockerfile": "Dockerfile", | ||
| "context": "..", | ||
| "options": ["--platform=linux/amd64"] | ||
| }, | ||
|
|
||
| "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
|
|
||
| "mounts": [ | ||
| "source=${localEnv:HOME},target=/dev-home,type=bind,consistency=cached" | ||
| ], | ||
|
|
||
| "runArgs": ["--platform=linux/amd64"], | ||
|
|
||
| "features": { | ||
| "ghcr.io/devcontainers-extra/features/curl-apt-get:1": {}, | ||
| "ghcr.io/devcontainers-extra/features/protoc:1": {}, | ||
| "ghcr.io/devcontainers-extra/features/poetry:2": {} | ||
| } | ||
| } |
This file contains hidden or 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,9 @@ | ||
| /target | ||
| .jj/ | ||
| .git/ | ||
| .github/ | ||
| .venv/ | ||
| venv/ | ||
| *.dSYM | ||
| *.o | ||
| *.dylib |
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.