1[package] 2name = "pica" 3version = "0.1.12" 4edition = "2021" 5description = "Pica is a virtual UWB Controller implementing the FiRa UCI specification." 6repository = "https://github.com/google/pica" 7license = "Apache-2.0" 8readme = "README.md" 9keywords = ["uwb", "virtual", "emulator", "controller"] 10categories = ["emulators", "virtualization"] 11authors = [ 12 "Adrien Larbanet", 13 "Charlie Boutier <[email protected]>", 14 "David De Jesus Duarte <[email protected]>", 15 "Henri Chataing <[email protected]>", 16] 17default-run = "pica" 18exclude = [ 19 "res/*", 20 "scripts/*" 21] 22 23 24# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 25 26[lib] 27name = "pica" 28path = "src/lib.rs" 29 30[[bin]] 31name = "pica" 32path = "src/bin/main.rs" 33 34[[bin]] 35name = "pica-http" 36path = "src/bin/http-server/main.rs" 37features = ["web"] 38 39[features] 40default = ["web"] 41web = ["hyper", "tokio/rt-multi-thread"] 42 43[build-dependencies] 44pdl-compiler = "0.3.0" 45 46[dependencies] 47anyhow = "1.0.56" 48bytes = "1" 49futures = "0.3.30" 50clap = { version = "4.1.8", default-features = false, features = ["derive", "error-context", "help", "std", "usage"] } 51glam = "0.25.0" 52hex = "0.4.3" 53hyper = { version = "0.14", features = ["server", "stream", "http1", "tcp"], optional = true } 54log = "0.4.17" 55env_logger = { version = "0.10.0", default-features = false } 56num-derive = "0.3.3" 57num-traits = "0.2.17" 58pdl-runtime = "0.3.0" 59serde = { version = "1.0", features = ["derive"] } 60serde_json = "1.0" 61thiserror = "1.0.49" 62tokio = { version = "1.32.0", features = [ "fs", "io-util", "macros", "net", "rt" ] } 63tokio-stream = { version = "0.1.8", features = ["sync"] } 64