# 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 = "2018" name = "solana_rbpf" version = "0.8.5" authors = ["Solana Maintainers "] build = false include = [ "src/**", "examples/**", "tests/**", "benches/**", "LICENSE*", "Cargo.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Virtual machine and JIT compiler for eBPF programs" homepage = "https://solana.com/" readme = "README.md" keywords = [ "BPF", "eBPF", "interpreter", "JIT", "filtering", ] license = "Apache-2.0" repository = "https://github.com/solana-labs/rbpf" [lib] name = "solana_rbpf" path = "src/lib.rs" [[example]] name = "disassemble" path = "examples/disassemble.rs" [[example]] name = "to_json" path = "examples/to_json.rs" [[test]] name = "assembler" path = "tests/assembler.rs" [[test]] name = "disassembler" path = "tests/disassembler.rs" [[test]] name = "execution" path = "tests/execution.rs" [[test]] name = "exercise_instructions" path = "tests/exercise_instructions.rs" [[test]] name = "verifier" path = "tests/verifier.rs" [[bench]] name = "elf_loader" path = "benches/elf_loader.rs" [[bench]] name = "jit_compile" path = "benches/jit_compile.rs" [[bench]] name = "memory_mapping" path = "benches/memory_mapping.rs" [[bench]] name = "vm_execution" path = "benches/vm_execution.rs" [dependencies.arbitrary] version = "1.0" features = ["derive"] optional = true [dependencies.byteorder] version = "1.2" [dependencies.combine] version = "3.8.1" [dependencies.gdbstub] version = "0.6.2" optional = true [dependencies.hash32] version = "0.2.0" [dependencies.log] version = "0.4.2" [dependencies.rand] version = "0.8.5" features = ["small_rng"] [dependencies.rustc-demangle] version = "0.1" [dependencies.scroll] version = "0.11" [dependencies.shuttle] version = "0.7.1" optional = true [dependencies.thiserror] version = "1.0.26" [dev-dependencies.elf] version = "0.0.10" [dev-dependencies.json] version = "0.12" [features] debugger = ["gdbstub"] default = ["jit"] fuzzer-not-safe-for-production = ["arbitrary"] jit = [ "libc", "winapi", ] shuttle-test = ["dep:shuttle"] [target."cfg(not(windows))".dependencies.libc] version = "0.2" optional = true [target."cfg(windows)".dependencies.winapi] version = "0.3" features = [ "memoryapi", "sysinfoapi", "winnt", "errhandlingapi", ] optional = true