Skip to main content

sexpr_out/
lib.rs

1/*!
2One-line description.
3
4More detailed description, with
5
6# Example
7
8TBD
9
10# Features
11
12 */
13
14/*
15Copyright 2024 Simon Johnston <johnstonskj@gmail.com>
16
17Licensed under the Apache License, Version 2.0 (the "License");
18you may not use this file except in compliance with the License.
19You may obtain a copy of the License at
20
21    http://www.apache.org/licenses/LICENSE-2.0
22
23Unless required by applicable law or agreed to in writing, software
24distributed under the License is distributed on an "AS IS" BASIS,
25WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26See the License for the specific language governing permissions and
27limitations under the License.
28*/
29
30#![warn(
31    unknown_lints,
32    // ---------- Stylistic
33    absolute_paths_not_starting_with_crate,
34    elided_lifetimes_in_paths,
35    explicit_outlives_requirements,
36    macro_use_extern_crate,
37    nonstandard_style, /* group */
38    noop_method_call,
39    rust_2018_idioms,
40    single_use_lifetimes,
41    trivial_casts,
42    trivial_numeric_casts,
43    // ---------- Future
44    future_incompatible, /* group */
45    rust_2021_compatibility, /* group */
46    // ---------- Public
47    missing_debug_implementations,
48    // missing_docs,
49    unreachable_pub,
50    // ---------- Unsafe
51    unsafe_code,
52    unsafe_op_in_unsafe_fn,
53    // ---------- Unused
54    unused, /* group */
55)]
56#![deny(
57    // ---------- Public
58    exported_private_dependencies,
59    // ---------- Deprecated
60    anonymous_parameters,
61    bare_trait_objects,
62    ellipsis_inclusive_range_patterns,
63    // ---------- Unsafe
64    deref_nullptr,
65    drop_bounds,
66    dyn_drop,
67)]
68
69pub mod error;
70pub use error::Error;
71
72pub mod value;
73pub use value::{Number, Value};
74
75pub mod writer;
76pub use writer::{Options, Writer};