mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
19 lines
543 B
Rust
19 lines
543 B
Rust
// -*- mode: rust; -*-
|
|
//
|
|
// This file is part of curve25519-dalek.
|
|
// Copyright (c) 2016-2021 isis lovecruft
|
|
// Copyright (c) 2016-2019 Henry de Valence
|
|
// See LICENSE for licensing information.
|
|
//
|
|
// Authors:
|
|
// - isis agora lovecruft <isis@patternsinthevoid.net>
|
|
// - Henry de Valence <hdevalence@hdevalence.ca>
|
|
|
|
//! Crate-local prelude (for alloc-dependent features like `Vec`)
|
|
|
|
// TODO: switch to alloc::prelude
|
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
|
pub use alloc::vec::Vec;
|
|
|
|
#[cfg(feature = "std")]
|
|
pub use std::vec::Vec;
|