# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77.0" name = "strict_types" version = "2.8.1" authors = ["Dr. Maxim Orlovsky "] build = false exclude = [".github"] autobins = false autoexamples = false autotests = false autobenches = false description = "Strict types: confined generalized algebraic data types (GADT)" homepage = "https://strict-types.org" readme = "README.md" keywords = [ "encoding", "strict-encoding", "aluvm", "ubideco", "gadt", ] categories = [ "compilers", "parser-implementations", "mathematics", "science", "data-structures", ] license = "Apache-2.0" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] [lib] name = "strict_types" path = "src/lib.rs" [[bin]] name = "std-stl" path = "src/bin/std-stl.rs" required-features = ["armor"] [[bin]] name = "strict-stl" path = "src/bin/strict-stl.rs" required-features = ["armor"] [[bin]] name = "strict-vesper" path = "src/bin/strict-vesper.rs" [[test]] name = "byte_str" path = "tests/byte_str.rs" [[test]] name = "dependencies" path = "tests/dependencies.rs" [[test]] name = "reflect" path = "tests/reflect.rs" required-features = ["armor"] [dependencies.amplify] version = "~4.8.0" [dependencies.ascii-armor] version = "0.9.0" optional = true [dependencies.baid64] version = "0.4.0" [dependencies.indexmap] version = "2.6.0" [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.sha2] version = "0.10.8" [dependencies.strict_encoding] version = "~2.8.1" [dependencies.toml] version = "0.8.19" optional = true [dependencies.vesper-lang] version = "0.2.1" [features] all = [ "serde", "armor", ] armor = ["ascii-armor"] default = [] serde = [ "dep:serde", "serde_json", "serde_yaml", "toml", "amplify/serde", "strict_encoding/serde", "indexmap/serde", ] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2" features = ["js"] optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.rand] version = "0.8.4" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3"