You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
996 B
TOML
44 lines
996 B
TOML
[package]
|
|
name = "mediarepo"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
[[bin]]
|
|
name = "mediarepo"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "mediarepo"
|
|
crate-type = ["lib"]
|
|
|
|
[dependencies]
|
|
toml = {version = "0.5.8", optional=true}
|
|
structopt = {version="0.3.23", optional=true}
|
|
pretty_env_logger = {version="0.4.0", optional=true}
|
|
glob = {version="0.3.0", optional=true}
|
|
log = "0.4.14"
|
|
tracing-flame = "0.1.0"
|
|
tracing-subscriber = "0.2.3"
|
|
|
|
[dependencies.mediarepo-core]
|
|
path = "./mediarepo-core"
|
|
|
|
[dependencies.mediarepo-model]
|
|
path = "./mediarepo-model"
|
|
optional=true
|
|
|
|
[dependencies.mediarepo-socket]
|
|
path = "./mediarepo-socket"
|
|
optional=true
|
|
|
|
[dependencies.tokio]
|
|
version = "1.12.0"
|
|
features = ["macros", "rt-multi-thread", "io-std", "io-util"]
|
|
|
|
[features]
|
|
default = ["runtime"]
|
|
runtime = ["toml", "structopt", "mediarepo-model", "mediarepo-socket", "pretty_env_logger", "glob"]
|
|
library = ["mediarepo-socket"] |