Sha256: 20317de1237ea646951aae8d9d4caab6aef95c7d34e03c61bb90a3d95b5ad572

Contents?: true

Size: 924 Bytes

Versions: 9

Compression:

Stored size: 924 Bytes

Contents

//! A [TOML]-compatible datetime type
//!
//! [TOML]: https://github.com/toml-lang/toml

#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(missing_docs)]
// Makes rustc abort compilation if there are any unsafe blocks in the crate.
// Presence of this annotation is picked up by tools such as cargo-geiger
// and lets them ensure that there is indeed no unsafe code as opposed to
// something they couldn't detect (e.g. unsafe added via macro expansion, etc).
#![forbid(unsafe_code)]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]

mod datetime;

pub use crate::datetime::Date;
pub use crate::datetime::Datetime;
pub use crate::datetime::DatetimeParseError;
pub use crate::datetime::Offset;
pub use crate::datetime::Time;

#[doc(hidden)]
#[cfg(feature = "serde")]
pub mod __unstable {
    pub use crate::datetime::DatetimeFromString;
    pub use crate::datetime::FIELD;
    pub use crate::datetime::NAME;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wasmtime-30.0.2 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-29.0.0 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-28.0.0 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-27.0.0 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-26.0.0 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-25.0.2 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-25.0.1 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-25.0.0 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs
wasmtime-24.0.0 ./ext/cargo-vendor/toml_datetime-0.6.8/src/lib.rs