Cargo Features

cargo-near-build has no features set by default.

[dependencies]
cargo-near-build = { version = "0.4.2", features = ["build_script", "abi_build", "docker", "test_code"] }
build_script

Affects cargo-near-build::extended, near::build_extended, near::build_extended

abi_build

Affects cargo-near-build::abi, abi::build, abi::Opts

docker

Enables git2, home, nix, pathdiff, serde, shell-words, unix_path, and url

Affects cargo-near-build::docker, near::docker_build, types::source_id, input::BuildContext, near::docker_build

test_code