Skip to content

Commit

Permalink
Move svg generation to rust (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Jan 31, 2025
1 parent 1333345 commit d547d78
Show file tree
Hide file tree
Showing 11 changed files with 772 additions and 585 deletions.
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/rust:1": {}
},
"image": "mcr.microsoft.com/devcontainers/base:debian",
"image": "mcr.microsoft.com/devcontainers/python:3",
"name": "Deebot client",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
Expand Down
259 changes: 257 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ authors = ["Robert Resch <[email protected]>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "deebot_client"
crate-type = ["cdylib"]
crate-type = ["cdylib", "rlib"]

[dependencies]
base64 = "0.22.1"
byteorder = "1.5.0"
liblzma = "0.3.5"
log = "0.4.25"
pyo3 = "0.23.3"
pyo3-log = "0.12.1"
svg = "0.18.0"

[dev-dependencies]
rstest = "0.24.0"
Loading

0 comments on commit d547d78

Please sign in to comment.