Skip to content

Commit

Permalink
Merge pull request #138 from anweiss/128-occurrence-max-values
Browse files Browse the repository at this point in the history
Exact occurrence validation for object entries
  • Loading branch information
anweiss authored Sep 26, 2022
2 parents 9258948 + 637360d commit 943224b
Show file tree
Hide file tree
Showing 9 changed files with 435 additions and 453 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,22 @@ crossterm = { version = "0.25.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
wasm-bindgen = { version = "0.2.75", features = ["serde-serialize"], optional = true }
serde-wasm-bindgen = { version = "0.4", optional = true }
wasm-bindgen = { version = "0.2", optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.25"

[features]
default = ["std", "ast-span", "ast-comments", "json", "cbor", "additional-controls"]
std = ["base16/alloc", "base64/alloc", "serde_json", "ciborium", "serde", "chrono", "wasm-bindgen", "clap", "crossterm", "uriparse", "base64-url", "regex-syntax"]
std = ["base16/alloc", "base64/alloc", "serde_json", "ciborium", "serde", "chrono", "wasm-bindgen", "serde-wasm-bindgen", "clap", "crossterm", "uriparse", "base64-url", "regex-syntax"]
lsp = ["std"]
additional-controls = []
ast-span = []
ast-comments = []
json = ["std"]
cbor = ["std"]
web = ["ast-span", "wasm-bindgen", "serde"]
web = ["ast-span", "wasm-bindgen", "serde-wasm-bindgen", "serde"]

[[bin]]
name = "cddl"
Expand Down
Loading

0 comments on commit 943224b

Please sign in to comment.