From 3f490cd1469a3b4e34449ddc001d5e54514250f6 Mon Sep 17 00:00:00 2001 From: LimpidCrypto Date: Thu, 4 Jan 2024 20:29:16 +0000 Subject: [PATCH 1/3] initial --- .devcontainer/Dockerfile | 5 +++++ .devcontainer/devcontainer.json | 29 +++++++++++++++++++++++++++++ .devcontainer/docker-compose.yml | 10 ++++++++++ src/.DS_Store | Bin 0 -> 6148 bytes src/models/.DS_Store | Bin 0 -> 6148 bytes 5 files changed, 44 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json create mode 100644 .devcontainer/docker-compose.yml create mode 100644 src/.DS_Store create mode 100644 src/models/.DS_Store diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..f56adafc --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/devcontainers/rust:1.0-1-bullseye + +# [Optional] Uncomment this section to install additional OS packages. +# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ +# && apt-get -y install --no-install-recommends diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..1c4b5975 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,29 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/rust +{ + "name": "xrpl-rust", + "dockerComposeFile": "docker-compose.yml", + "service": "app", + "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", + // Use 'mounts' to make the cargo cache persistent in a Docker Volume. + // "mounts": [ + // { + // "source": "devcontainer-cargo-cache-${devcontainerId}", + // "target": "/usr/local/cargo", + // "type": "volume" + // } + // ] + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "rustc --version", + // Configure tool-specific properties. + "customizations": { + "vscode": { + "extensions": [ + "swellaby.rust-pack", + "vadimcn.vscode-lldb" + ] + } + } + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml new file mode 100644 index 00000000..d0342a5c --- /dev/null +++ b/.devcontainer/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3" + +services: + app: + build: + context: . + dockerfile: Dockerfile + command: sleep infinity + volumes: + - ../..:/workspaces:cached \ No newline at end of file diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..1572ed07079e24a95223b946544af8d829eac40e GIT binary patch literal 6148 zcmeHKO>fgM7=GPlZOVq!14z3dMdDhGwjiWxm(Yy^SAyUGs3dJfBhq+EQlhDK|6NxI7p2u*&g*N|M>XytI2_E3aygnDxnuN_)#AR@;w%}L*2ltr*LZD; zDWYIko2}0^ZkLuA!wkLi-J_7Ie6Ogo1Q&{+m)eL)sB$AWD6;b)mJ0q1&f_S{2ZLX% zwP)?OJ9fuDus?bWUU<2mud<1sz86n#IFEyE-VfeJVKMDJIOR$1M@g8S z%y}{4t7M+ZSWi{hUAsH&9j(`+@wo4dhQm$YS&v79zVqzq^UbDfKYaY; zw^cyTr+skS227k$z$kEM6%hM_0~hFOEEUSF1Btu>04)?tLtcC|h!{tstFcsw8W>Zd zKo!dL6@#g8lslT|YAhA1aANxM!F10|-%yzB9ql`kPRvzkQlo%TpsK*0dhChw|K-j1 z|7wtVG71<4?vw(|I`hsZcqM(dHeODgwGR9fT$tdM3S|fqeH_b-IEs(p(opA!4A9kB TDntp)ddFyVHI0* z02I29l!~W`8V89AHoRShQ@|Ep`#&i-FZ{)h0pgkMAxDk#P%Ddltme!k8Ww@b_#C18bghCD0ze%|oq`G;Hk{ZaCj zI@S=qCfocgXB++;>jk2YF!Q23Z>`Xm6@?mFn;h|)Sfg#DXq{GB2k1G&IpV)o)TQEuDylA(-i^^X0Mr~j2%Z7Y2e5Yo^!Y`)zz|UUs({rVg;HvBg zFXCu6YTkOR(!!6^DAR;EjNtP6Wt@g;Hc-swqJG;|X7@*(WV!roAX9v%IA+MPt-pv#>CPJwj=_RM3G z&;KX8@Biy0_v93C3j9|Ji0bL^bbyfT*}4%NpS2#+TO>C2TN>09WcE1L1wM+8k+h-B Y;{vd6acK}WF!v##WpJ5O;IAt13n!%6LI3~& literal 0 HcmV?d00001 From 2d5896c581b818258015dffb76e1d0bf84366b11 Mon Sep 17 00:00:00 2001 From: LimpidCrypto Date: Thu, 4 Jan 2024 20:30:00 +0000 Subject: [PATCH 2/3] initial --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 1ec67b52..338bdf82 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ Cargo.lock # Additional src/main.rs + +.DS_Store From 8d1e4b2bf56aecf44aa291dd82164a76f4b1470b Mon Sep 17 00:00:00 2001 From: LimpidCrypto Date: Fri, 5 Jan 2024 14:26:29 +0000 Subject: [PATCH 3/3] add to changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 971c1e36..377fb081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - make `new` methods of models public - add `AsyncWebsocketClient` - update dependencies +- add devcontainer ## [[v0.2.0-beta]] ### Added