# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "libhook" version = "0.1.0" authors = ["zhangzicheng@apache.org"] description = "Hook system calls." license = "LGPL-3.0 OR Apache-2.0" repository = "https://github.com/acl-dev/open-coroutine/tree/dev/libhook" [lib] name = "hook" crate-type = ["cdylib"] path = "src/lib.rs" [dependencies.base-coroutine] version = "0.2.0" [dependencies.libc] version = "0.2.138" [dependencies.num_cpus] version = "1.14.0" [dependencies.once_cell] version = "1.13.0" [dependencies.timer-utils] version = "0.0.3" [target."cfg(windows)".dependencies.detour2] version = "0.9.0" [target."cfg(windows)".dependencies.windows-sys] version = "0.42.0" features = [ "Win32_Foundation", "Win32_System_Diagnostics_Debug", "Win32_System_Threading", "Win32_Security", "Win32_System_LibraryLoader", "Win32_System_SystemServices", ]