# 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" name = "dotrain" version = "6.0.1-alpha.21" description = ".rain to rainlang composer" homepage = "https://github.com/rainlanguage/dotrain" license = "CAL-1.0" repository = "https://github.com/rainlanguage/dotrain" [package.metadata.docs.rs] all-features = true [lib] name = "dotrain" crate-type = [ "rlib", "cdylib", ] [[bin]] name = "dotrain" path = "src/main.rs" required-features = ["cli"] [dependencies.alloy-primitives] version = "0.6.3" [dependencies.anyhow] version = "1.0.75" [dependencies.async-recursion] version = "1.0.5" [dependencies.clap] version = "4.4.8" features = [ "cargo", "derive", ] optional = true [dependencies.futures] version = "0.3.29" [dependencies.getrandom] version = "0.2.11" features = [ "js", "js-sys", ] [dependencies.js-sys] version = "0.3.66" optional = true [dependencies.magic_string] version = "0.3.4" [dependencies.once_cell] version = "1.18.0" [dependencies.rain-metadata] version = "0.0.2-alpha.2" [dependencies.regex] version = "1.10.2" [dependencies.serde] version = "1.0.192" [dependencies.serde-wasm-bindgen] version = "0.6.1" optional = true [dependencies.serde_bytes] version = "0.11.12" [dependencies.serde_json] version = "1.0.108" [dependencies.serde_repr] version = "0.1.17" [dependencies.tokio] version = "1.34.0" features = ["full"] optional = true [dependencies.tracing] version = "0.1.37" optional = true [dependencies.tracing-subscriber] version = "0.3.17" optional = true [dependencies.tsify] version = "0.4.5" features = [ "js", "wasm-bindgen", ] optional = true default-features = false [dependencies.wasm-bindgen] version = "0.2.89" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.39" optional = true [dev-dependencies.proptest] version = "1.4.0" [features] cli = [ "dep:tracing", "dep:tracing-subscriber", "dep:clap", "dep:tokio", ] js-api = [ "dep:js-sys", "dep:wasm-bindgen", "dep:serde-wasm-bindgen", "dep:wasm-bindgen-futures", "dep:tsify", ] [lints.clippy] all = "warn"