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-16 06:13:16 +00:00
|
|
|
[features]
|
2020-11-19 21:25:13 +00:00
|
|
|
user_management = ["sled", "bincode", "serde/derive", "rust-argon2", "crc32fast", "ring"]
|
2020-11-19 07:02:11 +00:00
|
|
|
default = ["serve_dir"]
|
2020-11-19 15:21:32 +00:00
|
|
|
serve_dir = ["mime_guess", "tokio/fs"]
|
2020-11-16 06:13:16 +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"
|
|
|
|
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-16 06:13:16 +00:00
|
|
|
sled = { version = "0.34.6", optional = true }
|
|
|
|
bincode = { version = "1.3.1", optional = true }
|
|
|
|
serde = { version = "1.0", optional = true }
|
2020-11-19 21:07:52 +00:00
|
|
|
rust-argon2 = { version = "0.8.2", optional = true }
|
2020-11-16 06:13:16 +00:00
|
|
|
crc32fast = { version = "1.2.1", optional = true }
|
2020-11-19 21:25:13 +00:00
|
|
|
ring = { version = "0.16.15", optional = true }
|
2020-11-14 02:56:50 +00:00
|
|
|
|
2020-11-16 06:13:16 +00:00
|
|
|
[[example]]
|
|
|
|
name = "user_management"
|
|
|
|
required-features = ["user_management"]
|
2020-11-14 02:56:50 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.8.1"
|
2020-11-19 16:08:20 +00:00
|
|
|
tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] }
|