# 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 = "oblivion" version = "2.2.1" authors = ["苏向夜 "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A fast, lightweight, and secure end-to-end encryption protocol based on ECDHE" readme = "README.md" license = "AGPL-3.0" repository = "https://github.com/noctisynth/oblivion-rust" [lib] name = "oblivion" path = "src/lib.rs" [[bin]] name = "main" path = "src/bin/main.rs" [[bench]] name = "keygen" path = "benches/keygen.rs" harness = false [[bench]] name = "packet" path = "benches/packet.rs" harness = false [[bench]] name = "parser" path = "benches/parser.rs" harness = false [[bench]] name = "rand" path = "benches/rand.rs" harness = false [[bench]] name = "router" path = "benches/router.rs" harness = false [[bench]] name = "socket" path = "benches/socket.rs" harness = false [dependencies.anyhow] version = "1.0" [dependencies.arc-swap] version = "1.7.1" [dependencies.chrono] version = "0.4" [dependencies.colored] version = "2.1" [dependencies.futures] version = "0.3" [dependencies.hkdf] version = "0.12" [dependencies.oblivion-codegen] version = "0.3.2" [dependencies.proc-macro2] version = "1" [dependencies.pyo3] version = "0.22" optional = true [dependencies.rand] version = "0.8" [dependencies.regex] version = "1" [dependencies.ring] version = "0.17" [dependencies.scrypt] version = "0.11" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1" [dependencies.sha2] version = "0.10" [dependencies.socket2] version = "0.5.7" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.criterion] version = "0.5" features = [ "async_tokio", "html_reports", ] [features] bench = [] perf = [] pyo3 = ["dep:pyo3"] serde = ["dep:serde"]