| [package] | |
| name = "selenium-manager" | |
| version = "0.4.53-nightly" # don't forget to update rust/BUILD.bazel | |
| edition = "2024" | |
| rust-version = "1.93" | |
| authors = ["Selenium <selenium-developers@googlegroups.com"] | |
| license = "Apache-2.0" | |
| homepage = "https://www.selenium.dev/" | |
| repository = "https://github.com/SeleniumHQ/selenium" | |
| documentation = "https://www.selenium.dev/documentation/" | |
| exclude = ["tests/legal_sync_tests.rs"] | |
| description = """ | |
| Selenium Manager is a CLI tool that automatically manages the browser/driver resources required by Selenium. | |
| """ | |
| [dependencies] | |
| clap = { version = "4.6.7", features = ["derive", "cargo"] } | |
| log = "0.4.34" | |
| env_logger = "0.11.11" | |
| regex = "1.13.1" | |
| tokio = { version = "1.53.3", default-features = false, features = ["macros", "net", "rt-multi-thread"] } | |
| tempfile = "3.27.0" | |
| reqwest = { version = "0.13.5", default-features = false, features = ["rustls-no-provider"] } | |
| # Pin the ring crypto backend so aws-lc-sys (and its C build requirements) are | |
| # never compiled. The ring provider must be installed at process startup; see | |
| # main.rs. rustls-platform-verifier (pulled in by reqwest) is crypto-agnostic | |
| # and works with whichever provider is installed as the process default. | |
| rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] } | |
| zip = { version = "9.0.5", default-features = false, features = ["deflate"] } | |
| directories = "6.0.0" | |
| serde = { version = "1.0.229", features = ["derive"] } | |
| serde_json = "1.0.154" | |
| flate2 = "1.1.10" | |
| tar = "0.4.46" | |
| infer = "0.22.0" | |
| exitcode = "1.1.2" | |
| toml = "1.1.8" | |
| bzip2 = "0.6.1" | |
| sevenz-rust2 = "0.25.0" | |
| xz2 = "0.1.7" | |
| walkdir = "2.5.0" | |
| debpkg = "0.6.0" | |
| anyhow = { version = "1.0.104", default-features = false, features = ["backtrace", "std"] } | |
| apple-flat-package = "0.20.0" | |
| which = "8.0.6" | |
| fs_extra = "1.3.0" | |
| [target.'cfg(windows)'.dependencies] | |
| winapi = { version = "0.3.9", features = ["winver", "winnt", "sysinfoapi"] } | |
| [features] | |
| avoid_stats = [] | |
| [dev-dependencies] | |
| assert_cmd = "2.2.2" | |
| is_executable = "1.0.6" | |
| rstest = { version = "0.28.0", default-features = false } | |
| [profile.release] | |
| opt-level = 'z' # Optimize for size | |
| lto = true # Enable Link Time Optimization | |
| codegen-units = 1 # Reduce number of codegen units to increase optimizations | |
| panic = 'abort' # Abort on panic | |
| strip = true # Strip symbols from binary | |
| [profile.dev] | |
| debug = true # Full debug info | |
| split-debuginfo = 'off' # Debug info in the final artifact |