Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Threema/domain/libthreema/lib/     Datei vom 25.3.2026 mit Größe 1 kB image not shown  

Quelle  build.rs

  Sprache: Rust
 

//! Builds libthreema (d'oh!).
use std::{env, io::Result};

#[cfg(feature = "uniffi")]
use uniffi as _;

fn main() -> Result<()> {
    // Configure and compile protobuf
    println!("cargo:rerun-if-changed=../threema-protocols/src/");
    let mut builder = prost_build::Config::new();
    let builder = builder
        .message_attribute(".""#[libthreema_macros::protobuf_annotations]")
        .enable_type_names();
    let builder = if env::var("CARGO_FEATURE_CLI").is_ok() {
        // For the CLI, we want to be able to parse some enums via clap.
        builder.enum_attribute(".d2m.DeviceSlotState""#[derive(clap::ValueEnum)]")
    } else {
        builder
    };
    builder.compile_protos(
        &[
            "../threema-protocols/src/common.proto",
            "../threema-protocols/src/csp-e2e.proto",
            "../threema-protocols/src/md-d2d.proto",
            "../threema-protocols/src/md-d2d-sync.proto",
            "../threema-protocols/src/md-d2d-rendezvous.proto",
            "../threema-protocols/src/md-d2m.proto",
        ],
        &["../threema-protocols/src/"],
    )?;

    // Done
    Ok(())
}

Messung V0.5 in Prozent
C=89 H=100 G=94

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-06-17) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.