# 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 = "moth" version = "1.0.0" authors = ["Nathan ROYER "] description = "Naive LAMP stack alternative" license = "MIT" repository = "https://github.com/NathanRoyer/moth" resolver = "1" [lib] path = "lib/lib.rs" required-features = ["lib"] [[bin]] name = "cargo-moth" path = "cargo-moth/main.rs" required-features = ["cargo-moth"] [[bin]] name = "moth" path = "moth-wasm/main.rs" required-features = ["bin"] [dependencies.cpio] version = "0.2.2" optional = true [dependencies.flume] version = "0.10.14" [dependencies.lmfu] version = "1.3.1" [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.rustgit] version = "1.1.1" optional = true [dependencies.sha2] version = "0.10.7" optional = true [dependencies.simplelog] version = "0.12.1" optional = true [dependencies.tiny_http] version = "0.12.0" [dependencies.upon] version = "0.7.1" features = ["unicode"] optional = true default-features = false [dependencies.ureq] version = "2.7.1" optional = true [dependencies.wasmi] version = "0.31.0" optional = true [features] bin = [ "dep:simplelog", "dep:cpio", "dep:sha2", "dep:upon", "dep:rustgit", "dep:wasmi", ] cargo-moth = [ "dep:simplelog", "dep:cpio", "dep:sha2", "dep:ureq", "dep:rustgit", ] default = [ "bin", "cargo-moth", ]