wip: add WKT support

This is a very early draft, I have no idea where i am going with this. Any feedback / guidance is welcome
pull/745/head
Yuri Astrakhan 1 year ago
parent b43b0ab991
commit a5392a42b2
  1. 18
      Cargo.lock
  2. 1
      Cargo.toml
  3. 1
      lib/oxsdatatypes/Cargo.toml
  4. 1098
      lib/oxsdatatypes/src/geopoint.rs
  5. 1
      lib/oxsdatatypes/src/lib.rs

18
Cargo.lock generated

@ -751,12 +751,12 @@ checksum = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
[[package]]
name = "is-terminal"
version = "0.4.10"
version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455"
checksum = "fe8f25ce1159c7740ff0b9b2f5cdf4a8428742ba7c112b9f20f22cd5219c7dab"
dependencies = [
"hermit-abi",
"rustix",
"libc",
"windows-sys 0.52.0",
]
@ -1178,6 +1178,7 @@ version = "0.2.0-alpha.1"
dependencies = [
"js-sys",
"thiserror",
"wkt",
]
[[package]]
@ -2313,6 +2314,17 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
[[package]]
name = "wkt"
version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3c2252781f8927974e8ba6a67c965a759a2b88ea2b1825f6862426bbb1c8f41"
dependencies = [
"log",
"num-traits",
"thiserror",
]
[[package]]
name = "zeroize"
version = "1.7.0"

@ -65,6 +65,7 @@ time = "0.3"
tokio = "1.29"
url = "2.4"
wasm-bindgen = "0.2.83"
wkt = { version = "0.10.3", default-features = false }
zstd = ">=0.12, <0.14"
# Internal dependencies

@ -19,6 +19,7 @@ custom-now = []
[dependencies]
thiserror.workspace = true
wkt.workspace = true
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
js-sys = { workspace = true, optional = true }

File diff suppressed because it is too large Load Diff

@ -10,6 +10,7 @@ mod decimal;
mod double;
mod duration;
mod float;
mod geopoint;
mod integer;
pub use self::boolean::Boolean;

Loading…
Cancel
Save