Browse Source

Remove serde_derive

ng
Rodolphe Bréard 4 weeks ago
parent
commit
23f996ddaa
Failed to extract signature
  1. 1
      Cargo.lock
  2. 4
      Cargo.toml
  3. 1
      src/config.rs
  4. 1
      src/config/account.rs
  5. 1
      src/config/certificate.rs
  6. 2
      src/config/endpoint.rs
  7. 2
      src/config/global.rs
  8. 1
      src/config/hook.rs
  9. 2
      src/config/rate_limit.rs

1
Cargo.lock

@ -12,7 +12,6 @@ dependencies = [
"daemonize", "daemonize",
"nom", "nom",
"serde", "serde",
"serde_derive",
"syslog-tracing", "syslog-tracing",
"tokio", "tokio",
"tracing", "tracing",

4
Cargo.toml

@ -9,7 +9,6 @@ repository = "https://github.com/breard-r/acmed"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
keywords = ["acme", "tls", "X.509"] keywords = ["acme", "tls", "X.509"]
categories = ["cryptography"] categories = ["cryptography"]
include = ["src/**/*", "Cargo.toml", "LICENSE-*.txt"]
publish = false publish = false
rust-version = "1.74.0" rust-version = "1.74.0"
@ -27,8 +26,7 @@ clap = { version = "4.5.23", default-features = false, features = ["color", "der
config = { version = "0.14.0", default-features = false, features = ["toml"] } config = { version = "0.14.0", default-features = false, features = ["toml"] }
daemonize = { version = "0.5.0", default-features = false } daemonize = { version = "0.5.0", default-features = false }
nom = { version = "7.1.3", default-features = false } nom = { version = "7.1.3", default-features = false }
serde = { version = "1.0.216", default-features = false, features = ["std"] }
serde_derive = { version = "1.0.216", default-features = false }
serde = { version = "1.0.216", default-features = false, features = ["derive"] }
syslog-tracing = { version = "0.3.1", default-features = false } syslog-tracing = { version = "0.3.1", default-features = false }
tokio = { version = "1.42.0", default-features = false, features = ["rt", "rt-multi-thread", "time"] } tokio = { version = "1.42.0", default-features = false, features = ["rt", "rt-multi-thread", "time"] }
tracing = { version = "0.1.41", default-features = false, features = ["std"] } tracing = { version = "0.1.41", default-features = false, features = ["std"] }

1
src/config.rs

@ -17,7 +17,6 @@ pub use rate_limit::*;
use anyhow::{Context, Result}; use anyhow::{Context, Result};
use config::{Config, File}; use config::{Config, File};
use serde::{de, Deserialize, Deserializer}; use serde::{de, Deserialize, Deserializer};
use serde_derive::Deserialize;
use std::collections::HashMap; use std::collections::HashMap;
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use walkdir::WalkDir; use walkdir::WalkDir;

1
src/config/account.rs

@ -1,5 +1,4 @@
use serde::{de, Deserialize, Deserializer}; use serde::{de, Deserialize, Deserializer};
use serde_derive::Deserialize;
use std::collections::HashMap; use std::collections::HashMap;
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]

1
src/config/certificate.rs

@ -1,7 +1,6 @@
use crate::config::Duration; use crate::config::Duration;
use anyhow::Result; use anyhow::Result;
use serde::{de, Deserialize, Deserializer}; use serde::{de, Deserialize, Deserializer};
use serde_derive::Deserialize;
use std::collections::HashMap; use std::collections::HashMap;
use std::fmt; use std::fmt;
use std::path::PathBuf; use std::path::PathBuf;

2
src/config/endpoint.rs

@ -1,5 +1,5 @@
use crate::config::Duration; use crate::config::Duration;
use serde_derive::Deserialize;
use serde::Deserialize;
use std::path::PathBuf; use std::path::PathBuf;
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]

2
src/config/global.rs

@ -1,5 +1,5 @@
use crate::config::Duration; use crate::config::Duration;
use serde_derive::Deserialize;
use serde::Deserialize;
use std::collections::HashMap; use std::collections::HashMap;
use std::path::PathBuf; use std::path::PathBuf;

1
src/config/hook.rs

@ -1,5 +1,4 @@
use serde::{de, Deserialize, Deserializer}; use serde::{de, Deserialize, Deserializer};
use serde_derive::Deserialize;
use std::path::PathBuf; use std::path::PathBuf;
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]

2
src/config/rate_limit.rs

@ -1,5 +1,5 @@
use crate::config::Duration; use crate::config::Duration;
use serde_derive::Deserialize;
use serde::Deserialize;
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]
#[serde(deny_unknown_fields)] #[serde(deny_unknown_fields)]

Loading…
Cancel
Save