GithubHelp home page GithubHelp logo

arystan-sw / gpgme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gpg-rs/gpgme

0.0 1.0 0.0 533 KB

GPGme bindings for Rust

License: GNU Lesser General Public License v2.1

Shell 0.17% Rust 99.83%

gpgme's Introduction

gpgme-rs

Build Status LGPL-2.1 licensed Crates.io

GPGME bindings for Rust.

Documentation

Requirements

The wrapper is usable with GPGME 1.2.0 or later. Some features may require a more recent version.

By default, the gpgme-sys crate will attempt to build the bundled version of the library from source using autoconf, automake and various C build tools. The bundled feature flag controls this functionality and can be disabled by using default-features = false in dependent crates and/or overridden by setting the environment variable GPGME_USE_BUNDLED to the empty string, no, off, or false to disable or anything else to enable. An existing installation may be specified using GPGME_LIB_DIR, GPGME_LIBS, GPGME_STATIC (optional) and GPGME_INCLUDE. Alternatively the path to the gpgme configuration program (gpgme-config) may be specified using GPGME_CONFIG.

Usage

Put this in your Cargo.toml:

[dependencies]
gpgme = "0.8"

And this in your crate root:

extern crate gpgme;

Examples

Some simple example programs based on those in the GPGME sources can be found in examples.

They can be run with cargo:

$ cargo run --example keylist --
keyid   : 89ABCDEF01234567
fpr     : 0123456789ABCDEF0123456789ABCDEF01234567
caps    : esc
flags   :
userid 0: Example <[email protected]>
valid  0: Unknown

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.