Skip to content

Commit 5053234

Browse files
Restructure repo (#3)
* Restructure repo * Update gitignore * Update tests * Update more tests * bump gitignore * Updates * Update README.md
1 parent 7543985 commit 5053234

File tree

523 files changed

+1909
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

523 files changed

+1909
-51
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/target
1+
ocpp/target
2+
target
3+
**/target
24
Cargo.lock
35
.DS_Store
46
.vscode
7+
**/.idea

Cargo.toml

+5-32
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,6 @@
1-
[package]
2-
name = "rust-ocpp"
3-
description = "ocpp 1.6 and 2.0.1 libraries"
4-
readme = "README.md"
5-
license = "MIT OR Apache-2.0"
6-
version = "0.1.25"
7-
authors = ["Tommy Malmqvist <tommy.malmqvist@codelabs.se"]
8-
homepage = "https://codelabs.se/"
9-
repository = "https://github.com/codelabsab/rust-ocpp"
10-
edition = "2021"
11-
keywords = ["ocpp", "ev", "csms"]
12-
categories = ["accessibility", "data-structures", "embedded", "encoding", "web-programming::websocket"]
13-
exclude = ["/docs"]
14-
publish = true
1+
[workspace]
152

16-
[badges]
17-
maintenance = { status = "experimental" }
18-
19-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
20-
21-
[dependencies]
22-
serde = { version = "1", features = ["derive"] }
23-
serde_json = "1"
24-
chrono = { version = "0.4.19", features = ["serde"] }
25-
rand = "0.8"
26-
uuid = { version = "0.8", features = ["v4"] }
27-
pretty_env_logger = "0.4.0"
28-
log = "0.4"
29-
validator = { version = "0.14", features = ["derive"] }
30-
regex = "1"
31-
32-
[dev-dependencies]
33-
mockall = "0.10.2"
3+
members = [
4+
"ocpp",
5+
"ws",
6+
]

README.md

+4-18

ocpp/Cargo.toml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[package]
2+
name = "rust-ocpp"
3+
description = "ocpp 1.6 and 2.0.1 libraries"
4+
readme = "README.md"
5+
license = "MIT OR Apache-2.0"
6+
version = "0.1.25"
7+
authors = ["Tommy Malmqvist <tommy.malmqvist@codelabs.se"]
8+
homepage = "https://codelabs.se/"
9+
repository = "https://github.com/codelabsab/rust-ocpp"
10+
edition = "2021"
11+
keywords = ["ocpp", "ev", "csms"]
12+
categories = ["accessibility", "data-structures", "embedded", "encoding", "web-programming::websocket"]
13+
publish = true
14+
15+
[badges]
16+
maintenance = { status = "experimental" }
17+
18+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
19+
20+
[dependencies]
21+
serde = { version = "1", features = ["derive"] }
22+
serde_json = "1"
23+
chrono = { version = "0.4.19", features = ["serde"] }
24+
rand = "0.8"
25+
uuid = { version = "0.8", features = ["v4"] }
26+
pretty_env_logger = "0.4.0"
27+
log = "0.4"
28+
validator = { version = "0.14", features = ["derive"] }
29+
regex = "1"
30+
31+
[dev-dependencies]
32+
mockall = "0.11.0"

ocpp/README.md

+21

src/lib.rs ocpp/src/lib.rs

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)