Debian Codegraph @

/

debian rust-is-ci 1.2.0-1debian librust-is-ci-dev debian librust-is-ci+default-dev debian librust-is-ci-1-dev debian librust-is-ci-1+default-dev debian librust-is-ci-1.2-dev debian librust-is-ci-1.2+default-dev debian librust-is-ci-1.2.0-dev debian librust-is-ci-1.2.0+default-dev cargo is_ci 1.2.0 debianjsonmakefilemarkdownrustrust-c-abishelltoml 19 files · 76 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)

This crate tells you if you're in a CI environment or not. It does not tell you which you're in, but it makes a good effort to make sure to accurately tell you whether you're in one.

This crate is based on the @npmcli/ci-detect package.

If you need more information about the specific CI environment you're running in and you can handle a heavier dependency, please consider using ci_info instead.

Example

// You can call this repeatedly if you want to get the same result, cached.
let am_i_in_ci_right_now = is_ci::cached();

// If you expect your environment to change between calls, use this instead:
let checking_again_just_in_case = is_ci::uncached();

License

is_ci is released to the Rust community under the ISC License.

It is based on @npmcli/ci-detect which is released to the community under the ISC License.

dir debian/
dir src/
file .cargo_vcs_info.json
file .editorconfig
file .gitignore
file CHANGELOG.md
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file LICENSE
file Makefile.toml
file README.md
file cliff.toml