Rebrand fork as instant-smtp

This commit is contained in:
Dirkjan Ochtman 2022-11-21 14:17:29 -08:00
parent 0729f03003
commit 1701b18ca1
7 changed files with 12 additions and 33 deletions

View File

@ -1,15 +1,12 @@
[package]
name = "smtp-codec"
description = "Low-level SMTP Parser and Serializer"
name = "instant-smtp"
description = "Low-level sans-I/O SMTP protocol implementation"
keywords = ["email", "smtp", "parser", "codec"]
version = "0.2.0"
authors = ["Damian Poddebniak <poddebniak@mailbox.org>"]
repository = "https://github.com/duesee/smtp-codec"
version = "0.1.0"
repository = "https://github.com/InstantDomain/instant-smtp"
license = "MIT OR Apache-2.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
serdex = ["serde"]

View File

@ -1,11 +1,3 @@
[![CI](https://github.com/duesee/smtp-codec/actions/workflows/ci.yml/badge.svg)](https://github.com/duesee/smtp-codec/actions/workflows/ci.yml)
[![Scheduled](https://github.com/duesee/smtp-codec/actions/workflows/scheduled.yml/badge.svg)](https://github.com/duesee/smtp-codec/actions/workflows/scheduled.yml)
[![docs](https://docs.rs/smtp-codec/badge.svg)](https://docs.rs/smtp-codec)
# instant-smtp: low-level sans-I/O SMTP implementation
# SMTP Protocol
This crate provides some types and many parsers for SMTP. Many things are there, but it is still in a very rough state.
# License
This crate is dual-licensed under Apache 2.0 and MIT terms.
Forked from smtp-codec in November 2022.

View File

@ -1,7 +0,0 @@
# Security Policy
## Reporting a Vulnerability
Feel free to open a public issue here if you found a security vulnerability.
If, for whatever reason, you prefer to not make it public, please write an email to poddebniak@mailbox.org

View File

@ -1,6 +1,6 @@
use std::io::Write;
use smtp_codec::parse::command::command;
use instant_smtp::parse::command::command;
fn main() -> std::io::Result<()> {
let mut args = std::env::args();

View File

@ -1,8 +1,7 @@
[package]
name = "smtp-codec-fuzz"
name = "instant-smtp-fuzz"
version = "0.0.0"
authors = ["Automatically generated"]
publish = false
edition = "2018"
@ -11,9 +10,7 @@ cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4"
[dependencies.smtp-codec]
path = ".."
instant-smtp = { path = ".." }
# Prevent this from interfering with workspaces
[workspace]

View File

@ -1,6 +1,6 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
use smtp_codec::parse::command::command;
use instant_smtp::parse::command::command;
fuzz_target!(|data: &[u8]| {
if let Ok((_, cmd)) = command(data) {

View File

@ -1,11 +1,11 @@
use nom::FindSubstring;
use smtp_codec::{
use instant_smtp::{
parse::{
command::command,
response::{ehlo_ok_rsp, Greeting, Reply_lines},
},
types::Command,
};
use nom::FindSubstring;
fn parse_trace(mut trace: &[u8]) {
let (rem, greeting) = Greeting(trace).unwrap();