Create workspace

This commit is contained in:
asonix 2022-12-11 19:18:30 -06:00
parent 1d02bc9e9f
commit 85ec358ee6
9 changed files with 34 additions and 33 deletions

View file

@ -1,36 +1,5 @@
[package]
name = "json-ld-normalization"
version = "0.1.0"
edition = "2021"
[[example]]
name = "masto"
required-features = ["rustcrypto"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["rustcrypto-sha2"]
rustcrypto-sha2 = ["sha2", "hex"]
openssl-sha2 = ["openssl", "hex"]
[dependencies]
contextual = "0.1.3"
indexmap = "1.9.2"
itertools = "0.10.5"
json-ld = "0.9.1"
locspan = "0.7.9"
rdf-types = "0.12.4"
hex = { version = "0.4.3", optional = true }
sha2 = { version = "0.10.6", optional = true }
openssl = { version = "0.10.44", optional = true }
[dev-dependencies]
iref = "2.2.0"
reqwest = "0.11.13"
static-iref = "2.0.0"
tokio = { version = "1", features = ["full"] }
[workspace]
members = ["./normalization"]
[patch.crates-io]
rdf-types = { git = "https://github.com/asonix/rdf-types", branch = "asonix/fix-string-literal-display" }

32
normalization/Cargo.toml Normal file
View file

@ -0,0 +1,32 @@
[package]
name = "json-ld-normalization"
version = "0.1.0"
edition = "2021"
[[example]]
name = "masto"
required-features = ["rustcrypto-sha2"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["rustcrypto-sha2"]
rustcrypto-sha2 = ["sha2", "hex"]
openssl-sha2 = ["openssl", "hex"]
[dependencies]
contextual = "0.1.3"
indexmap = "1.9.2"
itertools = "0.10.5"
json-ld = "0.9.1"
locspan = "0.7.9"
rdf-types = "0.12.4"
hex = { version = "0.4.3", optional = true }
sha2 = { version = "0.10.6", optional = true }
openssl = { version = "0.10.44", optional = true }
[dev-dependencies]
iref = "2.2.0"
reqwest = "0.11.13"
static-iref = "2.0.0"
tokio = { version = "1", features = ["full"] }