-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
31 lines (26 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "wasmer-bus-tty"
version = "1.2.1"
authors = ["Johnathan Sharratt <johnathan.sharratt@gmail.com>"]
edition = "2021"
description = "WebAssembly Terminal Interface"
license = "MIT OR Apache-2.0"
keywords = [ "wasi", "wasm", "bus", "websocket" ]
repository = "https://github.com/john-sharratt/ate"
readme = "README.md"
[features]
default = []
sys = [ "libc", "tokio/rt-multi-thread" ]
[dependencies]
tracing = { version = "^0.1", features = [ "log" ] }
serde = { version = "^1", features = ["derive"] }
url = "2"
async-trait = "^0.1"
wasmer-bus = { version = "^1", path = "../lib", default_features = false, features = [ "macros" ] }
[target.'cfg(target_family = "wasm")'.dependencies]
tokio = { version = "1.20.1", features = [ "sync", "macros" ], default_features = false }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
libc = { version = "0.2", optional = true }
tokio = { version = "1.20.1", features = [ "io-util", "macros", "sync" ], default_features = false }
[dev-dependencies]
tokio = { version = "1.20.1", features = [ "rt", "io-util", "macros", "sync" ], default_features = false }