make it possible to build without simulator SDL lib, to make crosscompile possible
This commit is contained in:
@@ -15,11 +15,12 @@ reqwest = { version = "0.12", default-features = false, features = ["http2","ru
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.143"
|
||||
bincode = "2.0.1"
|
||||
embedded-graphics-simulator = "0.7.0"
|
||||
|
||||
|
||||
embedded-graphics-simulator = { version = "0.7.0", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["simulator"] # use simulator by default
|
||||
simulator = []
|
||||
default = ["simulator"]
|
||||
simulator = ["embedded-graphics-simulator"] # enable only for simulator builds
|
||||
epaper = []
|
||||
paper-png = []
|
||||
Reference in New Issue
Block a user