# 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.70" name = "sarascript" version = "0.1.0" include = ["/src"] description = "A declarative scripting language for HTML web development" readme = "README.md" license = "MIT OR Apache-2.0" [lib] name = "sarascript" path = "src/lib.rs" [[bin]] name = "sarascriptd" path = "src/main.rs" [dependencies.anyhow] version = "1.0.78" optional = true [dependencies.bytes] version = "1.5.0" [dependencies.config] version = "0.13.4" features = ["toml"] [dependencies.daemonize] version = "0.5.0" optional = true [dependencies.hickory-resolver] version = "0.24.0" [dependencies.http] version = "1.0.0" [dependencies.http-body] version = "1.0.0" [dependencies.http-body-util] version = "0.1.0" [dependencies.hyper] version = "1.1.0" features = [ "client", "http1", ] [dependencies.libc] version = "0.2.151" [dependencies.log] version = "0.4.20" optional = true [dependencies.pest] version = "2.7.5" [dependencies.pest_derive] version = "2.7.5" [dependencies.rustls-pemfile] version = "2.0.0" [dependencies.simplelog] version = "0.12.1" optional = true [dependencies.tokio] version = "1.35.1" features = [ "net", "rt-multi-thread", "io-util", "io-std", "sync", "fs", ] [dependencies.tokio-rustls] version = "0.25.0" [dependencies.webpki-roots] version = "0.26.0" [features] default = ["server"] server = [ "dep:daemonize", "dep:log", "dep:simplelog", "dep:anyhow", "tokio/macros", "hyper/server", ]