Unverified Commit dc976d75 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Migrate the openssl-sys crate to the 2018 edition

Needed for #1806
parent 11797d9e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#![allow(clippy::uninlined_format_args)]

use proc_macro::TokenStream;
use proc_macro2::Ident;
use quote::quote;
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ readme = "README.md"
categories = ["cryptography", "external-ffi-bindings"]
links = "openssl"
build = "build/main.rs"
edition = "2018"

[features]
vendored = ['openssl-src']
+0 −1
Original line number Diff line number Diff line
use pkg_config;
use std::ffi::OsString;
use std::path::{Path, PathBuf};
use std::process::{self, Command};
+5 −1
Original line number Diff line number Diff line
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
#![allow(
    clippy::inconsistent_digit_grouping,
    clippy::uninlined_format_args,
    clippy::unusual_byte_groupings
)]

extern crate autocfg;
#[cfg(feature = "bindgen")]
+1 −1
Original line number Diff line number Diff line
use libc::*;

use *;
use super::*;

// ASN.1 tag values
pub const V_ASN1_EOC: c_int = 0;
Loading