[package] name = "ocpi" version = "0.3.5" edition = "2021" authors = ["Niclas Rosengren "] license = "MIT" readme = "README.md" documentation = "https://docs.rs/ocpi" description = """ Unofficial, in progress, OCPI implementation """ [dependencies] async-trait = { version = "0.1.53" } base64 = "0.13.0" chrono = { version = "0.4.19", features = [ "serde" ] } http = "0.2.7" reqwest = { version = "0.11.10", default-features = false, features = [ "json" ] } serde = { version = "1.0.136", features = [ "derive" ] } serde_json = "1.0.79" thiserror = "1.0.30" url = { version = "2.2.2", features = [ "serde" ] } uuid = "1.1.1" tokio = { version = "1.20", default_features = false, features = [ "sync", "time" ] } isolanguage-1 = { version = "0.2.2", features = [ "serde" ] } axum = { version = "0.5.13", optional = true } warp = { version = "0.3.2", default_features = false, optional = true } log = "0.4.17" [dev-dependencies] wiremock = "0.5.13" tokio = { version = "1.20", default_features = false, features = [ "macros", "rt" ] } serde_json = "1.0.79" once_cell = "1.12.0" [features] default = [ "warp", "axum" ] axum = [ "dep:axum" ] warp = [ "dep:warp" ]