Skip to content

Commit

Permalink
Upgraded deps added devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
folkengine committed Dec 17, 2023
1 parent e1f980f commit 813876a
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM mcr.microsoft.com/devcontainers/rust:latest

# install a few tools for more convenient developing
#RUN apt-get update; \
# apt-get -y install --fix-missing \
# git python3 cmake g++ python-is-python3

# [Optional] Uncomment this section to install additional packages.
#RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends python-is-python3

# Add ./bin to PATH
ENV PATH="./bin:${PATH}"
37 changes: 37 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
// Based on https://github.com/microsoft/vscode-remote-try-cpp?tab=readme-ov-file
{
"name": "Rust Dev Playbook",
"build": {
"dockerfile": "Dockerfile"
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}, // https://github.com/devcontainers/features/tree/main/src/github-cli
"ghcr.io/devcontainers-contrib/features/actions-runner:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/actions-runner
"ghcr.io/devcontainers-contrib/features/actionlint:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/actionlint
"ghcr.io/devcontainers-contrib/features/direnv:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/direnv
"ghcr.io/devcontainers-contrib/features/fd:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/fd
},

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {},
"extensions": [
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker",
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "",

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cardpack"
description = "Generic Deck of Cards"
version = "0.4.20"
version = "0.4.21"
authors = ["electronicpanopticon <[email protected]>"]
repository = "https://github.com/ImperialBower/cardpack.rs.git"
homepage = "https://github.com/ImperialBower/cardpack.rs"
Expand All @@ -17,15 +17,15 @@ path = "src/lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
colored = "2"
colored = "2.1.0"
fluent-templates = "0.8.0"
flume = "0.10.14"
flume = "0.11.0"
lazy_static = "1.4.0"
log = "0.4"
log = "0.4.20"
rand = "0.8.5"
spin = "0.9.8"
term-table = "1.3.2"
unic-langid = { version = "0.9.0", features = ["macros"] }
unic-langid = { version = "0.9.4", features = ["macros"] }

[dev-dependencies]
rstest = "0.17.0"
rstest = "0.18.2"

0 comments on commit 813876a

Please sign in to comment.