Initial commit
This commit is contained in:
28
Cargo.toml
Normal file
28
Cargo.toml
Normal file
@ -0,0 +1,28 @@
|
||||
[package]
|
||||
name = "lib"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
authors = ["Martin Berg Alstad"]
|
||||
|
||||
[lib]
|
||||
|
||||
[dependencies]
|
||||
# Api
|
||||
axum = { version = "0.7.5", optional = true }
|
||||
# Async
|
||||
tokio = { version = "1.38.0", optional = true, features = ["fs"] }
|
||||
tokio-util = { version = "0.7.11", optional = true, features = ["io"] }
|
||||
# Parsing
|
||||
nom = { version = "7.1.3", optional = true }
|
||||
# Serialization / Deserialization
|
||||
serde = { version = "1.0.203", optional = true, features = ["derive"] }
|
||||
# Derive macros
|
||||
derive = { path = "derive", optional = true }
|
||||
|
||||
[features]
|
||||
axum = ["dep:axum"]
|
||||
tokio = ["dep:tokio", "dep:tokio-util"]
|
||||
vec = []
|
||||
nom = ["dep:nom"]
|
||||
serde = ["dep:serde"]
|
||||
derive = ["dep:derive", "axum", "serde"]
|
Reference in New Issue
Block a user