2020-10-31 19:53:03 +00:00
|
|
|
[package]
|
|
|
|
name = "northstar"
|
2020-11-14 03:58:03 +00:00
|
|
|
version = "0.3.1"
|
2020-10-31 19:53:03 +00:00
|
|
|
authors = ["panicbit <panicbit.dev@gmail.com>"]
|
|
|
|
edition = "2018"
|
2020-10-31 19:55:28 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
description = "Gemini server implementation"
|
2020-11-14 03:57:48 +00:00
|
|
|
repository = "https://github.com/panicbit/northstar"
|
|
|
|
documentation = "https://docs.rs/northstar"
|
2020-10-31 19:53:03 +00:00
|
|
|
|
2020-11-19 07:02:11 +00:00
|
|
|
[features]
|
|
|
|
default = ["serve_dir"]
|
2020-11-19 15:21:32 +00:00
|
|
|
serve_dir = ["mime_guess", "tokio/fs"]
|
2020-11-19 07:02:11 +00:00
|
|
|
|
2020-10-31 19:53:03 +00:00
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.33"
|
2020-11-13 19:20:59 +00:00
|
|
|
rustls = { version = "0.18.1", features = ["dangerous_configuration"] }
|
2020-10-31 19:53:03 +00:00
|
|
|
tokio-rustls = "0.20.0"
|
2020-11-19 15:21:32 +00:00
|
|
|
tokio = { version = "0.3.1", features = ["io-util","net","time", "rt"] }
|
2020-10-31 19:53:03 +00:00
|
|
|
mime = "0.3.16"
|
|
|
|
uriparse = "0.6.3"
|
|
|
|
percent-encoding = "2.1.0"
|
2020-11-19 07:54:45 +00:00
|
|
|
futures-core = "0.3.7"
|
2020-10-31 19:53:03 +00:00
|
|
|
log = "0.4.11"
|
2020-11-13 19:20:59 +00:00
|
|
|
webpki = "0.21.0"
|
2020-11-13 23:48:50 +00:00
|
|
|
lazy_static = "1.4.0"
|
2020-11-19 07:02:11 +00:00
|
|
|
mime_guess = { version = "2.0.3", optional = true }
|
2020-11-14 02:56:50 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.8.1"
|
2020-11-19 16:08:20 +00:00
|
|
|
futures-util = "0.3.7"
|
|
|
|
tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] }
|
2020-11-24 21:50:28 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "serve_dir"
|
|
|
|
required-features = ["serve_dir"]
|