# check all but default-features tests only on amd64
# avoid checking on riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdf 0.2.4
 --all-targets
Features: test-name=rust-oxrdf:default
Depends:
 dh-rust,
 librust-oxrdf-0.2+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdf 0.2.4
 --all-targets --all-features
Features: test-name=rust-oxrdf:@
Depends:
 dh-rust,
 librust-oxrdf-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdf 0.2.4
 --all-targets --no-default-features
Features: test-name=rust-oxrdf:
Depends:
 dh-rust,
 librust-oxrdf-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdf 0.2.4
 --all-targets --no-default-features --features rdf-star
Features: test-name=rust-oxrdf:rdf-star
Depends:
 dh-rust,
 librust-oxrdf-0.2+rdf-star-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdf 0.2.4
 --all-targets --no-default-features --features oxsdatatypes
Features: test-name=rust-oxrdf:oxsdatatypes
Depends:
 dh-rust,
 librust-oxrdf-0.2+oxsdatatypes-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfio 0.1.7
 --all-targets
Features: test-name=rust-oxrdfio:default
Depends:
 dh-rust,
 librust-oxrdfio-0.1+default-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfio 0.1.7
 --all-targets --all-features
Features: test-name=rust-oxrdfio:@
Depends:
 dh-rust,
 librust-oxrdfio-0.1-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfio 0.1.7
 --all-targets --no-default-features
Features: test-name=rust-oxrdfio:
Depends:
 dh-rust,
 librust-oxrdfio-0.1-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfio 0.1.7
 --all-targets --no-default-features --features async-tokio
Features: test-name=rust-oxrdfio:async-tokio
Depends:
 dh-rust,
 librust-oxrdfio-0.1+async-tokio-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfxml 0.1.6
 --all-targets
Features: test-name=rust-oxrdfxml:default
Depends:
 dh-rust,
 librust-oxrdfxml-0.1+default-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfxml 0.1.6
 --all-targets --all-features
Features: test-name=rust-oxrdfxml:@
Depends:
 dh-rust,
 librust-oxrdfxml-0.1-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfxml 0.1.6
 --all-targets --no-default-features
Features: test-name=rust-oxrdfxml:
Depends:
 dh-rust,
 librust-oxrdfxml-0.1-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrdfxml 0.1.6
 --all-targets --no-default-features --features async-tokio
Features: test-name=rust-oxrdfxml:async-tokio
Depends:
 dh-rust,
 librust-oxrdfxml-0.1+async-tokio-dev,
 librust-tokio-1+macros-dev,
 librust-tokio-1+rt-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxsdatatypes 0.2.2
 --all-targets
Features: test-name=rust-oxsdatatypes:default
Depends:
 dh-rust,
 librust-oxsdatatypes-0.2+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxsdatatypes 0.2.2
 --all-targets --all-features
Features: test-name=rust-oxsdatatypes:@
Depends:
 dh-rust,
 librust-oxsdatatypes-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxsdatatypes 0.2.2
 --all-targets --no-default-features
Features: test-name=rust-oxsdatatypes:
Depends:
 dh-rust,
 librust-oxsdatatypes-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxsdatatypes 0.2.2
 --all-targets --no-default-features --features custom-now
Features: test-name=rust-oxsdatatypes:custom-now
Depends:
 dh-rust,
 librust-oxsdatatypes-0.2+custom-now-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxttl 0.1.7
 --all-targets
Features: test-name=rust-oxttl:default
Depends:
 dh-rust,
 librust-oxttl-0.1+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxttl 0.1.7
 --all-targets --all-features
Features: test-name=rust-oxttl:@
Depends:
 dh-rust,
 librust-oxttl-0.1-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxttl 0.1.7
 --all-targets --no-default-features
Features: test-name=rust-oxttl:
Depends:
 dh-rust,
 librust-oxttl-0.1-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxttl 0.1.7
 --all-targets --no-default-features --features async-tokio
Features: test-name=rust-oxttl:async-tokio
Depends:
 dh-rust,
 librust-oxttl-0.1+async-tokio-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxttl 0.1.7
 --all-targets --no-default-features --features rdf-star
Features: test-name=rust-oxttl:rdf-star
Depends:
 dh-rust,
 librust-oxttl-0.1+rdf-star-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparesults 0.2.4
 --all-targets
Features: test-name=rust-sparesults:default
Depends:
 dh-rust,
 librust-sparesults-0.2+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparesults 0.2.4
 --all-targets --all-features
Features: test-name=rust-sparesults:@
Depends:
 dh-rust,
 librust-sparesults-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparesults 0.2.4
 --all-targets --no-default-features
Features: test-name=rust-sparesults:
Depends:
 dh-rust,
 librust-sparesults-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparesults 0.2.4
 --all-targets --no-default-features --features rdf-star
Features: test-name=rust-sparesults:rdf-star
Depends:
 dh-rust,
 librust-sparesults-0.2+rdf-star-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets
Features: test-name=rust-spareval:default
Depends:
 dh-rust,
 librust-spareval-0.1+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets --all-features
Features: test-name=rust-spareval:@
Depends:
 dh-rust,
 librust-spareval-0.1-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets --no-default-features
Features: test-name=rust-spareval:
Depends:
 dh-rust,
 librust-spareval-0.1-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets --no-default-features --features calendar-ext
Features: test-name=rust-spareval:calendar-ext
Depends:
 dh-rust,
 librust-spareval-0.1+calendar-ext-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets --no-default-features --features rdf-star
Features: test-name=rust-spareval:rdf-star
Depends:
 dh-rust,
 librust-spareval-0.1+rdf-star-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets --no-default-features --features sep-0002
Features: test-name=rust-spareval:sep-0002
Depends:
 dh-rust,
 librust-spareval-0.1+sep-0002-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spareval 0.1.3
 --all-targets --no-default-features --features sep-0006
Features: test-name=rust-spareval:sep-0006
Depends:
 dh-rust,
 librust-spareval-0.1+sep-0006-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spargebra 0.3.5
 --all-targets
Features: test-name=rust-spargebra:default
Depends:
 dh-rust,
 librust-spargebra-0.3+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spargebra 0.3.5
 --all-targets --all-features
Features: test-name=rust-spargebra:@
Depends:
 dh-rust,
 librust-spargebra-0.3-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spargebra 0.3.5
 --all-targets --no-default-features
Features: test-name=rust-spargebra:
Depends:
 dh-rust,
 librust-spargebra-0.3-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spargebra 0.3.5
 --all-targets --no-default-features --features rdf-star
Features: test-name=rust-spargebra:rdf-star
Depends:
 dh-rust,
 librust-spargebra-0.3+rdf-star-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spargebra 0.3.5
 --all-targets --no-default-features --features sep-0002
Features: test-name=rust-spargebra:sep-0002
Depends:
 dh-rust,
 librust-spargebra-0.3+sep-0002-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test spargebra 0.3.5
 --all-targets --no-default-features --features sep-0006
Features: test-name=rust-spargebra:sep-0006
Depends:
 dh-rust,
 librust-spargebra-0.3+sep-0006-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparopt 0.2.1
 --all-targets
Features: test-name=rust-sparopt:default
Depends:
 dh-rust,
 librust-sparopt-0.2+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparopt 0.2.1
 --all-targets --all-features
Features: test-name=rust-sparopt:@
Depends:
 dh-rust,
 librust-sparopt-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparopt 0.2.1
 --all-targets --no-default-features
Features: test-name=rust-sparopt:
Depends:
 dh-rust,
 librust-sparopt-0.2-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparopt 0.2.1
 --all-targets --no-default-features --features rdf-star
Features: test-name=rust-sparopt:rdf-star
Depends:
 dh-rust,
 librust-sparopt-0.2+rdf-star-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparopt 0.2.1
 --all-targets --no-default-features --features sep-0002
Features: test-name=rust-sparopt:sep-0002
Depends:
 dh-rust,
 librust-sparopt-0.2+sep-0002-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test sparopt 0.2.1
 --all-targets --no-default-features --features sep-0006
Features: test-name=rust-sparopt:sep-0006
Depends:
 dh-rust,
 librust-sparopt-0.2+sep-0006-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxigraph 0.4.9
 --all-targets
 --no-fail-fast --
 --skip test_backup
 --skip test_backward_compatibility
 --skip test_secondary
Features: test-name=rust-oxigraph:default
Depends:
 dh-rust,
 librust-cc-1+parallel-dev,
 librust-is-terminal-0.4+default-dev,
 librust-oxigraph-0.4+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxigraph 0.4.9
 --all-targets --all-features
 --no-fail-fast --
 --skip test_backup
 --skip test_backward_compatibility
 --skip test_secondary
Features: test-name=rust-oxigraph:@
Depends:
 dh-rust,
 librust-cc-1+parallel-dev,
 librust-is-terminal-0.4+default-dev,
 librust-oxigraph-0.4-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxigraph 0.4.9
 --all-targets --no-default-features
 --no-fail-fast --
 --skip test_backup
 --skip test_backward_compatibility
 --skip test_secondary
Features: test-name=rust-oxigraph:
Depends:
 dh-rust,
 librust-cc-1+parallel-dev,
 librust-is-terminal-0.4+default-dev,
 librust-oxigraph-0.4-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxigraph 0.4.9
 --all-targets --no-default-features --features http-client
 --no-fail-fast --
 --skip test_backup
 --skip test_backward_compatibility
 --skip test_secondary
Features: test-name=rust-oxigraph:http-client
Depends:
 dh-rust,
 librust-cc-1+parallel-dev,
 librust-is-terminal-0.4+default-dev,
 librust-oxigraph-0.4+http-client-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxigraph 0.4.9
 --all-targets --no-default-features --features rocksdb-debug
 --no-fail-fast --
 --skip test_backup
 --skip test_backward_compatibility
 --skip test_secondary
Features: test-name=rust-oxigraph:rocksdb-debug
Depends:
 dh-rust,
 librust-cc-1+parallel-dev,
 librust-is-terminal-0.4+default-dev,
 librust-oxigraph-0.4+rocksdb-debug-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrocksdb-sys 0.4.9
 --all-targets
Features: test-name=rust-oxrocksdb-sys:default
Depends:
 dh-rust,
 librust-bindgen-dev (<< 0.72),
 librust-cc-1+default-dev,
 librust-cc-1+parallel-dev,
 librust-oxrocksdb-sys-0.4+default-dev,
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrocksdb-sys 0.4.9
 --all-targets --all-features
Features: test-name=rust-oxrocksdb-sys:@
Depends:
 dh-rust,
 librust-bindgen-dev (<< 0.72),
 librust-cc-1+default-dev,
 librust-cc-1+parallel-dev,
 librust-oxrocksdb-sys-0.4-dev,
Restrictions: allow-stderr
Architecture: amd64

# Skipped: Debian packaging requires feature pkg-config
#Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrocksdb-sys 0.4.9
# --all-targets --no-default-features
#Features: test-name=rust-oxrocksdb-sys:

Test-Command: /usr/share/dh-rust/bin/cargo-auto-test oxrocksdb-sys 0.4.9
 --all-targets --no-default-features --features pkg-config
Features: test-name=rust-oxrocksdb-sys:pkg-config
Depends:
 dh-rust,
 librust-bindgen-dev (<< 0.72),
 librust-cc-1+default-dev,
 librust-cc-1+parallel-dev,
 librust-oxrocksdb-sys-0.4+pkg-config-dev,
Restrictions: allow-stderr
Architecture: amd64

Test-Command: echo '<foo> a <bar>.' | oxigraph convert
 --from-format ttl
 --from-base http://example.com/foo
 --to-format ttl
 | grep -Fxq '<> a <bar> .'
Depends:
 oxigraph,
