Skip to content

Commit

Permalink
update robstride package
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Oct 24, 2024
1 parent f40efd4 commit ac6e892
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jobs:

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}

publish-rust:
timeout-minutes: 10
Expand Down Expand Up @@ -77,7 +74,7 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-index
- name: Publish to crates.io
- name: Publish Robstride package to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
Expand Down
3 changes: 3 additions & 0 deletions actuator/bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[package]

name = "bindings"
version.workspace = true
edition.workspace = true
Expand All @@ -9,10 +10,12 @@ license.workspace = true
readme.workspace = true

[lib]

name = "bindings"
crate-type = ["cdylib", "rlib"]

[dependencies]

pyo3 = { version = ">= 0.21.0", features = ["extension-module"] }
pyo3-stub-gen = ">= 0.6.0"
tokio = { version = "1.28.0", features = ["full"] }
Expand Down
1 change: 0 additions & 1 deletion actuator/bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ build-backend = "maturin"
name = "bindings"
requires-python = ">=3.9"


[project.optional-dependencies]
test = ["pytest", "pyright", "ruff"]
24 changes: 15 additions & 9 deletions actuator/robstride/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
[package]

name = "robstride"
readme = "README.md"
version = "0.1.1"
description = "Robstride crate"

authors.workspace = true
version.workspace = true
edition.workspace = true
description.workspace = true
repository.workspace = true
license.workspace = true
readme.workspace = "README.md"

[lib]

name = "robstride"
crate-type = ["cdylib", "rlib"]

[dependencies]
serialport = "4.5.1"
ctrlc = "3.4.5"
lazy_static = "1.4.0"
spin_sleep = "1.2.1"
nix = "0.26.2"
log = "0.4.22"

serialport = "^4.5.1"
ctrlc = "^3.4.5"
lazy_static = "^1.4.0"
spin_sleep = "^1.2.1"
nix = "^0.26.2"
log = "^0.4.22"

[[bin]]

name = "motors"
path = "src/bin/motors.rs"

[dependencies.clap]

version = "4.3"
features = ["derive"]

0 comments on commit ac6e892

Please sign in to comment.