summary refs log blame commit diff
path: root/Cargo.toml
blob: 7343025463c818b4195a359dd733e99c69785891 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                     
                

                 
               
                      
 
           
                        





                      

               
 
 
          
                                                      
                       
                                                                      
                     
                     
                                     
                                                                              
 
              
                        
                   
                                  
                              
                          
                                                     
                              
                      
                              
                                    
              
                                            
                                          
                
             
                    

                                
                                    
                
                        
                                                         
                                                           
                                                  
                                  
                    
                        
                                
                                                                       
 

                                                   
 


                                                                              
                  



                                    
                                                                                     
                                    
                                                                                     

                                                           
                                
                                              
                              
[package]
name = "crosvm"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2018"

[profile.release]
panic = 'abort'
overflow-checks = true

[workspace]
members = ["qcow_utils"]
exclude = [
    "assertions",
    "data_model",
    "sync",
    "sys_util",
    "syscall_defines",
    "tempdir",
    "rand_ish",
]

[features]
plugin = ["plugin_proto", "crosvm_plugin", "protobuf"]
default-no-sandbox = []
wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"]
gpu = ["devices/gpu"]
tpm = ["devices/tpm"]
gpu-forward = ["render_node_forward"]
sandboxed-libusb = ["devices/sandboxed-libusb", "vm_control/sandboxed-libusb"]

[dependencies]
arch = { path = "arch" }
audio_streams = "*"
bit_field = { path = "bit_field" }
devices = { path = "devices" }
enumn = { path = "enumn" }
gpu_buffer = { path = "gpu_buffer", optional = true }
io_jail = { path = "io_jail" }
kvm = { path = "kvm" }
kvm_sys = { path = "kvm_sys" }
msg_socket = { path = "msg_socket" }
sys_util = "*"
kernel_cmdline = { path = "kernel_cmdline" }
kernel_loader = { path = "kernel_loader" }
libc = "=0.2.44"
libcras = "*"
byteorder = "=1.1.0"
net_util = { path = "net_util" }
vhost = { path = "vhost" }
vm_control = { path = "vm_control" }
data_model = "*"
qcow = { path = "qcow" }
plugin_proto = { path = "plugin_proto", optional = true }
crosvm_plugin = { path = "crosvm_plugin", optional = true }
protobuf = { version = "=1.4.3", optional = true }
resources = { path = "resources" }
p9 = { path = "p9" }
sync = { path = "sync" }
rand_ish = { path = "rand_ish" }
render_node_forward = { path = "render_node_forward", optional = true }

[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_64 = { path = "x86_64" }

[target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies]
aarch64 = { path = "aarch64" }

[dev-dependencies]
sys_util = "*"

[patch.crates-io]
assertions = { path = "assertions" }
audio_streams = { path = "../../third_party/adhd/audio_streams" } # ignored by ebuild
data_model = { path = "data_model" }
libcras = { path = "../../third_party/adhd/cras/client/libcras" } # ignored by ebuild
poll_token_derive = { path = "sys_util/poll_token_derive" }
sync = { path = "sync" }
sys_util = { path = "sys_util" }
syscall_defines = { path = "syscall_defines" }
tempdir = { path = "tempdir" }